]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix FAIL: gcc.target/i386/pr87007-5.c
authorRichard Biener <rguenther@suse.de>
Mon, 21 Aug 2023 12:09:48 +0000 (14:09 +0200)
committerRichard Biener <rguenther@suse.de>
Mon, 21 Aug 2023 13:10:06 +0000 (15:10 +0200)
commit2eaebcf3df4dba0bfa379b7adde455710e9b3e41
tree70d1cee3060c03f25f4adc695f69ec4fb099d412
parente4e6a92407432cc19db73f8ce108243007d614f0
Fix FAIL: gcc.target/i386/pr87007-5.c

The following fixes the gcc.target/i386/pr87007-5.c testcase which
changed code generation again after the recent sinking improvements.
We now have

        vxorps  %xmm0, %xmm0, %xmm0
        vsqrtsd d2(%rip), %xmm0, %xmm0

and a necessary xor again in one case, the other vsqrtsd has
a register source and a properly zeroing load:

        vmovsd  d3(%rip), %xmm0
        testl   %esi, %esi
        jg      .L11
.L3:
        vsqrtsd %xmm0, %xmm0, %xmm0

the following patch adjusts the scan.

* gcc.target/i386/pr87007-5.c: Update comment, adjust subtest.
gcc/testsuite/gcc.target/i386/pr87007-5.c