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

login
register
mail settings
Submitter Jakub Jelinek
Date Sept. 22, 2010, 9 a.m.
Message ID <20100922090044.GW1269@tyan-ft48-01.lab.bos.redhat.com>
Download mbox | patch
Permalink /patch/65411/
State New
Headers show

Comments

Jakub Jelinek - Sept. 22, 2010, 9 a.m.
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.


	Jakub

Patch

--- 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" } } */