Message ID | fba5f376-75b6-e8ca-cd56-fa49fc51b668@ventanamicro.com |
---|---|
State | New |
Headers | show |
Series | [committed,PR,testsuite/109549] Adjust x86 testsuite for recent if-conversion cost checking | expand |
diff --git a/gcc/testsuite/gcc.target/i386/cmov6.c b/gcc/testsuite/gcc.target/i386/cmov6.c index 535326e4c2a..5111c8a9099 100644 --- a/gcc/testsuite/gcc.target/i386/cmov6.c +++ b/gcc/testsuite/gcc.target/i386/cmov6.c @@ -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);