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