aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2007-08-23 10:13:54 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2007-08-23 10:13:54 +0000
commite3a47fe4af35469b8769711fa89c6c88fdc72dab (patch)
treeb23a3840fb4f70ab31caa2a4211c573150666904 /gcc/testsuite
parentc9d259cb5ef84b70ba570651bf765eda15cf96c8 (diff)
downloadgcc-e3a47fe4af35469b8769711fa89c6c88fdc72dab.zip
gcc-e3a47fe4af35469b8769711fa89c6c88fdc72dab.tar.gz
gcc-e3a47fe4af35469b8769711fa89c6c88fdc72dab.tar.bz2
cmov3.c: Fix scan-assembler.
2007-08-23 Paolo Bonzini <bonzini@gnu.org> * gcc.target/i386/cmov3.c: Fix scan-assembler. * gcc.target/i386/cmov4.c: Fix scan-assembler. * gcc.target/i386/xchg-2.c: Fix scan-assembler. From-SVN: r127731
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.target/i386/cmov3.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/cmov4.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/xchg-2.c2
4 files changed, 9 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 7ee7695..f213b48 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2007-08-23 Paolo Bonzini <bonzini@gnu.org>
+
+ * gcc.target/i386/cmov3.c: Fix scan-assembler.
+ * gcc.target/i386/cmov4.c: Fix scan-assembler.
+ * gcc.target/i386/xchg-2.c: Fix scan-assembler.
+
2007-08-22 Christopher D. Rickett <crickett@lanl.gov>
PR fortran/33020
diff --git a/gcc/testsuite/gcc.target/i386/cmov3.c b/gcc/testsuite/gcc.target/i386/cmov3.c
index 30a5d1a..34df0aa 100644
--- a/gcc/testsuite/gcc.target/i386/cmov3.c
+++ b/gcc/testsuite/gcc.target/i386/cmov3.c
@@ -1,6 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O2 -march=k8" } */
-/* { dg-final { scan-assembler "cmov" } } */
+/* { dg-final { scan-assembler "cmov\[^3\]" } } */
/* This conditional move is fastest to be done using cmov. */
t(int a, int b)
diff --git a/gcc/testsuite/gcc.target/i386/cmov4.c b/gcc/testsuite/gcc.target/i386/cmov4.c
index f253138..6a955ea 100644
--- a/gcc/testsuite/gcc.target/i386/cmov4.c
+++ b/gcc/testsuite/gcc.target/i386/cmov4.c
@@ -1,6 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O2 -march=k8" } */
-/* { dg-final { scan-assembler "cmov" } } */
+/* { dg-final { scan-assembler "cmov\[^4\]" } } */
/* Verify that if conversion happends for memory references. */
int ARCHnodes;
diff --git a/gcc/testsuite/gcc.target/i386/xchg-2.c b/gcc/testsuite/gcc.target/i386/xchg-2.c
index 0853d14..f00fb0f 100644
--- a/gcc/testsuite/gcc.target/i386/xchg-2.c
+++ b/gcc/testsuite/gcc.target/i386/xchg-2.c
@@ -6,4 +6,4 @@ unsigned short good(unsigned short a)
return (a >> 8 | a << 8);
}
-/* { dg-final { scan-assembler "xchg" } } */
+/* { dg-final { scan-assembler "xchgb" } } */