From: Jakub Jelinek Date: Fri, 29 Mar 2019 20:51:15 +0000 (+0100) Subject: re PR rtl-optimization/89865 (FAIL: gcc.target/i386/pr49095.c scan-assembler-times... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=54ae50ac4532b2a0d72cc03639b8179b500ec043;p=gcc.git re PR rtl-optimization/89865 (FAIL: gcc.target/i386/pr49095.c scan-assembler-times \\\\), % 45) 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index aee30789495..542f4eeb26f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2019-03-29 Jakub Jelinek + 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. diff --git a/gcc/testsuite/gcc.target/i386/pr49095.c b/gcc/testsuite/gcc.target/i386/pr49095.c index 20175e73f14..177e4ceaa62 100644 --- a/gcc/testsuite/gcc.target/i386/pr49095.c +++ b/gcc/testsuite/gcc.target/i386/pr49095.c @@ -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 } } } } */