Hi!

On Fri, Aug 26, 2011 at 06:04:20AM -0700, H.J. Lu wrote:
> Please check ALL AVX2 tests to see if they have similar problems.

Checking all current i386 tests revealed another problematic testcase:
grep scan-assembler' "[a-z0-9]*"' testsuite/gcc.target/i386/*.c | grep 
'\(.*\).*"\1"'

(minmax-*.c only match the path, which will show up only with -g and
I bet many other scan-assembler tests would fail with
RUNTESTFLAGS=--target_board=unix/-g
(matching various stuff in the debug info)).

2011-08-26  Jakub Jelinek  <ja...@redhat.com>

        * gcc.target/i386/cmpxchg16b-1.c: Match also space after the
        instruction.

--- gcc/testsuite/gcc.target/i386/cmpxchg16b-1.c.jj     2011-07-11 
10:39:29.000000000 +0200
+++ gcc/testsuite/gcc.target/i386/cmpxchg16b-1.c        2011-08-26 
16:20:46.000000000 +0200
@@ -10,4 +10,4 @@ void test(TItype x_128)
   m_128 = __sync_val_compare_and_swap (&m_128, x_128, m_128);
 }
 
-/* { dg-final { scan-assembler "cmpxchg16b" } } */
+/* { dg-final { scan-assembler "cmpxchg16b\[ \\t]" } } */


        Jakub

Reply via email to