Commit f470b1e5 by Janis Johnson Committed by Janis Johnson

target-supports.exp (check_effective_target_vect_long): Fix for powerpc64-*-*.

	* lib/target-supports.exp (check_effective_target_vect_long):
	Fix for powerpc64-*-*.

From-SVN: r91540
parent 62f4e23f
2004-11-30 Janis Johnson <janis187@us.ibm.com>
* lib/target-supports.exp (check_effective_target_vect_long):
Fix for powerpc64-*-*.
2004-11-30 Loren James Rittle <ljrittle@acm.org> 2004-11-30 Loren James Rittle <ljrittle@acm.org>
* g++.old-deja/g++.eh/badalloc1.C (arena_size): Bump up to 262144 * g++.old-deja/g++.eh/badalloc1.C (arena_size): Bump up to 262144
......
...@@ -458,25 +458,20 @@ proc check_effective_target_vect_int { } { ...@@ -458,25 +458,20 @@ proc check_effective_target_vect_int { } {
# Return 1 if the target supports hardware vectors of long, 0 otherwise. # Return 1 if the target supports hardware vectors of long, 0 otherwise.
# #
# This won't change for different subtargets so cache the result. # This can change for different subtargets so do not cache the result.
proc check_effective_target_vect_long { } { proc check_effective_target_vect_long { } {
global et_vect_long_saved if { [istarget i?86-*-*]
|| ([istarget powerpc*-*-*] && [check_effective_target_ilp32])
if [info exists et_vect_long_saved] { || [istarget x86_64-*-*]
verbose "check_effective_target_vect_long: using cached result" 2 || ([istarget sparc*-*-*] && [check_effective_target_ilp32]) } {
set answer 1
} else { } else {
set et_vect_long_saved 0 set answer 0
if { [istarget i?86-*-*]
|| [istarget powerpc*-*-*]
|| [istarget x86_64-*-*]
|| ([istarget sparc*-*-*] && [check_effective_target_ilp32]) } {
set et_vect_long_saved 1
}
} }
verbose "check_effective_target_vect_long: returning $et_vect_long_saved" 2 verbose "check_effective_target_vect_long: returning $answer" 2
return $et_vect_long_saved return $answer
} }
# Return 1 if the target supports hardware vectors of float, 0 otherwise. # Return 1 if the target supports hardware vectors of float, 0 otherwise.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment