diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2011-07-11 13:29:29 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2011-07-11 06:29:29 -0700 |
commit | f07e929dd8f68f5328cb6f4ec46e6d8897447a7a (patch) | |
tree | 968168d4c397c1e5814324a8988974281616d414 | |
parent | 969cc915711cdf2bd9b3e20c9e2fd20df10daf4a (diff) | |
download | gcc-f07e929dd8f68f5328cb6f4ec46e6d8897447a7a.zip gcc-f07e929dd8f68f5328cb6f4ec46e6d8897447a7a.tar.gz gcc-f07e929dd8f68f5328cb6f4ec46e6d8897447a7a.tar.bz2 |
Check ia32 effective target.
2011-07-11 H.J. Lu <hongjiu.lu@intel.com>
* gcc.dg/vect/costmodel/x86_64/x86_64-costmodel-vect.exp: Check
ia32.
* go.test/go-test.exp (go-set-goarch): Likewise.
From-SVN: r176153
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/vect/costmodel/x86_64/x86_64-costmodel-vect.exp | 2 | ||||
-rw-r--r-- | gcc/testsuite/go.test/go-test.exp | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e87be0d..9e19781 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2011-07-11 H.J. Lu <hongjiu.lu@intel.com> + + * gcc.dg/vect/costmodel/x86_64/x86_64-costmodel-vect.exp: Check + ia32. + * go.test/go-test.exp (go-set-goarch): Likewise. + 2011-07-11 Georg-Johann Lay <avr@gjlay.de> PR target/39633 diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/x86_64/x86_64-costmodel-vect.exp b/gcc/testsuite/gcc.dg/vect/costmodel/x86_64/x86_64-costmodel-vect.exp index a11aa3b..1a22e7d 100644 --- a/gcc/testsuite/gcc.dg/vect/costmodel/x86_64/x86_64-costmodel-vect.exp +++ b/gcc/testsuite/gcc.dg/vect/costmodel/x86_64/x86_64-costmodel-vect.exp @@ -22,7 +22,7 @@ load_lib gcc-dg.exp # Exit immediately if this isn't a x86 target. if { (![istarget x86_64-*-*] && ![istarget i?86-*-*]) - || (![is-effective-target x32] && ![is-effective-target lp64]) } then { + || [is-effective-target ia32] } then { return } diff --git a/gcc/testsuite/go.test/go-test.exp b/gcc/testsuite/go.test/go-test.exp index f0285a2..f5f2e60 100644 --- a/gcc/testsuite/go.test/go-test.exp +++ b/gcc/testsuite/go.test/go-test.exp @@ -134,7 +134,7 @@ proc go-set-goarch { } { } "i?86-*-*" - "x86_64-*-*" { - if [check_effective_target_ilp32] { + if [check_effective_target_ia32] { set goarch "386" } else { set goarch "amd64" |