re PR rtl-optimization/89865 (FAIL: gcc.target/i386/pr49095.c scan-assembler-times...
authorJakub Jelinek <jakub@redhat.com>
Fri, 29 Mar 2019 20:51:15 +0000 (21:51 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 29 Mar 2019 20:51:15 +0000 (21:51 +0100)
PR rtl-optimization/89865
* gcc.target/i386/pr49095.c: Include in scan-assembler-times patterns
the first argument register, so that occassional spills/fills are
ignored.

From-SVN: r270025

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr49095.c

index aee3078..542f4ee 100644 (file)
@@ -1,5 +1,10 @@
 2019-03-29  Jakub Jelinek  <jakub@redhat.com>
 
+       PR rtl-optimization/89865
+       * gcc.target/i386/pr49095.c: Include in scan-assembler-times patterns
+       the first argument register, so that occassional spills/fills are
+       ignored.
+
        PR sanitizer/89869
        * g++.dg/ubsan/vptr-14.C: New test.
 
index 20175e7..177e4ce 100644 (file)
@@ -73,5 +73,5 @@ G (long)
 /* { dg-final { scan-assembler-not "test\[lq\]" } } */
 /* The {f,h}{char,short,int,long}xor functions aren't optimized into
    a RMW instruction, so need load, modify and store.  FIXME eventually.  */
-/* { dg-final { scan-assembler-times "\\), %" 57 { target { ia32 } } } } */
-/* { dg-final { scan-assembler-times "\\), %" 45 { target { ! ia32 } } } } */
+/* { dg-final { scan-assembler-times "\\(%eax\\), %" 12 { target { ia32 } } } } */
+/* { dg-final { scan-assembler-times "\\(%\[re\]di\\), %" 8 { target { ! ia32 } } } } */