This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Tighten up scan-assembler-not regexps in gcc/testsuite/gcc.target/i386/pr45739.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]