lib/target-supports.exp (check_vmx_hw_available): Add -maltivec flag for AIX.
lib/target-supports.exp (check_vmx_hw_available): Add -maltivec flag for AIX. (check_effective_target_powerpc_altivec_ok): Only skip before AIX 5.3. From-SVN: r129349
This commit is contained in:
parent
c4a7942745
commit
fc632f6e0f
@ -1,3 +1,9 @@
|
||||
2007-10-15 David Edelsohn <edelsohn@gnu.org>
|
||||
|
||||
lib/target-supports.exp (check_vmx_hw_available): Add -maltivec
|
||||
flag for AIX.
|
||||
(check_effective_target_powerpc_altivec_ok): Only skip before AIX 5.3.
|
||||
|
||||
2007-10-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR libfortran/33055
|
||||
|
@ -943,7 +943,8 @@ proc check_vmx_hw_available { } {
|
||||
|
||||
# Most targets don't require special flags for this test case, but
|
||||
# Darwin does.
|
||||
if [istarget *-*-darwin*] {
|
||||
if { [istarget *-*-darwin*]
|
||||
|| [istarget *-*-aix*] } {
|
||||
set opts "additional_flags=-maltivec"
|
||||
} else {
|
||||
set opts ""
|
||||
@ -1620,8 +1621,10 @@ proc check_effective_target_powerpc_fprs { } {
|
||||
proc check_effective_target_powerpc_altivec_ok { } {
|
||||
if { [istarget powerpc*-*-*]
|
||||
|| [istarget rs6000-*-*] } {
|
||||
# AltiVec is not supported on Aix.
|
||||
if { [istarget powerpc*-*-aix*] } {
|
||||
# AltiVec is not supported on AIX before 5.3.
|
||||
if { [istarget powerpc*-*-aix4*]
|
||||
|| [istarget powerpc*-*-aix5.1*]
|
||||
|| [istarget powerpc*-*-aix5.2*] } {
|
||||
return 0
|
||||
}
|
||||
return [check_no_compiler_messages powerpc_altivec_ok object {
|
||||
|
Loading…
Reference in New Issue
Block a user