aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKewen Lin <linkw@linux.ibm.com>2024-08-21 00:26:20 -0500
committerKewen Lin <linkw@gcc.gnu.org>2024-08-21 00:26:20 -0500
commit118a7241f4fe7132cfd7b028ffd5ad39056ec601 (patch)
treebc9d6f116564bff6bd0437f82b2798cb0fa69595 /gcc
parentbb42c551905024ea23095a0eb7b58fdbcfbcaef6 (diff)
downloadgcc-118a7241f4fe7132cfd7b028ffd5ad39056ec601.zip
gcc-118a7241f4fe7132cfd7b028ffd5ad39056ec601.tar.gz
gcc-118a7241f4fe7132cfd7b028ffd5ad39056ec601.tar.bz2
testsuite, rs6000: Remove all powerpc-*paired* uses
Similar to r15-710-g458b23bc8b3e2b which removed all uses of powerpc-*-linux*paired*, this patch is to remove the remaining powerpc-*paired* uses which I missed to catch with "*linux*" in search keyword. gcc/testsuite/ChangeLog: * lib/target-supports.exp (check_vect_support_and_set_flags): Remove the if arm checking powerpc-*paired*. (check_750cl_hw_available): Remove. (check_effective_target_vect_unpack): Remove the check on powerpc-*paired*.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/lib/target-supports.exp35
1 files changed, 2 insertions, 33 deletions
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 11ba77c..91995bf 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -2848,30 +2848,6 @@ proc check_ppc_cpu_supports_hw_available { } {
}]
}
-# Return 1 if the target supports executing 750CL paired-single instructions, 0
-# otherwise. Cache the result.
-
-proc check_750cl_hw_available { } {
- return [check_cached_effective_target 750cl_hw_available {
- # If this is not the right target then we can skip the test.
- if { ![istarget powerpc-*paired*] } {
- expr 0
- } else {
- check_runtime_nocache 750cl_hw_available {
- int main()
- {
- #ifdef __MACH__
- asm volatile ("ps_mul v0,v0,v0");
- #else
- asm volatile ("ps_mul 0,0,0");
- #endif
- return 0;
- }
- } "-mpaired"
- }
- }]
-}
-
# Return 1 if the target supports executing power8 vector instructions, 0
# otherwise. Cache the result.
@@ -8329,7 +8305,7 @@ proc check_effective_target_vect_pack_trunc { } {
proc check_effective_target_vect_unpack { } {
return [check_cached_effective_target_indexed vect_unpack {
- expr { ([istarget powerpc*-*-*] && ![istarget powerpc-*paired*])
+ expr { [istarget powerpc*-*-*]
|| [istarget i?86-*-*] || [istarget x86_64-*-*]
|| [istarget ia64-*-*]
|| [istarget aarch64*-*-*]
@@ -11702,14 +11678,7 @@ proc check_vect_support_and_set_flags { } {
global dg-do-what-default
global EFFECTIVE_TARGETS
- if [istarget powerpc-*paired*] {
- lappend DEFAULT_VECTCFLAGS "-mpaired"
- if [check_750cl_hw_available] {
- set dg-do-what-default run
- } else {
- set dg-do-what-default compile
- }
- } elseif [istarget powerpc*-*-*] {
+ if [istarget powerpc*-*-*] {
# Skip targets not supporting -maltivec.
if ![is-effective-target powerpc_altivec_ok] {
return 0