https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121861

--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <[email protected]>:

https://gcc.gnu.org/g:1d1396559e2683c849fb5dba5c8f56f2a4a1ff64

commit r16-3678-g1d1396559e2683c849fb5dba5c8f56f2a4a1ff64
Author: H.J. Lu <[email protected]>
Date:   Mon Sep 8 13:19:45 2025 -0700

    x86: Enable SSE4.1 ceil/floor/trunc for -Os

    Enable SSE4.1 ceil/floor/trunc for -Os to replace a function call with
    roundss or roundsd by dropping the !flag_trapping_math check.

    gcc/

            PR target/121861
            * config/i386/i386.cc (ix86_optab_supported_p): Drop
            !flag_trapping_math check for floor_optab, ceil_optab and
            btrunc_optab.

    gcc/testsuite/

            PR target/121861
            * gcc.target/i386/pr121861-1a.c: New file.
            * gcc.target/i386/pr121861-1b.c: Likewise.

    Signed-off-by: H.J. Lu <[email protected]>

Reply via email to