check loongson targets in vect.exp
From-SVN: r163495
This commit is contained in:
parent
e17683227d
commit
1991282b0e
@ -1,3 +1,9 @@
|
||||
2010-08-24 Mingjie Xing <mingjie.xing@gmail.com>
|
||||
|
||||
* gcc.dg/vect/vect.exp: Check loongson targets
|
||||
* g++.dg/vect/vect.exp: Likewise
|
||||
* gfortran.dg/vect/vect.exp: Likewise
|
||||
|
||||
2010-08-23 Michael Meissner <meissner@linux.vnet.ibm.com>
|
||||
|
||||
* gcc.target/powerpc/vsx-mass-1.c: New file, test
|
||||
|
@ -82,9 +82,12 @@ if [istarget "powerpc-*paired*"] {
|
||||
set dg-do-what-default compile
|
||||
}
|
||||
} elseif { [istarget "mips*-*-*"]
|
||||
&& [check_effective_target_mpaired_single]
|
||||
&& ([check_effective_target_mpaired_single]
|
||||
|| [check_effective_target_mips_loongson])
|
||||
&& [check_effective_target_nomips16] } {
|
||||
lappend DEFAULT_VECTCFLAGS "-mpaired-single"
|
||||
if { [check_effective_target_mpaired_single] } {
|
||||
lappend DEFAULT_VECTCFLAGS "-mpaired-single"
|
||||
}
|
||||
set dg-do-what-default run
|
||||
} elseif [istarget "sparc*-*-*"] {
|
||||
lappend DEFAULT_VECTCFLAGS "-mcpu=ultrasparc" "-mvis"
|
||||
|
@ -74,9 +74,12 @@ if [istarget "powerpc-*paired*"] {
|
||||
set dg-do-what-default compile
|
||||
}
|
||||
} elseif { [istarget "mips*-*-*"]
|
||||
&& [check_effective_target_mpaired_single]
|
||||
&& ([check_effective_target_mpaired_single]
|
||||
|| [check_effective_target_mips_loongson])
|
||||
&& [check_effective_target_nomips16] } {
|
||||
lappend DEFAULT_VECTCFLAGS "-mpaired-single"
|
||||
if { [check_effective_target_mpaired_single] } {
|
||||
lappend DEFAULT_VECTCFLAGS "-mpaired-single"
|
||||
}
|
||||
set dg-do-what-default run
|
||||
} elseif [istarget "sparc*-*-*"] {
|
||||
lappend DEFAULT_VECTCFLAGS "-mcpu=ultrasparc" "-mvis"
|
||||
|
@ -75,9 +75,12 @@ if [istarget "powerpc-*paired*"] {
|
||||
set dg-do-what-default compile
|
||||
}
|
||||
} elseif { [istarget "mips*-*-*"]
|
||||
&& [check_effective_target_mpaired_single]
|
||||
&& ([check_effective_target_mpaired_single]
|
||||
|| [check_effective_target_mips_loongson])
|
||||
&& [check_effective_target_nomips16] } {
|
||||
lappend DEFAULT_VECTCFLAGS "-mpaired-single"
|
||||
if { [check_effective_target_mpaired_single] } {
|
||||
lappend DEFAULT_VECTCFLAGS "-mpaired-single"
|
||||
}
|
||||
set dg-do-what-default run
|
||||
} elseif [istarget "sparc*-*-*"] {
|
||||
lappend DEFAULT_VECTCFLAGS "-mcpu=ultrasparc" "-mvis"
|
||||
|
Loading…
Reference in New Issue
Block a user