aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2014-11-02 20:27:06 +0100
committerUros Bizjak <uros@gcc.gnu.org>2014-11-02 20:27:06 +0100
commit100a518033c276092119c9a68baf63911402873c (patch)
treea1be9877257ce054d68f03e7f63d493e154a0a2c
parent9b227e35bd56fee1602f692216fbf166f5d6f24e (diff)
downloadgcc-100a518033c276092119c9a68baf63911402873c.zip
gcc-100a518033c276092119c9a68baf63911402873c.tar.gz
gcc-100a518033c276092119c9a68baf63911402873c.tar.bz2
re PR target/24188 (WRITE(6,*) causes an ICE with -mcmodel=medium)
* c-c++-common/ubsan/float-cast-overflow-6.c: Add i?86-*-* target. * g++.dg/abi/no-weak1.C: Ditto. * g++.dg/opt/pr44919.C: Ditto. * g++.dg/opt/pr46640.C: Ditto. * g++.dg/opt/pr46649.C: Ditto. * g++.dg/opt/pr47036.C: Ditto. * g++.dg/opt/pr48273.C: Ditto. * g++.dg/opt/pr48302.C: Ditto. * g++.dg/opt/pr45788.C: Ditto. * g++.dg/opt/pr57662.C: Ditto. * gcc.dg/20031102-1.c: Ditto. * gcc.dg/builtin-bswap-7.c: Ditto. * gcc.dg/builtin-bswap-7a.c: Ditto. * gcc.dg/builtin-bswap-9.c: Ditto. * gcc.dg/combine_ashiftrt_1.c: Ditto. * gcc.dg/guality/bswaptest.c: Ditto. * gcc.dg/guality/clztest.c: Ditto. * gcc.dg/guality/ctztest.c: Ditto. * gcc.dg/guality/pr45003-1.c: Ditto. * gcc.dg/guality/pr45003-2.c: Ditto. * gcc.dg/guality/pr45003-3.c: Ditto. * gcc.dg/guality/pr58791-4.c: Ditto. * gcc.dg/guality/rotatetest.c:Ditto. * gcc.dg/ifcvt-fabs-1.c: Ditto. * gcc.dg/ira-loop-pressure.c: Ditto. * gcc.dg/ira-shrinkwrap-prep-1.c: Ditto. * gcc.dg/ira-shrinkwrap-prep-2.c: Ditto. * gcc.dg/lto/pr47259_0.c: Ditto. * gcc.dg/memcpy-5.c: Ditto. * gcc.dg/pr10474.c: Ditto. * gcc.dg/pr37438.c: Ditto. * gcc.dg/pr39453.c: Ditto. * gcc.dg/pr40501.c: Ditto. * gcc.dg/pr42245-2.c: Ditto. * gcc.dg/pr42245.c: Ditto. * gcc.dg/pr42246.c: Ditto. * gcc.dg/pr42249.c: Ditto. * gcc.dg/pr42388.c: Ditto. * gcc.dg/pr42389.c: Ditto. * gcc.dg/pr45352-1.c: Ditto. * gcc.dg/pr45352-2.c: Ditto. * gcc.dg/pr45352-3.c: Ditto. * gcc.dg/pr45352.c: Ditto. * gcc.dg/pr45472.c: Ditto. * gcc.dg/pr45652.c: Ditto. * gcc.dg/pr46212.c: Ditto. * gcc.dg/pr46521.c: Ditto. * gcc.dg/pr46522.c: Ditto. * gcc.dg/pr46875.c: Ditto. * gcc.dg/pr48374.c: Ditto. * gcc.dg/pr50251.c: Ditto. * gcc.dg/pr54472.c: Ditto. * gcc.dg/pr55702.c: Ditto. * gcc.dg/pr56990.c: Ditto. * gcc.dg/pr57104.c: Ditto. * gcc.dg/pr57662.c: Ditto. * gcc.dg/pr60866.c: Ditto. * gcc.dg/shrink-wrap-loop.c: Ditto. * gcc.dg/tm/memopt-15.c: Ditto. * gcc.dg/torture/pr52720.c: Ditto. * gcc.dg/torture/pr56778.c: Ditto. * gcc.dg/tree-prof/pr45354.c: Ditto. * gcc.dg/tree-prof/pr50907.c: Ditto. * gcc.dg/tree-ssa/loop-16.c: Ditto. * gcc.dg/tree-ssa/loop-18.c: Ditto. * gcc.dg/tree-ssa/pr44423.c: Ditto. * gcc.dg/misc-tests/godump-1.c: Ditto. * gfortran.dg/PR24188.f: Ditto. * gfortran.dg/errnocheck_1.f90: Ditto. * gfortran.dg/g77/20010216-1.f: Ditto. * gfortran.dg/pr42246-2.f: Ditto. * gfortran.dg/pr42294.f: Ditto. * gfortran.dg/pr44691.f: Ditto. * gfortran.dg/vect/pr45714-a.f: Ditto. * gcc.c-torture/execute/ieee/ieee.exp: Ditto. * gcc.misc-tests/linkage.exp: Ditto. * lib/target-supports.exp: Reformat x86 tagets. (check_effective_target_whole_vector_shift): Add i?86-*-* target. From-SVN: r217015
-rw-r--r--gcc/testsuite/ChangeLog81
-rw-r--r--gcc/testsuite/c-c++-common/ubsan/float-cast-overflow-6.c2
-rw-r--r--gcc/testsuite/g++.dg/abi/no-weak1.C4
-rw-r--r--gcc/testsuite/g++.dg/opt/pr44919.C2
-rw-r--r--gcc/testsuite/g++.dg/opt/pr46640.C2
-rw-r--r--gcc/testsuite/g++.dg/opt/pr46649.C2
-rw-r--r--gcc/testsuite/g++.dg/opt/pr47036.C2
-rw-r--r--gcc/testsuite/g++.dg/opt/pr48273.C2
-rw-r--r--gcc/testsuite/g++.dg/opt/pr48302.C2
-rw-r--r--gcc/testsuite/g++.dg/pr45788.C2
-rw-r--r--gcc/testsuite/g++.dg/pr57662.C2
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp6
-rw-r--r--gcc/testsuite/gcc.dg/20031102-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/builtin-bswap-7.c2
-rw-r--r--gcc/testsuite/gcc.dg/builtin-bswap-7a.c2
-rw-r--r--gcc/testsuite/gcc.dg/builtin-bswap-9.c2
-rw-r--r--gcc/testsuite/gcc.dg/combine_ashiftrt_1.c3
-rw-r--r--gcc/testsuite/gcc.dg/guality/bswaptest.c2
-rw-r--r--gcc/testsuite/gcc.dg/guality/clztest.c2
-rw-r--r--gcc/testsuite/gcc.dg/guality/ctztest.c2
-rw-r--r--gcc/testsuite/gcc.dg/guality/pr45003-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/guality/pr45003-2.c2
-rw-r--r--gcc/testsuite/gcc.dg/guality/pr45003-3.c2
-rw-r--r--gcc/testsuite/gcc.dg/guality/pr58791-4.c4
-rw-r--r--gcc/testsuite/gcc.dg/guality/rotatetest.c2
-rw-r--r--gcc/testsuite/gcc.dg/ifcvt-fabs-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/ira-loop-pressure.c2
-rw-r--r--gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-2.c2
-rw-r--r--gcc/testsuite/gcc.dg/lto/pr47259_0.c2
-rw-r--r--gcc/testsuite/gcc.dg/memcpy-5.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr10474.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr37438.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr39453.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr40501.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr42245-2.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr42245.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr42246.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr42249.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr42388.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr42389.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr45352-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr45352-2.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr45352-3.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr45352.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr45472.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr45652.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr46212.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr46521.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr46522.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr46875.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr48374.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr50251.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr54472.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr55702.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr56990.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr57104.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr57662.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr60866.c2
-rw-r--r--gcc/testsuite/gcc.dg/shrink-wrap-loop.c2
-rw-r--r--gcc/testsuite/gcc.dg/tm/memopt-15.c2
-rw-r--r--gcc/testsuite/gcc.dg/torture/pr52720.c2
-rw-r--r--gcc/testsuite/gcc.dg/torture/pr56778.c2
-rw-r--r--gcc/testsuite/gcc.dg/tree-prof/pr45354.c2
-rw-r--r--gcc/testsuite/gcc.dg/tree-prof/pr50907.c2
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/loop-16.c2
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/loop-18.c2
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/pr44423.c4
-rw-r--r--gcc/testsuite/gcc.misc-tests/godump-1.c2
-rw-r--r--gcc/testsuite/gcc.misc-tests/linkage.exp8
-rw-r--r--gcc/testsuite/gfortran.dg/PR24188.f3
-rw-r--r--gcc/testsuite/gfortran.dg/errnocheck_1.f902
-rw-r--r--gcc/testsuite/gfortran.dg/g77/20010216-1.f2
-rw-r--r--gcc/testsuite/gfortran.dg/pr42246-2.f2
-rw-r--r--gcc/testsuite/gfortran.dg/pr42294.f2
-rw-r--r--gcc/testsuite/gfortran.dg/pr44691.f2
-rw-r--r--gcc/testsuite/gfortran.dg/vect/pr45714-a.f2
-rw-r--r--gcc/testsuite/lib/target-supports.exp112
78 files changed, 204 insertions, 159 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 0cc7116..04b5429 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,84 @@
+2014-11-02 Uros Bizjak <ubizjak@gmail.com>
+
+ * c-c++-common/ubsan/float-cast-overflow-6.c: Add i?86-*-* target.
+ * g++.dg/abi/no-weak1.C: Ditto.
+ * g++.dg/opt/pr44919.C: Ditto.
+ * g++.dg/opt/pr46640.C: Ditto.
+ * g++.dg/opt/pr46649.C: Ditto.
+ * g++.dg/opt/pr47036.C: Ditto.
+ * g++.dg/opt/pr48273.C: Ditto.
+ * g++.dg/opt/pr48302.C: Ditto.
+ * g++.dg/opt/pr45788.C: Ditto.
+ * g++.dg/opt/pr57662.C: Ditto.
+ * gcc.dg/20031102-1.c: Ditto.
+ * gcc.dg/builtin-bswap-7.c: Ditto.
+ * gcc.dg/builtin-bswap-7a.c: Ditto.
+ * gcc.dg/builtin-bswap-9.c: Ditto.
+ * gcc.dg/combine_ashiftrt_1.c: Ditto.
+ * gcc.dg/guality/bswaptest.c: Ditto.
+ * gcc.dg/guality/clztest.c: Ditto.
+ * gcc.dg/guality/ctztest.c: Ditto.
+ * gcc.dg/guality/pr45003-1.c: Ditto.
+ * gcc.dg/guality/pr45003-2.c: Ditto.
+ * gcc.dg/guality/pr45003-3.c: Ditto.
+ * gcc.dg/guality/pr58791-4.c: Ditto.
+ * gcc.dg/guality/rotatetest.c:Ditto.
+ * gcc.dg/ifcvt-fabs-1.c: Ditto.
+ * gcc.dg/ira-loop-pressure.c: Ditto.
+ * gcc.dg/ira-shrinkwrap-prep-1.c: Ditto.
+ * gcc.dg/ira-shrinkwrap-prep-2.c: Ditto.
+ * gcc.dg/lto/pr47259_0.c: Ditto.
+ * gcc.dg/memcpy-5.c: Ditto.
+ * gcc.dg/pr10474.c: Ditto.
+ * gcc.dg/pr37438.c: Ditto.
+ * gcc.dg/pr39453.c: Ditto.
+ * gcc.dg/pr40501.c: Ditto.
+ * gcc.dg/pr42245-2.c: Ditto.
+ * gcc.dg/pr42245.c: Ditto.
+ * gcc.dg/pr42246.c: Ditto.
+ * gcc.dg/pr42249.c: Ditto.
+ * gcc.dg/pr42388.c: Ditto.
+ * gcc.dg/pr42389.c: Ditto.
+ * gcc.dg/pr45352-1.c: Ditto.
+ * gcc.dg/pr45352-2.c: Ditto.
+ * gcc.dg/pr45352-3.c: Ditto.
+ * gcc.dg/pr45352.c: Ditto.
+ * gcc.dg/pr45472.c: Ditto.
+ * gcc.dg/pr45652.c: Ditto.
+ * gcc.dg/pr46212.c: Ditto.
+ * gcc.dg/pr46521.c: Ditto.
+ * gcc.dg/pr46522.c: Ditto.
+ * gcc.dg/pr46875.c: Ditto.
+ * gcc.dg/pr48374.c: Ditto.
+ * gcc.dg/pr50251.c: Ditto.
+ * gcc.dg/pr54472.c: Ditto.
+ * gcc.dg/pr55702.c: Ditto.
+ * gcc.dg/pr56990.c: Ditto.
+ * gcc.dg/pr57104.c: Ditto.
+ * gcc.dg/pr57662.c: Ditto.
+ * gcc.dg/pr60866.c: Ditto.
+ * gcc.dg/shrink-wrap-loop.c: Ditto.
+ * gcc.dg/tm/memopt-15.c: Ditto.
+ * gcc.dg/torture/pr52720.c: Ditto.
+ * gcc.dg/torture/pr56778.c: Ditto.
+ * gcc.dg/tree-prof/pr45354.c: Ditto.
+ * gcc.dg/tree-prof/pr50907.c: Ditto.
+ * gcc.dg/tree-ssa/loop-16.c: Ditto.
+ * gcc.dg/tree-ssa/loop-18.c: Ditto.
+ * gcc.dg/tree-ssa/pr44423.c: Ditto.
+ * gcc.dg/misc-tests/godump-1.c: Ditto.
+ * gfortran.dg/PR24188.f: Ditto.
+ * gfortran.dg/errnocheck_1.f90: Ditto.
+ * gfortran.dg/g77/20010216-1.f: Ditto.
+ * gfortran.dg/pr42246-2.f: Ditto.
+ * gfortran.dg/pr42294.f: Ditto.
+ * gfortran.dg/pr44691.f: Ditto.
+ * gfortran.dg/vect/pr45714-a.f: Ditto.
+ * gcc.c-torture/execute/ieee/ieee.exp: Ditto.
+ * gcc.misc-tests/linkage.exp: Ditto.
+ * lib/target-supports.exp: Reformat x86 tagets.
+ (check_effective_target_whole_vector_shift): Add i?86-*-* target.
+
2014-11-02 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/57694
diff --git a/gcc/testsuite/c-c++-common/ubsan/float-cast-overflow-6.c b/gcc/testsuite/c-c++-common/ubsan/float-cast-overflow-6.c
index 73b8b95..a2b5f9a 100644
--- a/gcc/testsuite/c-c++-common/ubsan/float-cast-overflow-6.c
+++ b/gcc/testsuite/c-c++-common/ubsan/float-cast-overflow-6.c
@@ -1,4 +1,4 @@
-/* { dg-do run { target { { x86_64-*-* ia64-*-* } && { ! { ia32 } } } } } */
+/* { dg-do run { target { { { i?86-*-* x86_64-*-* } && { ! { ia32 } } || { ia64-*-* } } } } } */
/* { dg-options "-fsanitize=float-cast-overflow" } */
#include <limits.h>
diff --git a/gcc/testsuite/g++.dg/abi/no-weak1.C b/gcc/testsuite/g++.dg/abi/no-weak1.C
index 663643f..065c414 100644
--- a/gcc/testsuite/g++.dg/abi/no-weak1.C
+++ b/gcc/testsuite/g++.dg/abi/no-weak1.C
@@ -1,6 +1,6 @@
// { dg-options "-fno-weak" }
-// { dg-final { scan-assembler "local\[ \t\]*_ZZL1fvE1i" { target x86_64-*-*gnu } } }
-// { dg-final { scan-assembler "local\[ \t\]*_ZZ1gIiEvvE1i" { target x86_64-*-*gnu } } }
+// { dg-final { scan-assembler "local\[ \t\]*_ZZL1fvE1i" { target i?86-*-gnu* x86_64-*-gnu* } } }
+// { dg-final { scan-assembler "local\[ \t\]*_ZZ1gIiEvvE1i" { target i?86-*-gnu* x86_64-*-gnu* } } }
static inline void f()
{
diff --git a/gcc/testsuite/g++.dg/opt/pr44919.C b/gcc/testsuite/g++.dg/opt/pr44919.C
index e90851b..a4aeec8 100644
--- a/gcc/testsuite/g++.dg/opt/pr44919.C
+++ b/gcc/testsuite/g++.dg/opt/pr44919.C
@@ -1,4 +1,4 @@
-// { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } }
+// { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } }
// { dg-options "-O3 -fselective-scheduling2" }
namespace std {
diff --git a/gcc/testsuite/g++.dg/opt/pr46640.C b/gcc/testsuite/g++.dg/opt/pr46640.C
index 0892c9a..1c25778 100644
--- a/gcc/testsuite/g++.dg/opt/pr46640.C
+++ b/gcc/testsuite/g++.dg/opt/pr46640.C
@@ -1,4 +1,4 @@
-// { dg-do compile { target x86_64-*-* } }
+// { dg-do compile { target i?86-*-* x86_64-*-* } }
// { dg-options "-fschedule-insns2 -fsel-sched-pipelining -fselective-scheduling2 -fno-exceptions -O" }
struct QBasicAtomicInt
diff --git a/gcc/testsuite/g++.dg/opt/pr46649.C b/gcc/testsuite/g++.dg/opt/pr46649.C
index 1428e8b..55e9650 100644
--- a/gcc/testsuite/g++.dg/opt/pr46649.C
+++ b/gcc/testsuite/g++.dg/opt/pr46649.C
@@ -1,4 +1,4 @@
-// { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } }
+// { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } }
// { dg-options "-fschedule-insns -fselective-scheduling" }
void foo ()
diff --git a/gcc/testsuite/g++.dg/opt/pr47036.C b/gcc/testsuite/g++.dg/opt/pr47036.C
index d6d5adc..94444c3 100644
--- a/gcc/testsuite/g++.dg/opt/pr47036.C
+++ b/gcc/testsuite/g++.dg/opt/pr47036.C
@@ -1,4 +1,4 @@
-// { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } }
+// { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } }
// { dg-options "-fschedule-insns -fselective-scheduling -fno-dce" }
diff --git a/gcc/testsuite/g++.dg/opt/pr48273.C b/gcc/testsuite/g++.dg/opt/pr48273.C
index 4c5108b..340e3a1 100644
--- a/gcc/testsuite/g++.dg/opt/pr48273.C
+++ b/gcc/testsuite/g++.dg/opt/pr48273.C
@@ -1,4 +1,4 @@
-// { dg-do compile { target x86_64-*-* } }
+// { dg-do compile { target i?86-*-* x86_64-*-* } }
// { dg-options "-fschedule-insns2 -fsel-sched-pipelining -fselective-scheduling2 -funroll-all-loops -march=core2" }
void bar ();
diff --git a/gcc/testsuite/g++.dg/opt/pr48302.C b/gcc/testsuite/g++.dg/opt/pr48302.C
index fd51ba4..9d93971 100644
--- a/gcc/testsuite/g++.dg/opt/pr48302.C
+++ b/gcc/testsuite/g++.dg/opt/pr48302.C
@@ -1,4 +1,4 @@
-// { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } }
+// { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } }
// { dg-options "-O -fcrossjumping -fgcse -fschedule-insns2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops -fselective-scheduling2 --param lim-expensive=320 --param min-crossjump-insns=1" }
struct S
diff --git a/gcc/testsuite/g++.dg/pr45788.C b/gcc/testsuite/g++.dg/pr45788.C
index de3340d..0f4db20 100644
--- a/gcc/testsuite/g++.dg/pr45788.C
+++ b/gcc/testsuite/g++.dg/pr45788.C
@@ -1,4 +1,4 @@
-// { dg-do compile { target x86_64-*-* } }
+// { dg-do compile { target i?86-*-* x86_64-*-* } }
// { dg-options "-O3 -fwhole-program -msse2" }
typedef long unsigned int __darwin_size_t;
diff --git a/gcc/testsuite/g++.dg/pr57662.C b/gcc/testsuite/g++.dg/pr57662.C
index 1354790..bd5793d 100644
--- a/gcc/testsuite/g++.dg/pr57662.C
+++ b/gcc/testsuite/g++.dg/pr57662.C
@@ -1,4 +1,4 @@
-/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
+/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2 -fselective-scheduling2 -fsel-sched-pipelining" } */
extern "C" {
diff --git a/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp b/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp
index 33b1264..cdd2a3c 100644
--- a/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp
+++ b/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp
@@ -41,10 +41,8 @@ set additional_flags "-fno-inline"
# We must use -ffloat-store/-mieee to ensure that excess precision on some
# machines does not cause problems
-if [istarget "i\[34567\]86-*-*"] then {
- lappend additional_flags "-ffloat-store"
-}
-if { [istarget "x86_64-*-*"] && [check_effective_target_ia32] } then {
+if { ([istarget "i?86-*-*"] || [istarget "x86_64-*-*"])
+ && [check_effective_target_ia32] } then {
lappend additional_flags "-ffloat-store"
}
if [istarget "m68k-*-*"] then {
diff --git a/gcc/testsuite/gcc.dg/20031102-1.c b/gcc/testsuite/gcc.dg/20031102-1.c
index 2148381..b50434f 100644
--- a/gcc/testsuite/gcc.dg/20031102-1.c
+++ b/gcc/testsuite/gcc.dg/20031102-1.c
@@ -3,7 +3,7 @@
/* { dg-do run } */
/* { dg-options "-O2" } */
-/* { dg-options "-O2 -march=i686" { target { { i686-*-* x86_64-*-* } && ia32 } } } */
+/* { dg-options "-O2 -march=i686" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
/* Verify that reload_cse_move2add doesn't add unexpected CLOBBERs. */
diff --git a/gcc/testsuite/gcc.dg/builtin-bswap-7.c b/gcc/testsuite/gcc.dg/builtin-bswap-7.c
index 035c736..4a42bfc 100644
--- a/gcc/testsuite/gcc.dg/builtin-bswap-7.c
+++ b/gcc/testsuite/gcc.dg/builtin-bswap-7.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target arm*-*-* alpha*-*-* ia64*-*-* x86_64-*-* s390x-*-* powerpc*-*-* rs6000-*-* } } */
+/* { dg-do compile { target arm*-*-* alpha*-*-* ia64*-*-* i?86-*-* x86_64-*-* s390x-*-* powerpc*-*-* rs6000-*-* } } */
/* { dg-require-effective-target stdint_types } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-O -fdump-rtl-combine" } */
diff --git a/gcc/testsuite/gcc.dg/builtin-bswap-7a.c b/gcc/testsuite/gcc.dg/builtin-bswap-7a.c
index d77bd47..5712e21 100644
--- a/gcc/testsuite/gcc.dg/builtin-bswap-7a.c
+++ b/gcc/testsuite/gcc.dg/builtin-bswap-7a.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target arm*-*-* alpha*-*-* ia64*-*-* x86_64-*-* s390x-*-* powerpc*-*-* rs6000-*-* } } */
+/* { dg-do compile { target arm*-*-* alpha*-*-* ia64*-*-* i?86-*-* x86_64-*-* s390x-*-* powerpc*-*-* rs6000-*-* } } */
/* { dg-require-effective-target stdint_types } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-O2 -fdump-rtl-combine" } */
diff --git a/gcc/testsuite/gcc.dg/builtin-bswap-9.c b/gcc/testsuite/gcc.dg/builtin-bswap-9.c
index 4aa1a40..4a2cf7d 100644
--- a/gcc/testsuite/gcc.dg/builtin-bswap-9.c
+++ b/gcc/testsuite/gcc.dg/builtin-bswap-9.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target arm*-*-* alpha*-*-* ia64*-*-* x86_64-*-* s390x-*-* powerpc*-*-* rs6000-*-* } } */
+/* { dg-do compile { target arm*-*-* alpha*-*-* ia64*-*-* i?86-*-* x86_64-*-* s390x-*-* powerpc*-*-* rs6000-*-* } } */
/* { dg-require-effective-target stdint_types } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-O2 -fdump-rtl-combine" } */
diff --git a/gcc/testsuite/gcc.dg/combine_ashiftrt_1.c b/gcc/testsuite/gcc.dg/combine_ashiftrt_1.c
index 90e64fd..c2ba918 100644
--- a/gcc/testsuite/gcc.dg/combine_ashiftrt_1.c
+++ b/gcc/testsuite/gcc.dg/combine_ashiftrt_1.c
@@ -1,4 +1,5 @@
-/* { dg-do compile {target sparc64*-*-* aarch64*-*-* x86_64-*-* powerpc64*-*-*} } */
+/* { dg-do compile {target sparc64*-*-* aarch64*-*-* i?86-*-* x86_64-*-* powerpc64*-*-*} } */
+/* { dg-require-effective-target lp64 } */
/* { dg-options "-O2 -fdump-rtl-combine-all" } */
typedef long long int int64_t;
diff --git a/gcc/testsuite/gcc.dg/guality/bswaptest.c b/gcc/testsuite/gcc.dg/guality/bswaptest.c
index 38b9d98..c924f6e 100644
--- a/gcc/testsuite/gcc.dg/guality/bswaptest.c
+++ b/gcc/testsuite/gcc.dg/guality/bswaptest.c
@@ -1,4 +1,4 @@
-/* { dg-do run { target { x86_64-*-* && lp64 } } } */
+/* { dg-do run { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
/* { dg-options "-g" } */
volatile int vv;
diff --git a/gcc/testsuite/gcc.dg/guality/clztest.c b/gcc/testsuite/gcc.dg/guality/clztest.c
index 9428be3..b91059c 100644
--- a/gcc/testsuite/gcc.dg/guality/clztest.c
+++ b/gcc/testsuite/gcc.dg/guality/clztest.c
@@ -1,4 +1,4 @@
-/* { dg-do run { target { x86_64-*-* && lp64 } } } */
+/* { dg-do run { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
/* { dg-options "-g" } */
volatile int vv;
diff --git a/gcc/testsuite/gcc.dg/guality/ctztest.c b/gcc/testsuite/gcc.dg/guality/ctztest.c
index d243845..ea8d076 100644
--- a/gcc/testsuite/gcc.dg/guality/ctztest.c
+++ b/gcc/testsuite/gcc.dg/guality/ctztest.c
@@ -1,4 +1,4 @@
-/* { dg-do run { target { x86_64-*-* && lp64 } } } */
+/* { dg-do run { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
/* { dg-options "-g" } */
volatile int vv;
diff --git a/gcc/testsuite/gcc.dg/guality/pr45003-1.c b/gcc/testsuite/gcc.dg/guality/pr45003-1.c
index 7cef8f6..9fc22f2 100644
--- a/gcc/testsuite/gcc.dg/guality/pr45003-1.c
+++ b/gcc/testsuite/gcc.dg/guality/pr45003-1.c
@@ -1,5 +1,5 @@
/* PR debug/45003 */
-/* { dg-do run { target { x86_64-*-* && lp64 } } } */
+/* { dg-do run { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
/* { dg-options "-g" } */
int __attribute__((noinline))
diff --git a/gcc/testsuite/gcc.dg/guality/pr45003-2.c b/gcc/testsuite/gcc.dg/guality/pr45003-2.c
index dcdba23..7e395d4 100644
--- a/gcc/testsuite/gcc.dg/guality/pr45003-2.c
+++ b/gcc/testsuite/gcc.dg/guality/pr45003-2.c
@@ -1,5 +1,5 @@
/* PR debug/45003 */
-/* { dg-do run { target { x86_64-*-* && lp64 } } } */
+/* { dg-do run { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
/* { dg-options "-g" } */
int __attribute__((noinline))
diff --git a/gcc/testsuite/gcc.dg/guality/pr45003-3.c b/gcc/testsuite/gcc.dg/guality/pr45003-3.c
index 3adc4f2..5a7c5a8 100644
--- a/gcc/testsuite/gcc.dg/guality/pr45003-3.c
+++ b/gcc/testsuite/gcc.dg/guality/pr45003-3.c
@@ -1,5 +1,5 @@
/* PR debug/45003 */
-/* { dg-do run { target { x86_64-*-* && lp64 } } } */
+/* { dg-do run { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
/* { dg-options "-g" } */
int __attribute__((noinline))
diff --git a/gcc/testsuite/gcc.dg/guality/pr58791-4.c b/gcc/testsuite/gcc.dg/guality/pr58791-4.c
index d988a9c..2d8b5a5 100644
--- a/gcc/testsuite/gcc.dg/guality/pr58791-4.c
+++ b/gcc/testsuite/gcc.dg/guality/pr58791-4.c
@@ -11,8 +11,8 @@ foo (float a, float b, float c, float d, float l, double u)
float f = d * e;
double g = (double) f;
double h = (double) b;
- double i = g * h; /* { dg-final { gdb-test pr58791-4.c:32 "i" "486" { target { x86_64-*-* && lp64 } } } } */
- double i2 = i + 1.0; /* { dg-final { gdb-test pr58791-4.c:32 "i2" "487" { target { x86_64-*-* && lp64 } } } } */
+ double i = g * h; /* { dg-final { gdb-test pr58791-4.c:32 "i" "486" { target { { i?86-*-* x86_64-*-* } && lp64 } } } } */
+ double i2 = i + 1.0; /* { dg-final { gdb-test pr58791-4.c:32 "i2" "487" { target { { i?86-*-* x86_64-*-* } && lp64 } } } } */
double j = i * 3.25;
double k = h + j;
float m = l * 8.75;
diff --git a/gcc/testsuite/gcc.dg/guality/rotatetest.c b/gcc/testsuite/gcc.dg/guality/rotatetest.c
index 64f5340..d44c280 100644
--- a/gcc/testsuite/gcc.dg/guality/rotatetest.c
+++ b/gcc/testsuite/gcc.dg/guality/rotatetest.c
@@ -1,4 +1,4 @@
-/* { dg-do run { target { x86_64-*-* && lp64 } } } */
+/* { dg-do run { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
/* { dg-options "-g" } */
volatile int vv;
diff --git a/gcc/testsuite/gcc.dg/ifcvt-fabs-1.c b/gcc/testsuite/gcc.dg/ifcvt-fabs-1.c
index 40c57d8..409bbc4 100644
--- a/gcc/testsuite/gcc.dg/ifcvt-fabs-1.c
+++ b/gcc/testsuite/gcc.dg/ifcvt-fabs-1.c
@@ -1,6 +1,6 @@
/* { dg-do run } */
/* { dg-options "-O" } */
-/* { dg-options "-O -march=i686" { target { { i686-*-* x86_64-*-* } && ia32 } } } */
+/* { dg-options "-O -march=i686" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
extern void abort(void);
diff --git a/gcc/testsuite/gcc.dg/ira-loop-pressure.c b/gcc/testsuite/gcc.dg/ira-loop-pressure.c
index 7ef4fa7..28ce6cd 100644
--- a/gcc/testsuite/gcc.dg/ira-loop-pressure.c
+++ b/gcc/testsuite/gcc.dg/ira-loop-pressure.c
@@ -2,7 +2,7 @@
register classes. In this case, register pressue of INT is high. But
we can still move the FP invariant out of the loop. */
-/* { dg-do compile { target { x86_64-*-* && lp64 } } } */
+/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
/* { dg-options "-O2 -fira-loop-pressure -fdump-rtl-loop2_invariant " } */
float tt;
diff --git a/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-1.c b/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-1.c
index 615f032..162232b 100644
--- a/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-1.c
+++ b/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-1.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target { { x86_64-*-* && lp64 } || { { powerpc*-*-* && lp64 } || { arm_nothumb || { aarch64*-*-* && lp64 } } } } } } */
+/* { dg-do compile { target { { { i?86-*-* x86_64-*-* } && lp64 } || { { powerpc*-*-* && lp64 } || { arm_nothumb || { aarch64*-*-* && lp64 } } } } } } */
/* { dg-options "-O3 -fdump-rtl-ira -fdump-rtl-pro_and_epilogue -fno-use-caller-save" } */
long __attribute__((noinline, noclone))
diff --git a/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-2.c b/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-2.c
index 5f55937..1da12a4 100644
--- a/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-2.c
+++ b/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-2.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target { { x86_64-*-* && lp64 } || { { powerpc*-*-* && lp64 } || { arm_nothumb || { aarch64*-*-* && lp64 } } } } } } */
+/* { dg-do compile { target { { { i?86-*-* x86_64-*-* } && lp64 } || { { powerpc*-*-* && lp64 } || { arm_nothumb || { aarch64*-*-* && lp64 } } } } } } */
/* { dg-options "-O3 -fdump-rtl-ira -fdump-rtl-pro_and_epilogue -fno-use-caller-save" } */
long __attribute__((noinline, noclone))
diff --git a/gcc/testsuite/gcc.dg/lto/pr47259_0.c b/gcc/testsuite/gcc.dg/lto/pr47259_0.c
index 7900e5a..bda485c 100644
--- a/gcc/testsuite/gcc.dg/lto/pr47259_0.c
+++ b/gcc/testsuite/gcc.dg/lto/pr47259_0.c
@@ -1,5 +1,5 @@
/* { dg-lto-do link } */
-/* { dg-skip-if "" { ! { x86_64-*-* } } { "*" } { "" } } */
+/* { dg-skip-if "" { ! { i?86-*-* x86_64-*-* } } { "*" } { "" } } */
/* { dg-lto-options { { -O2 -flto -w } } } */
register int r asm("esi");
diff --git a/gcc/testsuite/gcc.dg/memcpy-5.c b/gcc/testsuite/gcc.dg/memcpy-5.c
index 67854dc..9f98bba 100644
--- a/gcc/testsuite/gcc.dg/memcpy-5.c
+++ b/gcc/testsuite/gcc.dg/memcpy-5.c
@@ -24,5 +24,5 @@ TEST (d32d, double __attribute__((vector_size (32))));
TEST (d64d, double __attribute__((vector_size (64))));
TEST (d128d, double __attribute__((vector_size (128))));
-/* { dg-final { scan-tree-dump-not "memcpy" "optimized" { target x86_64-*-* } } } */
+/* { dg-final { scan-tree-dump-not "memcpy" "optimized" { target i?86-*-* x86_64-*-* } } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
diff --git a/gcc/testsuite/gcc.dg/pr10474.c b/gcc/testsuite/gcc.dg/pr10474.c
index e8dbd3c..726ff4e 100644
--- a/gcc/testsuite/gcc.dg/pr10474.c
+++ b/gcc/testsuite/gcc.dg/pr10474.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target { { x86_64-*-* && lp64 } || { { powerpc*-*-* && lp64 } || { arm_nothumb || { aarch64*-*-* && lp64 } } } } } } */
+/* { dg-do compile { target { { { i?86-*-* x86_64-*-* } && lp64 } || { { powerpc*-*-* && lp64 } || { arm_nothumb || { aarch64*-*-* && lp64 } } } } } } */
/* { dg-options "-O3 -fdump-rtl-pro_and_epilogue" } */
void f(int *i)
diff --git a/gcc/testsuite/gcc.dg/pr37438.c b/gcc/testsuite/gcc.dg/pr37438.c
index 7365dc9..b64994c 100644
--- a/gcc/testsuite/gcc.dg/pr37438.c
+++ b/gcc/testsuite/gcc.dg/pr37438.c
@@ -1,7 +1,7 @@
/* PR target/37438 */
/* { dg-do compile } */
/* { dg-options "-Os" } */
-/* { dg-options "-Os -march=i486" { target { { i686-*-* x86_64-*-* } && ia32 } } } */
+/* { dg-options "-Os -march=i486" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
extern int bar (unsigned long long int);
extern int baz (const char *, unsigned int, unsigned short);
diff --git a/gcc/testsuite/gcc.dg/pr39453.c b/gcc/testsuite/gcc.dg/pr39453.c
index 66ecc3f..3581523 100644
--- a/gcc/testsuite/gcc.dg/pr39453.c
+++ b/gcc/testsuite/gcc.dg/pr39453.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
+/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2 -fselective-scheduling2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops" } */
int foo(int k, int n)
diff --git a/gcc/testsuite/gcc.dg/pr40501.c b/gcc/testsuite/gcc.dg/pr40501.c
index 0e43e63..e6ce217 100644
--- a/gcc/testsuite/gcc.dg/pr40501.c
+++ b/gcc/testsuite/gcc.dg/pr40501.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target alpha*-*-* ia64*-*-* x86_64-*-* s390x-*-* } } */
+/* { dg-do compile { target alpha*-*-* ia64*-*-* i?86-*-* x86_64-*-* s390x-*-* } } */
/* { dg-options "-O2" } */
/* { dg-require-effective-target lp64 } */
diff --git a/gcc/testsuite/gcc.dg/pr42245-2.c b/gcc/testsuite/gcc.dg/pr42245-2.c
index 48f9e0e..e99fe37 100644
--- a/gcc/testsuite/gcc.dg/pr42245-2.c
+++ b/gcc/testsuite/gcc.dg/pr42245-2.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
+/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2 -fselective-scheduling -fsel-sched-pipelining" } */
int
diff --git a/gcc/testsuite/gcc.dg/pr42245.c b/gcc/testsuite/gcc.dg/pr42245.c
index 98dd1d0..a516e7a 100644
--- a/gcc/testsuite/gcc.dg/pr42245.c
+++ b/gcc/testsuite/gcc.dg/pr42245.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
+/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2 -fselective-scheduling -fsel-sched-pipelining" } */
extern int N_words;
diff --git a/gcc/testsuite/gcc.dg/pr42246.c b/gcc/testsuite/gcc.dg/pr42246.c
index ee17a21..163f2b4 100644
--- a/gcc/testsuite/gcc.dg/pr42246.c
+++ b/gcc/testsuite/gcc.dg/pr42246.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
+/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2 -fselective-scheduling -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops" } */
typedef enum
diff --git a/gcc/testsuite/gcc.dg/pr42249.c b/gcc/testsuite/gcc.dg/pr42249.c
index 2170874..3289d54 100644
--- a/gcc/testsuite/gcc.dg/pr42249.c
+++ b/gcc/testsuite/gcc.dg/pr42249.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
+/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2 -fselective-scheduling -fsel-sched-pipelining" } */
typedef struct TypHeader
diff --git a/gcc/testsuite/gcc.dg/pr42388.c b/gcc/testsuite/gcc.dg/pr42388.c
index ad97eb4..a68a2e8 100644
--- a/gcc/testsuite/gcc.dg/pr42388.c
+++ b/gcc/testsuite/gcc.dg/pr42388.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
+/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2 -fselective-scheduling -fmodulo-sched" } */
enum rtx_code
diff --git a/gcc/testsuite/gcc.dg/pr42389.c b/gcc/testsuite/gcc.dg/pr42389.c
index c398012..8bb06ae 100644
--- a/gcc/testsuite/gcc.dg/pr42389.c
+++ b/gcc/testsuite/gcc.dg/pr42389.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
+/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2 -fselective-scheduling -fsel-sched-pipelining -fsched-pressure" } */
struct s_linked_f_pointer
diff --git a/gcc/testsuite/gcc.dg/pr45352-1.c b/gcc/testsuite/gcc.dg/pr45352-1.c
index 3b092cd..2183f0e 100644
--- a/gcc/testsuite/gcc.dg/pr45352-1.c
+++ b/gcc/testsuite/gcc.dg/pr45352-1.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
+/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
/* { dg-options "-O3 -fschedule-insns -fschedule-insns2 -fselective-scheduling2 -fsel-sched-pipelining -funroll-loops -fprefetch-loop-arrays" } */
void main1 (float *pa, float *pc)
diff --git a/gcc/testsuite/gcc.dg/pr45352-2.c b/gcc/testsuite/gcc.dg/pr45352-2.c
index eed3847..e81ed30 100644
--- a/gcc/testsuite/gcc.dg/pr45352-2.c
+++ b/gcc/testsuite/gcc.dg/pr45352-2.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
+/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
/* { dg-options "-O1 -freorder-blocks -fschedule-insns2 -funswitch-loops -fselective-scheduling2 -fsel-sched-pipelining -funroll-all-loops" } */
void
foo1 (int *s)
diff --git a/gcc/testsuite/gcc.dg/pr45352-3.c b/gcc/testsuite/gcc.dg/pr45352-3.c
index ce7879f..c642a70 100644
--- a/gcc/testsuite/gcc.dg/pr45352-3.c
+++ b/gcc/testsuite/gcc.dg/pr45352-3.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
+/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
/* { dg-options "-O -fprofile-generate -fgcse -fno-gcse-lm -fgcse-sm -fno-ivopts -fno-tree-loop-im -ftree-pre -funroll-loops -fno-web -fschedule-insns2 -fselective-scheduling2 -fsel-sched-pipelining" } */
extern volatile float f[];
diff --git a/gcc/testsuite/gcc.dg/pr45352.c b/gcc/testsuite/gcc.dg/pr45352.c
index 75f9a21..7aeac0d 100644
--- a/gcc/testsuite/gcc.dg/pr45352.c
+++ b/gcc/testsuite/gcc.dg/pr45352.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
+/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
/* { dg-options "-Os -fselective-scheduling2 -fsel-sched-pipelining -fprofile-generate" } */
static inline void
diff --git a/gcc/testsuite/gcc.dg/pr45472.c b/gcc/testsuite/gcc.dg/pr45472.c
index 573e83d..6cbc392 100644
--- a/gcc/testsuite/gcc.dg/pr45472.c
+++ b/gcc/testsuite/gcc.dg/pr45472.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
+/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
/* { dg-options "-O -fschedule-insns2 -fselective-scheduling2" } */
struct S
diff --git a/gcc/testsuite/gcc.dg/pr45652.c b/gcc/testsuite/gcc.dg/pr45652.c
index 8f55f0c..74e284c 100644
--- a/gcc/testsuite/gcc.dg/pr45652.c
+++ b/gcc/testsuite/gcc.dg/pr45652.c
@@ -1,4 +1,4 @@
-/* { dg-do run { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
+/* { dg-do run { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2 -fselective-scheduling2" } */
struct S {
diff --git a/gcc/testsuite/gcc.dg/pr46212.c b/gcc/testsuite/gcc.dg/pr46212.c
index 3329ed5..a549a99 100644
--- a/gcc/testsuite/gcc.dg/pr46212.c
+++ b/gcc/testsuite/gcc.dg/pr46212.c
@@ -1,7 +1,7 @@
/* PR rtl-optimization/46212 */
/* { dg-do compile } */
/* { dg-options "-O3 -funroll-loops" } */
-/* { dg-options "-O3 -funroll-loops -march=i386" { target { { i686-*-* x86_64-*-* } && ia32 } } } */
+/* { dg-options "-O3 -funroll-loops -march=i386" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
/* { dg-require-effective-target int32plus } */
static inline unsigned
diff --git a/gcc/testsuite/gcc.dg/pr46521.c b/gcc/testsuite/gcc.dg/pr46521.c
index 0c41c43..905b3e0 100644
--- a/gcc/testsuite/gcc.dg/pr46521.c
+++ b/gcc/testsuite/gcc.dg/pr46521.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
+/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
/* { dg-options "-Os -fselective-scheduling2 -fsel-sched-pipelining -fprofile-generate -fno-early-inlining" } */
static void bmp_iter_next (int *bi)
diff --git a/gcc/testsuite/gcc.dg/pr46522.c b/gcc/testsuite/gcc.dg/pr46522.c
index 13a5aa9..9e8e08c 100644
--- a/gcc/testsuite/gcc.dg/pr46522.c
+++ b/gcc/testsuite/gcc.dg/pr46522.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
+/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
/* { dg-options "-O3 -fkeep-inline-functions -fsel-sched-pipelining -fselective-scheduling2 -funroll-loops" } */
struct S
diff --git a/gcc/testsuite/gcc.dg/pr46875.c b/gcc/testsuite/gcc.dg/pr46875.c
index c601708..8b6d236 100644
--- a/gcc/testsuite/gcc.dg/pr46875.c
+++ b/gcc/testsuite/gcc.dg/pr46875.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
+/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
/* { dg-options "-Os -fselective-scheduling2" } */
long
diff --git a/gcc/testsuite/gcc.dg/pr48374.c b/gcc/testsuite/gcc.dg/pr48374.c
index 24826d5..d694a78 100644
--- a/gcc/testsuite/gcc.dg/pr48374.c
+++ b/gcc/testsuite/gcc.dg/pr48374.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
+/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
/* { dg-options "-O -fschedule-insns2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops -fselective-scheduling2 --param max-sched-extend-regions-iters=2" } */
void foo (int y)
diff --git a/gcc/testsuite/gcc.dg/pr50251.c b/gcc/testsuite/gcc.dg/pr50251.c
index f791aa8..57b3d97 100644
--- a/gcc/testsuite/gcc.dg/pr50251.c
+++ b/gcc/testsuite/gcc.dg/pr50251.c
@@ -1,6 +1,6 @@
/* { dg-do compile { target { ! { x86_64-*-mingw* } } } } */
/* { dg-options "-O2" } */
-/* { dg-additional-options "-mpreferred-stack-boundary=12" { target x86_64-*-* } } */
+/* { dg-additional-options "-mpreferred-stack-boundary=12" { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
extern void bar (int*);
diff --git a/gcc/testsuite/gcc.dg/pr54472.c b/gcc/testsuite/gcc.dg/pr54472.c
index 9395203..20c85b4 100644
--- a/gcc/testsuite/gcc.dg/pr54472.c
+++ b/gcc/testsuite/gcc.dg/pr54472.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
+/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
/* { dg-options "-O -fschedule-insns -fselective-scheduling" } */
int main ()
diff --git a/gcc/testsuite/gcc.dg/pr55702.c b/gcc/testsuite/gcc.dg/pr55702.c
index 8770a37..bf3d3ae 100644
--- a/gcc/testsuite/gcc.dg/pr55702.c
+++ b/gcc/testsuite/gcc.dg/pr55702.c
@@ -1,5 +1,5 @@
/* PR sanitizer/55702 */
-/* { dg-do compile { target { x86_64-*-linux* && lp64 } } } */
+/* { dg-do compile { target { { i?86-*-linux* x86_64-*-linux* } && lp64 } } } */
/* { dg-options "-fsanitize=thread" } */
void
diff --git a/gcc/testsuite/gcc.dg/pr56990.c b/gcc/testsuite/gcc.dg/pr56990.c
index ecb6ace..c857785 100644
--- a/gcc/testsuite/gcc.dg/pr56990.c
+++ b/gcc/testsuite/gcc.dg/pr56990.c
@@ -1,5 +1,5 @@
/* PR sanitizer/56990 */
-/* { dg-do compile { target { x86_64-*-linux* && lp64 } } } */
+/* { dg-do compile { target { { i?86-*-linux* x86_64-*-linux* } && lp64 } } } */
/* { dg-options "-fsanitize=thread" } */
struct S{};
diff --git a/gcc/testsuite/gcc.dg/pr57104.c b/gcc/testsuite/gcc.dg/pr57104.c
index 3a7013b..2539d59 100644
--- a/gcc/testsuite/gcc.dg/pr57104.c
+++ b/gcc/testsuite/gcc.dg/pr57104.c
@@ -1,5 +1,5 @@
/* PR tree-optimization/57104 */
-/* { dg-do compile { target { x86_64-*-linux* && lp64 } } } */
+/* { dg-do compile { target { { i?86-*-linux* x86_64-*-linux* } && lp64 } } } */
/* { dg-options "-fsanitize=thread" } */
register int r asm ("r14");
diff --git a/gcc/testsuite/gcc.dg/pr57662.c b/gcc/testsuite/gcc.dg/pr57662.c
index 7af8455..253bf68 100644
--- a/gcc/testsuite/gcc.dg/pr57662.c
+++ b/gcc/testsuite/gcc.dg/pr57662.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
+/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
/* { dg-options " -O -fno-guess-branch-probability -fpeel-loops -freorder-blocks-and-partition -fschedule-insns2 -fsel-sched-pipelining -fselective-scheduling2 -ftree-pre" } */
struct intC
diff --git a/gcc/testsuite/gcc.dg/pr60866.c b/gcc/testsuite/gcc.dg/pr60866.c
index 020878d..a97f4e5 100644
--- a/gcc/testsuite/gcc.dg/pr60866.c
+++ b/gcc/testsuite/gcc.dg/pr60866.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
+/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
/* { dg-options "-O -fselective-scheduling -fno-if-conversion -fschedule-insns" } */
int n;
diff --git a/gcc/testsuite/gcc.dg/shrink-wrap-loop.c b/gcc/testsuite/gcc.dg/shrink-wrap-loop.c
index e72edfa..f540d29 100644
--- a/gcc/testsuite/gcc.dg/shrink-wrap-loop.c
+++ b/gcc/testsuite/gcc.dg/shrink-wrap-loop.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target { { x86_64-*-* && lp64 } || { arm_thumb2 } } } } */
+/* { dg-do compile { target { { { i?86-*-* x86_64-*-* } && lp64 } || { arm_thumb2 } } } } */
/* { dg-options "-O2 -fdump-rtl-pro_and_epilogue" } */
int foo (int *p1, int *p2);
diff --git a/gcc/testsuite/gcc.dg/tm/memopt-15.c b/gcc/testsuite/gcc.dg/tm/memopt-15.c
index 975c794..bf74db7 100644
--- a/gcc/testsuite/gcc.dg/tm/memopt-15.c
+++ b/gcc/testsuite/gcc.dg/tm/memopt-15.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target { x86_64-*-linux* } } } */
+/* { dg-do compile { target { i?86-*-linux* x86_64-*-linux* } } } */
/* { dg-options "-fgnu-tm -O" } */
/* Test the TM vector logging functions. */
diff --git a/gcc/testsuite/gcc.dg/torture/pr52720.c b/gcc/testsuite/gcc.dg/torture/pr52720.c
index ac0bfb6..b8a906e 100644
--- a/gcc/testsuite/gcc.dg/torture/pr52720.c
+++ b/gcc/testsuite/gcc.dg/torture/pr52720.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-march=k8-sse3" { target x86_64-*-* } } */
+/* { dg-options "-march=k8-sse3" { target i?86-*-* x86_64-*-* } } */
struct alu_bank_swizzle {
int hw_gpr[3][4];
diff --git a/gcc/testsuite/gcc.dg/torture/pr56778.c b/gcc/testsuite/gcc.dg/torture/pr56778.c
index 4806877..a1eea49 100644
--- a/gcc/testsuite/gcc.dg/torture/pr56778.c
+++ b/gcc/testsuite/gcc.dg/torture/pr56778.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-march=core-avx2" { target x86_64-*-* } } */
+/* { dg-options "-march=core-avx2" { target i?86-*-* x86_64-*-* } } */
typedef struct {
float a,b,c;
diff --git a/gcc/testsuite/gcc.dg/tree-prof/pr45354.c b/gcc/testsuite/gcc.dg/tree-prof/pr45354.c
index 849e786..441d161 100644
--- a/gcc/testsuite/gcc.dg/tree-prof/pr45354.c
+++ b/gcc/testsuite/gcc.dg/tree-prof/pr45354.c
@@ -1,5 +1,5 @@
/* { dg-require-effective-target freorder } */
-/* { dg-options "-O2 -freorder-blocks-and-partition -fschedule-insns -fselective-scheduling" { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
+/* { dg-options "-O2 -freorder-blocks-and-partition -fschedule-insns -fselective-scheduling" { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
extern void abort (void);
diff --git a/gcc/testsuite/gcc.dg/tree-prof/pr50907.c b/gcc/testsuite/gcc.dg/tree-prof/pr50907.c
index b850513..8bca6c3 100644
--- a/gcc/testsuite/gcc.dg/tree-prof/pr50907.c
+++ b/gcc/testsuite/gcc.dg/tree-prof/pr50907.c
@@ -1,5 +1,5 @@
/* PR middle-end/50907 */
/* { dg-require-effective-target freorder } */
-/* { dg-options "-O2 -freorder-blocks-and-partition -fschedule-insns -fselective-scheduling -fpic" { target { { powerpc*-*-* ia64-*-* x86_64-*-* } && fpic } } } */
+/* { dg-options "-O2 -freorder-blocks-and-partition -fschedule-insns -fselective-scheduling -fpic" { target { { powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } && fpic } } } */
#include "pr45354.c"
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-16.c b/gcc/testsuite/gcc.dg/tree-ssa/loop-16.c
index 50fa333..68ef26d 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/loop-16.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-16.c
@@ -3,7 +3,7 @@
and we may use 64-bit variable to represent them. */
/* { dg-options "-O2 -fdump-tree-optimized" } */
-/* { dg-do compile { target x86_64-*-* } } */
+/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
unsigned a[100];
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-18.c b/gcc/testsuite/gcc.dg/tree-ssa/loop-18.c
index ca75db9..b36d84d 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/loop-18.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-18.c
@@ -3,7 +3,7 @@
i is first extended to 64-bit type). */
/* { dg-options "-O2 -fdump-tree-optimized" } */
-/* { dg-do compile { target x86_64-*-* } } */
+/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
unsigned bar(void);
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr44423.c b/gcc/testsuite/gcc.dg/tree-ssa/pr44423.c
index 6232d649..cadcfcd 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr44423.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr44423.c
@@ -1,5 +1,5 @@
-/* { dg-do compile { target x86_64-*-* } } */
-/* { dg-options "-O2 -fdump-tree-esra-details" } */
+/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
+/* { dg-options "-msse -O2 -fdump-tree-esra-details" } */
#include "xmmintrin.h"
diff --git a/gcc/testsuite/gcc.misc-tests/godump-1.c b/gcc/testsuite/gcc.misc-tests/godump-1.c
index eb45e8c..4ab3906 100644
--- a/gcc/testsuite/gcc.misc-tests/godump-1.c
+++ b/gcc/testsuite/gcc.misc-tests/godump-1.c
@@ -2,7 +2,7 @@
/* { dg-options "-c -fdump-go-spec=godump-1.out" } */
/* { dg-do compile } */
-/* { dg-skip-if "not supported for target" { ! "s390*-*-* x86_64-*-*" } } */
+/* { dg-skip-if "not supported for target" { ! "s390*-*-* i?86-*-* x86_64-*-*" } } */
/* { dg-skip-if "not supported for target" { ! lp64 } } */
#include <stdint.h>
diff --git a/gcc/testsuite/gcc.misc-tests/linkage.exp b/gcc/testsuite/gcc.misc-tests/linkage.exp
index 1e0a94b..31bb277 100644
--- a/gcc/testsuite/gcc.misc-tests/linkage.exp
+++ b/gcc/testsuite/gcc.misc-tests/linkage.exp
@@ -44,8 +44,7 @@ if { [isnative] && ![is_remote host] } then {
set native_cflags "-xarch=v9"
}
}
- if {[istarget "i?86*-*-solaris2*"]
- || [istarget "x86_64-*-solaris2.1\[0-9\]*"]} {
+ if {[istarget "i?86*-*-solaris2*"] || [istarget "x86_64-*-solaris2.1\[0-9\]*"]} {
set file_string [exec file "linkage-x.o"]
if [ string match "*64*" $file_string ] {
set native_cflags "-xarch=amd64"
@@ -59,9 +58,8 @@ if { [isnative] && ![is_remote host] } then {
if [ string match "*64-bit*" $file_string ] {
set native_cflags "-m64"
}
- } elseif {[istarget "i*86-*-linux*"]
- || [istarget "i*86-*-gnu*"]
- || [istarget "x86_64-*-linux*"]} then {
+ } elseif {[istarget "i?86-*-linux*"] || [istarget "x86_64-*-linux*"]
+ || [istarget "i?86-*-gnu*"] || [istarget "x86_64-*-gnu*"] } then {
set file_string [exec file "linkage-x.o"]
if [ string match "*32-bit*" $file_string ] {
set native_cflags "-m32"
diff --git a/gcc/testsuite/gfortran.dg/PR24188.f b/gcc/testsuite/gfortran.dg/PR24188.f
index a33141f..bcac050 100644
--- a/gcc/testsuite/gfortran.dg/PR24188.f
+++ b/gcc/testsuite/gfortran.dg/PR24188.f
@@ -1,7 +1,6 @@
C PR target/24188
C { dg-do compile }
C { dg-options "-O2" }
-C { dg-options "-O2 -mcmodel=medium" { target { x86_64-*-* && lp64 } } }
-C { dg-options "-O2 -mcmodel=medium" { target { i?86-*-* && lp64 } } }
+C { dg-options "-O2 -mcmodel=medium" { target { { i?86-*-* x86_64-*-* } && lp64 } } }
WRITE(6,*) ''
END
diff --git a/gcc/testsuite/gfortran.dg/errnocheck_1.f90 b/gcc/testsuite/gfortran.dg/errnocheck_1.f90
index d9cf994..9990e5a 100644
--- a/gcc/testsuite/gfortran.dg/errnocheck_1.f90
+++ b/gcc/testsuite/gfortran.dg/errnocheck_1.f90
@@ -1,4 +1,4 @@
-! { dg-do compile { target x86_64-*-* } }
+! { dg-do compile { target i?86-*-* x86_64-*-* } }
! Fortran should default to -fno-math-errno
! and thus no call to sqrt in asm
subroutine mysqrt(a)
diff --git a/gcc/testsuite/gfortran.dg/g77/20010216-1.f b/gcc/testsuite/gfortran.dg/g77/20010216-1.f
index af2c03a..7874da2 100644
--- a/gcc/testsuite/gfortran.dg/g77/20010216-1.f
+++ b/gcc/testsuite/gfortran.dg/g77/20010216-1.f
@@ -1,7 +1,7 @@
C Test for bug in reg-stack handling conditional moves.
C Reported by Tim Prince <tprince@computer.org>
C
-C { dg-do run { target { { i[6789]86-*-* x86_64-*-* } && ia32 } } }
+C { dg-do run { target { { i?86-*-* x86_64-*-* } && ia32 } } }
C { dg-options "-ffast-math -march=pentiumpro" }
double precision function foo(x, y)
diff --git a/gcc/testsuite/gfortran.dg/pr42246-2.f b/gcc/testsuite/gfortran.dg/pr42246-2.f
index 885e3a4..e8f18d2 100644
--- a/gcc/testsuite/gfortran.dg/pr42246-2.f
+++ b/gcc/testsuite/gfortran.dg/pr42246-2.f
@@ -1,5 +1,5 @@
C PR rtl-optimization/42246
-C { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } }
+C { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } }
C { dg-options "-O2 -fselective-scheduling -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops" }
subroutine distance(x,clo)
diff --git a/gcc/testsuite/gfortran.dg/pr42294.f b/gcc/testsuite/gfortran.dg/pr42294.f
index 9464379..b22bf45 100644
--- a/gcc/testsuite/gfortran.dg/pr42294.f
+++ b/gcc/testsuite/gfortran.dg/pr42294.f
@@ -1,5 +1,5 @@
C PR rtl-optimization/42294
-C { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } }
+C { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } }
C { dg-options "-O2 -fselective-scheduling2 -fsel-sched-pipelining -funroll-all-loops" }
SUBROUTINE ORIEN(IW,NATOT,NTOTORB,NATORB,P,T)
diff --git a/gcc/testsuite/gfortran.dg/pr44691.f b/gcc/testsuite/gfortran.dg/pr44691.f
index dc57c44..b256bd6 100644
--- a/gcc/testsuite/gfortran.dg/pr44691.f
+++ b/gcc/testsuite/gfortran.dg/pr44691.f
@@ -1,5 +1,5 @@
C PR rtl-optimization/44691
-C { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } }
+C { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } }
C { dg-options "-O2 -fselective-scheduling2" }
SUBROUTINE ORIEN(IW,NATOT,NTOTORB,NATORB,P,T)
diff --git a/gcc/testsuite/gfortran.dg/vect/pr45714-a.f b/gcc/testsuite/gfortran.dg/vect/pr45714-a.f
index dd99d1f..4800b41 100644
--- a/gcc/testsuite/gfortran.dg/vect/pr45714-a.f
+++ b/gcc/testsuite/gfortran.dg/vect/pr45714-a.f
@@ -1,4 +1,4 @@
-! { dg-do compile { target x86_64-*-* } }
+! { dg-do compile { target i?86-*-* x86_64-*-* } }
! { dg-options "-O3 -march=core2 -mavx -ffast-math -mveclibabi=svml" }
integer index(18),i,j,k,l,ipiv(18),info,ichange,neq,lda,ldb,
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 4398345..3361c2f 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -509,7 +509,7 @@ proc check_profiling_available { test_what } {
if {![info exists profiling_available_saved]} {
# Some targets don't have any implementation of __bb_init_func or are
# missing other needed machinery.
- if { [istarget aarch64*-*-elf]
+ if {[istarget aarch64*-*-elf]
|| [istarget am3*-*-linux*]
|| [istarget arm*-*-eabi*]
|| [istarget arm*-*-elf]
@@ -2097,11 +2097,10 @@ proc check_effective_target_vect_int { } {
verbose "check_effective_target_vect_int: using cached result" 2
} else {
set et_vect_int_saved 0
- if { [istarget i?86-*-*]
+ if { [istarget i?86-*-*] || [istarget x86_64-*-*]
|| ([istarget powerpc*-*-*]
&& ![istarget powerpc-*-linux*paired*])
|| [istarget spu-*-*]
- || [istarget x86_64-*-*]
|| [istarget sparc*-*-*]
|| [istarget alpha*-*-*]
|| [istarget ia64-*-*]
@@ -2127,10 +2126,9 @@ proc check_effective_target_vect_intfloat_cvt { } {
verbose "check_effective_target_vect_intfloat_cvt: using cached result" 2
} else {
set et_vect_intfloat_cvt_saved 0
- if { [istarget i?86-*-*]
+ if { [istarget i?86-*-*] || [istarget x86_64-*-*]
|| ([istarget powerpc*-*-*]
&& ![istarget powerpc-*-linux*paired*])
- || [istarget x86_64-*-*]
|| ([istarget arm*-*-*]
&& [check_effective_target_arm_neon_ok])} {
set et_vect_intfloat_cvt_saved 1
@@ -2165,10 +2163,9 @@ proc check_effective_target_vect_uintfloat_cvt { } {
verbose "check_effective_target_vect_uintfloat_cvt: using cached result" 2
} else {
set et_vect_uintfloat_cvt_saved 0
- if { [istarget i?86-*-*]
+ if { [istarget i?86-*-*] || [istarget x86_64-*-*]
|| ([istarget powerpc*-*-*]
&& ![istarget powerpc-*-linux*paired*])
- || [istarget x86_64-*-*]
|| [istarget aarch64*-*-*]
|| ([istarget arm*-*-*]
&& [check_effective_target_arm_neon_ok])} {
@@ -2191,10 +2188,9 @@ proc check_effective_target_vect_floatint_cvt { } {
verbose "check_effective_target_vect_floatint_cvt: using cached result" 2
} else {
set et_vect_floatint_cvt_saved 0
- if { [istarget i?86-*-*]
+ if { [istarget i?86-*-*] || [istarget x86_64-*-*]
|| ([istarget powerpc*-*-*]
&& ![istarget powerpc-*-linux*paired*])
- || [istarget x86_64-*-*]
|| ([istarget arm*-*-*]
&& [check_effective_target_arm_neon_ok])} {
set et_vect_floatint_cvt_saved 1
@@ -3323,8 +3319,7 @@ proc check_effective_target_vect_shift { } {
if { ([istarget powerpc*-*-*]
&& ![istarget powerpc-*-linux*paired*])
|| [istarget ia64-*-*]
- || [istarget i?86-*-*]
- || [istarget x86_64-*-*]
+ || [istarget i?86-*-*] || [istarget x86_64-*-*]
|| [istarget aarch64*-*-*]
|| [check_effective_target_arm32]
|| ([istarget mips*-*-*]
@@ -3338,7 +3333,7 @@ proc check_effective_target_vect_shift { } {
}
proc check_effective_target_whole_vector_shift { } {
- if { [istarget x86_64-*-*]
+ if { [istarget i?86-*-*] || [istarget x86_64-*-*]
|| [istarget ia64-*-*]
|| ([check_effective_target_arm32]
&& [check_effective_target_arm_little_endian])
@@ -3399,11 +3394,10 @@ proc check_effective_target_vect_shift_char { } {
# This can change for different subtargets so do not cache the result.
proc check_effective_target_vect_long { } {
- if { [istarget i?86-*-*]
+ if { [istarget i?86-*-*] || [istarget x86_64-*-*]
|| (([istarget powerpc*-*-*]
&& ![istarget powerpc-*-linux*paired*])
&& [check_effective_target_ilp32])
- || [istarget x86_64-*-*]
|| [check_effective_target_arm32]
|| ([istarget sparc*-*-*] && [check_effective_target_ilp32]) } {
set answer 1
@@ -3426,12 +3420,11 @@ proc check_effective_target_vect_float { } {
verbose "check_effective_target_vect_float: using cached result" 2
} else {
set et_vect_float_saved 0
- if { [istarget i?86-*-*]
+ if { [istarget i?86-*-*] || [istarget x86_64-*-*]
|| [istarget powerpc*-*-*]
|| [istarget spu-*-*]
|| [istarget mips-sde-elf]
|| [istarget mipsisa64*-*-*]
- || [istarget x86_64-*-*]
|| [istarget ia64-*-*]
|| [istarget aarch64*-*-*]
|| [check_effective_target_arm32] } {
@@ -3454,9 +3447,8 @@ proc check_effective_target_vect_double { } {
verbose "check_effective_target_vect_double: using cached result" 2
} else {
set et_vect_double_saved 0
- if { [istarget i?86-*-*]
- || [istarget aarch64*-*-*]
- || [istarget x86_64-*-*] } {
+ if { [istarget i?86-*-*] || [istarget x86_64-*-*]
+ || [istarget aarch64*-*-*] } {
if { [check_no_compiler_messages vect_double assembly {
#ifdef __tune_atom__
# error No double vectorizer support.
@@ -3486,8 +3478,7 @@ proc check_effective_target_vect_long_long { } {
verbose "check_effective_target_vect_long_long: using cached result" 2
} else {
set et_vect_long_long_saved 0
- if { [istarget i?86-*-*]
- || [istarget x86_64-*-*] } {
+ if { [istarget i?86-*-*] || [istarget x86_64-*-*] } {
set et_vect_long_long_saved 1
}
}
@@ -3575,8 +3566,7 @@ proc check_effective_target_vect_perm { } {
|| [istarget aarch64*-*-*]
|| [istarget powerpc*-*-*]
|| [istarget spu-*-*]
- || [istarget i?86-*-*]
- || [istarget x86_64-*-*]
+ || [istarget i?86-*-*] || [istarget x86_64-*-*]
|| ([istarget mips*-*-*]
&& [check_effective_target_mpaired_single]) } {
set et_vect_perm_saved 1
@@ -3780,8 +3770,7 @@ proc check_effective_target_vect_widen_mult_hi_to_si { } {
|| [istarget spu-*-*]
|| [istarget ia64-*-*]
|| [istarget aarch64*-*-*]
- || [istarget i?86-*-*]
- || [istarget x86_64-*-*]
+ || [istarget i?86-*-*] || [istarget x86_64-*-*]
|| ([istarget arm*-*-*] && [check_effective_target_arm_neon_ok]) } {
set et_vect_widen_mult_hi_to_si_saved 1
}
@@ -3828,8 +3817,7 @@ proc check_effective_target_vect_widen_mult_hi_to_si_pattern { } {
if { [istarget powerpc*-*-*]
|| [istarget spu-*-*]
|| [istarget ia64-*-*]
- || [istarget i?86-*-*]
- || [istarget x86_64-*-*]
+ || [istarget i?86-*-*] || [istarget x86_64-*-*]
|| ([istarget arm*-*-*]
&& [check_effective_target_arm_neon_ok]
&& [check_effective_target_arm_little_endian]) } {
@@ -3853,8 +3841,7 @@ proc check_effective_target_vect_widen_mult_si_to_di_pattern { } {
} else {
set et_vect_widen_mult_si_to_di_pattern_saved 0
if {[istarget ia64-*-*]
- || [istarget i?86-*-*]
- || [istarget x86_64-*-*] } {
+ || [istarget i?86-*-*] || [istarget x86_64-*-*] } {
set et_vect_widen_mult_si_to_di_pattern_saved 1
}
}
@@ -3937,8 +3924,7 @@ proc check_effective_target_vect_sdot_hi { } {
set et_vect_sdot_hi_saved 0
if { ([istarget powerpc*-*-*] && ![istarget powerpc-*-linux*paired*])
|| [istarget ia64-*-*]
- || [istarget i?86-*-*]
- || [istarget x86_64-*-*] } {
+ || [istarget i?86-*-*] || [istarget x86_64-*-*] } {
set et_vect_sdot_hi_saved 1
}
}
@@ -3978,8 +3964,7 @@ proc check_effective_target_vect_usad_char { } {
verbose "check_effective_target_vect_usad_char: using cached result" 2
} else {
set et_vect_usad_char_saved 0
- if { ([istarget i?86-*-*]
- || [istarget x86_64-*-*]) } {
+ if { ([istarget i?86-*-*] || [istarget x86_64-*-*]) } {
set et_vect_usad_char_saved 1
}
}
@@ -4001,8 +3986,7 @@ proc check_effective_target_vect_pack_trunc { } {
} else {
set et_vect_pack_trunc_saved 0
if { ([istarget powerpc*-*-*] && ![istarget powerpc-*-linux*paired*])
- || [istarget i?86-*-*]
- || [istarget x86_64-*-*]
+ || [istarget i?86-*-*] || [istarget x86_64-*-*]
|| [istarget aarch64*-*-*]
|| [istarget spu-*-*]
|| ([istarget arm*-*-*] && [check_effective_target_arm_neon_ok]
@@ -4027,8 +4011,7 @@ proc check_effective_target_vect_unpack { } {
} else {
set et_vect_unpack_saved 0
if { ([istarget powerpc*-*-*] && ![istarget powerpc-*paired*])
- || [istarget i?86-*-*]
- || [istarget x86_64-*-*]
+ || [istarget i?86-*-*] || [istarget x86_64-*-*]
|| [istarget spu-*-*]
|| [istarget ia64-*-*]
|| [istarget aarch64*-*-*]
@@ -4095,9 +4078,8 @@ proc check_effective_target_vect_hw_misalign { } {
verbose "check_effective_target_vect_hw_misalign: using cached result" 2
} else {
set et_vect_hw_misalign_saved 0
- if { ([istarget x86_64-*-*]
- || [istarget aarch64*-*-*]
- || [istarget i?86-*-*]) } {
+ if { [istarget i?86-*-*] || [istarget x86_64-*-*]
+ || [istarget aarch64*-*-*] } {
set et_vect_hw_misalign_saved 1
}
}
@@ -4269,9 +4251,8 @@ proc check_effective_target_vect_condition { } {
if { [istarget aarch64*-*-*]
|| [istarget powerpc*-*-*]
|| [istarget ia64-*-*]
- || [istarget i?86-*-*]
+ || [istarget i?86-*-*] || [istarget x86_64-*-*]
|| [istarget spu-*-*]
- || [istarget x86_64-*-*]
|| ([istarget arm*-*-*] && [check_effective_target_arm_neon_ok]) } {
set et_vect_cond_saved 1
}
@@ -4291,8 +4272,7 @@ proc check_effective_target_vect_cond_mixed { } {
verbose "check_effective_target_vect_cond_mixed: using cached result" 2
} else {
set et_vect_cond_mixed_saved 0
- if { [istarget i?86-*-*]
- || [istarget x86_64-*-*]
+ if { [istarget i?86-*-*] || [istarget x86_64-*-*]
|| [istarget powerpc*-*-*] } {
set et_vect_cond_mixed_saved 1
}
@@ -4313,8 +4293,7 @@ proc check_effective_target_vect_char_mult { } {
set et_vect_char_mult_saved 0
if { [istarget aarch64*-*-*]
|| [istarget ia64-*-*]
- || [istarget i?86-*-*]
- || [istarget x86_64-*-*]
+ || [istarget i?86-*-*] || [istarget x86_64-*-*]
|| [check_effective_target_arm32] } {
set et_vect_char_mult_saved 1
}
@@ -4335,8 +4314,7 @@ proc check_effective_target_vect_short_mult { } {
set et_vect_short_mult_saved 0
if { [istarget ia64-*-*]
|| [istarget spu-*-*]
- || [istarget i?86-*-*]
- || [istarget x86_64-*-*]
+ || [istarget i?86-*-*] || [istarget x86_64-*-*]
|| [istarget powerpc*-*-*]
|| [istarget aarch64*-*-*]
|| [check_effective_target_arm32]
@@ -4361,8 +4339,7 @@ proc check_effective_target_vect_int_mult { } {
set et_vect_int_mult_saved 0
if { ([istarget powerpc*-*-*] && ![istarget powerpc-*-linux*paired*])
|| [istarget spu-*-*]
- || [istarget i?86-*-*]
- || [istarget x86_64-*-*]
+ || [istarget i?86-*-*] || [istarget x86_64-*-*]
|| [istarget ia64-*-*]
|| [istarget aarch64*-*-*]
|| [check_effective_target_arm32] } {
@@ -4386,8 +4363,7 @@ proc check_effective_target_vect_extract_even_odd { } {
if { [istarget aarch64*-*-*]
|| [istarget powerpc*-*-*]
|| [is-effective-target arm_neon_ok]
- || [istarget i?86-*-*]
- || [istarget x86_64-*-*]
+ || [istarget i?86-*-*] || [istarget x86_64-*-*]
|| [istarget ia64-*-*]
|| [istarget spu-*-*]
|| ([istarget mips*-*-*]
@@ -4412,8 +4388,7 @@ proc check_effective_target_vect_interleave { } {
if { [istarget aarch64*-*-*]
|| [istarget powerpc*-*-*]
|| [is-effective-target arm_neon_ok]
- || [istarget i?86-*-*]
- || [istarget x86_64-*-*]
+ || [istarget i?86-*-*] || [istarget x86_64-*-*]
|| [istarget ia64-*-*]
|| [istarget spu-*-*]
|| ([istarget mips*-*-*]
@@ -4502,8 +4477,7 @@ proc check_effective_target_vect_call_copysignf { } {
verbose "check_effective_target_vect_call_copysignf: using cached result" 2
} else {
set et_vect_call_copysignf_saved 0
- if { [istarget i?86-*-*]
- || [istarget x86_64-*-*]
+ if { [istarget i?86-*-*] || [istarget x86_64-*-*]
|| [istarget powerpc*-*-*] } {
set et_vect_call_copysignf_saved 1
}
@@ -4523,8 +4497,7 @@ proc check_effective_target_vect_call_sqrtf { } {
} else {
set et_vect_call_sqrtf_saved 0
if { [istarget aarch64*-*-*]
- || [istarget i?86-*-*]
- || [istarget x86_64-*-*]
+ || [istarget i?86-*-*] || [istarget x86_64-*-*]
|| ([istarget powerpc*-*-*] && [check_vsx_hw_available]) } {
set et_vect_call_sqrtf_saved 1
}
@@ -4538,7 +4511,8 @@ proc check_effective_target_vect_call_sqrtf { } {
proc check_effective_target_vect_call_lrint { } {
set et_vect_call_lrint 0
- if { ([istarget i?86-*-*] || [istarget x86_64-*-*]) && [check_effective_target_ilp32] } {
+ if { ([istarget i?86-*-*] || [istarget x86_64-*-*])
+ && [check_effective_target_ilp32] } {
set et_vect_call_lrint 1
}
@@ -4820,8 +4794,7 @@ proc check_effective_target_sync_int_128_runtime { } {
# Note: 32bit x86 targets require -march=pentium in dg-options.
proc check_effective_target_sync_long_long { } {
- if { [istarget x86_64-*-*]
- || [istarget i?86-*-*])
+ if { [istarget x86_64-*-*] || [istarget i?86-*-*])
|| [istarget aarch64*-*-*]
|| [istarget arm*-*-*]
|| [istarget alpha*-*-*]
@@ -4838,8 +4811,7 @@ proc check_effective_target_sync_long_long { } {
# Note: 32bit x86 targets require -march=pentium in dg-options.
proc check_effective_target_sync_long_long_runtime { } {
- if { [istarget x86_64-*-*]
- || [istarget i?86-*-*] } {
+ if { [istarget x86_64-*-*] || [istarget i?86-*-*] } {
return [check_cached_effective_target sync_long_long_available {
check_runtime_nocache sync_long_long_available {
#include "cpuid.h"
@@ -4895,12 +4867,11 @@ proc check_effective_target_bswap { } {
if { [istarget aarch64-*-*]
|| [istarget alpha*-*-*]
|| [istarget arm*-*-*]
- || [istarget i?86-*-*]
+ || [istarget i?86-*-*] || [istarget x86_64-*-*]
|| [istarget m68k-*-*]
|| [istarget powerpc*-*-*]
|| [istarget rs6000-*-*]
- || [istarget s390*-*-*]
- || [istarget x86_64-*-*] } {
+ || [istarget s390*-*-*] } {
set et_bswap_saved 1
}
}
@@ -4920,8 +4891,7 @@ proc check_effective_target_bswap16 { } {
set et_bswap16_saved 0
if { [is-effective-target bswap]
&& ![istarget alpha*-*-*]
- && ![istarget i?86-*-*]
- && ![istarget x86_64-*-*] } {
+ && !([istarget i?86-*-*] || [istarget x86_64-*-*]) } {
set et_bswap16_saved 1
}
}
@@ -4979,8 +4949,7 @@ proc check_effective_target_sync_int_long { } {
# This is intentionally powerpc but not rs6000, rs6000 doesn't have the
# load-reserved/store-conditional instructions.
if { [istarget ia64-*-*]
- || [istarget i?86-*-*]
- || [istarget x86_64-*-*]
+ || [istarget i?86-*-*] || [istarget x86_64-*-*]
|| [istarget aarch64*-*-*]
|| [istarget alpha*-*-*]
|| [istarget arm*-*-linux-*]
@@ -5012,8 +4981,7 @@ proc check_effective_target_sync_char_short { } {
# load-reserved/store-conditional instructions.
if { [istarget aarch64*-*-*]
|| [istarget ia64-*-*]
- || [istarget i?86-*-*]
- || [istarget x86_64-*-*]
+ || [istarget i?86-*-*] || [istarget x86_64-*-*]
|| [istarget alpha*-*-*]
|| [istarget arm*-*-linux-*]
|| [istarget hppa*-*linux*]