From: H.J. Lu Date: Mon, 11 Jul 2011 13:29:29 +0000 (+0000) Subject: Check ia32 effective target. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f07e929dd8f68f5328cb6f4ec46e6d8897447a7a;p=gcc.git Check ia32 effective target. 2011-07-11 H.J. Lu * 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e87be0dc150..9e197815c6c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2011-07-11 H.J. Lu + + * 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 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 a11aa3be212..1a22e7dbcae 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 f0285a25cff..f5f2e60bbc3 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"