]> gcc.gnu.org Git - gcc.git/commitdiff
Adjust x86 testsuite for recent if-conversion cost checking
authorJeff Law <jlaw@ventanamicro>
Fri, 21 Apr 2023 18:22:24 +0000 (12:22 -0600)
committerJeff Law <jlaw@ventanamicro>
Fri, 21 Apr 2023 18:24:16 +0000 (12:24 -0600)
gcc/testsuite
PR testsuite/109549
* gcc.target/i386/cmov6.c: No longer expect this test to
generate 'cmov' instructions.

gcc/testsuite/gcc.target/i386/cmov6.c

index 535326e4c2a3c11aec303f6e677f5b0736bc17fa..5111c8a909956635013ea3141636ed2299b21dac 100644 (file)
@@ -1,6 +1,9 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -march=k8" } */
-/* { dg-final { scan-assembler "cmov\[^6\]" } } */
+/* if-converting this sequence would require two cmov
+   instructions and seems to always cost more independent
+   of the TUNE_ONE_IF_CONV setting.  */
+/* { dg-final { scan-assembler-not "cmov\[^6\]" } } */
 
 /* Verify that blocks are converted to conditional moves.  */
 extern int bar (int, int);
This page took 0.081883 seconds and 5 git commands to generate.