Check ia32 effective target.
authorH.J. Lu <hongjiu.lu@intel.com>
Mon, 11 Jul 2011 13:29:29 +0000 (13:29 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Mon, 11 Jul 2011 13:29:29 +0000 (06:29 -0700)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/costmodel/x86_64/x86_64-costmodel-vect.exp
gcc/testsuite/go.test/go-test.exp

index e87be0dc15070257358572f0b9714dbea7ee3536..9e197815c6c6e36a716027d7a072ef96f2337dd4 100644 (file)
@@ -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
index a11aa3be21273c9a93dfcef6147b5bf22455a45e..1a22e7dbcae12a71956f8d5716940ea69f969daf 100644 (file)
@@ -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
 }
 
index f0285a25cffa4425e10487d0bc3f8b4c052d2d7d..f5f2e60bbc36deccb8183b2146be2efbe587df4a 100644 (file)
@@ -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"