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
This commit is contained in:
parent
969cc91571
commit
f07e929dd8
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue