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

--- Comment #29 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:14911d6c952456a252764a44f9dea21bd4af914d

commit r17-3574-g14911d6c952456a252764a44f9dea21bd4af914d
Author: H.J. Lu <[email protected]>
Date:   Mon Aug 24 10:09:12 2026 +0800

    x86: Scan both round[sp][ds] and vrndscale[sp][ds] in round tests

    Scan both round[sp][ds] and vrndscale[sp][ds] in round tests to avoid

    FAIL: gcc.target/i386/pr106910-1.c scan-assembler-times roundps 9
    FAIL: gcc.target/i386/pr85950.c scan-assembler-times roundsd 2
    FAIL: gcc.target/i386/pr85950.c scan-assembler-times roundsd 4
    FAIL: gcc.target/i386/sse4_1-round-roundeven-1.c scan-assembler-times
roundsd[^\n\r]*xmm 1
    FAIL: gcc.target/i386/sse4_1-round-roundeven-1.c scan-assembler-times
roundss[^\n\r]*xmm 1

    due to the generated instruction

            vrndscaless     $8, %xmm0, %xmm0, %xmm0

    vs the expected instruction

            roundss $8, %xmm0, %xmm0

    when AVX512 is enabled by default.

            PR testsuite/126923
            * gcc.target/i386/pr106910-1.c: Scan both roundps and vrndscaleps.
            * gcc.target/i386/pr85950.c: Scan both roundsd and vrndscalesd.
            * gcc.target/i386/sse4_1-round-roundeven-1.c: Scan both rounds[ds]
            and vrndscales[ds].

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

Reply via email to