This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Tighten up scan-assembler-not regexps in gcc/testsuite/gcc.target/i386/pr45739.c
- From: Jakub Jelinek <jakub at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 22 Sep 2010 11:00:45 +0200
- Subject: [committed] Tighten up scan-assembler-not regexps in gcc/testsuite/gcc.target/i386/pr45739.c
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
Hi!
Apparently darwin assembler section directive matches por,
I've added requirement of xmm on the same line to make sure
it is matching only insns. Tested on x86_64-linux and i686-linux
with cc1 before/after the simplify-rtx.c change, committed as obvious.
2010-09-22 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/45739
* gcc.target/i386/pr45739.c: Tighten up scan-assembler-not
regexps.
--- gcc/testsuite/gcc.target/i386/pr45739.c.jj 2010-09-21 13:43:54.000000000 +0200
+++ gcc/testsuite/gcc.target/i386/pr45739.c 2010-09-22 10:42:12.000000000 +0200
@@ -20,5 +20,5 @@ bar (void)
var = _mm_or_si128 (var, zero);
}
-/* { dg-final { scan-assembler-not "pxor" } } */
-/* { dg-final { scan-assembler-not "por" } } */
+/* { dg-final { scan-assembler-not "pxor\[^\n\]*xmm" } } */
+/* { dg-final { scan-assembler-not "por\[^\n\]*xmm" } } */
Jakub