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 aee307894953b208ab6bf5dbeffb829494cb5f70..542f4eeb26f090667e1bf0979f8d0b007fcd833e 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 20175e73f14aea9944ec8acfe5eb43112e7a1b82..177e4ceaa62049006bccbb3ef977a3a86c2cf6e2 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 } } } } */