Commit 1991282b by Mingjie Xing Committed by Mingjie Xing

check loongson targets in vect.exp

From-SVN: r163495
parent e1768322
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] } {
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] } {
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] } {
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"
......
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