check loongson targets in vect.exp

From-SVN: r163495
This commit is contained in:
Mingjie Xing 2010-08-24 03:22:07 +00:00 committed by Mingjie Xing
parent e17683227d
commit 1991282b0e
4 changed files with 21 additions and 6 deletions

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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"