deleted file mode 100644
@@ -1,33 +0,0 @@
-/* { dg-do compile { target { powerpc-*-linux*paired* && ilp32} } } */
-/* { dg-options "-mpaired -ffinite-math-only " } */
-
-/* Test PowerPC PAIRED extensions. */
-
-#include <paired.h>
-
-static float in1[2] __attribute__ ((aligned (8))) =
-{6.0, 7.0};
-static float in2[2] __attribute__ ((aligned (8))) =
-{4.0, 3.0};
-
-static float out[2] __attribute__ ((aligned (8)));
-
-vector float a, b, c, d;
-void
-test_api ()
-{
- b = paired_lx (0, in1);
- c = paired_lx (0, in2);
-
- a = paired_sub (b, c);
-
- paired_stx (a, 0, out);
-}
-
-int
-main ()
-{
- test_api ();
- return (0);
-}
-
deleted file mode 100644
@@ -1,25 +0,0 @@
-/* { dg-do compile { target { powerpc-*-linux*paired* && ilp32 } } } */
-/* { dg-options "-mpaired -ffinite-math-only " } */
-
-/* Test PowerPC PAIRED extensions. */
-
-#include <paired.h>
-
-static float out[2] __attribute__ ((aligned (8)));
-void
-test_api (float y, float x)
-{
- vector float c = {x, y};
- vector float b = {0.0, 8.0};
- vector float a;
-
- a = paired_sub (b, c);
- paired_stx (a, 0, out);
-}
-
-
-int main ()
-{
- test_api (6, 7);
- return (0);
-}
deleted file mode 100644
@@ -1,35 +0,0 @@
-/* { dg-do compile { target { powerpc-*-linux*paired* && ilp32 } } } */
-/* { dg-options "-mpaired -ffinite-math-only" } */
-
-/* Test PowerPC PAIRED extensions. */
-
-#include <paired.h>
-#include <stdlib.h>
-
-static float out[2] __attribute__ ((aligned (8)));
-
-vector float b = { 3.0, 8.0 };
-vector float c = { 3.0, 5.0 };
-
-vector float a = { 0.0, 0.0 };
-void
-test_api ()
-{
-
- if (paired_cmpu0_eq (b, c))
- {
- a = paired_sub (b, c);
- paired_stx (a, 0, out);
- }
-
- if ((out[1]) != 3.0)
- abort ();
-}
-
-int
-main ()
-{
- test_api ();
- return (0);
-}
-
deleted file mode 100644
@@ -1,34 +0,0 @@
-/* { dg-do compile { target { powerpc-*-linux*paired* && ilp32 } } } */
-/* { dg-options "-mpaired -ffinite-math-only" } */
-
-/* Test PowerPC PAIRED extensions. */
-
-#include <paired.h>
-#include <stdlib.h>
-
-static float out[2] __attribute__ ((aligned (8)));
-
-vector float b = { 2.0, 8.0 };
-vector float c = { 3.0, 5.0 };
-
-vector float a = { 0.0, 0.0 };
-void
-test_api ()
-{
-
- if (paired_cmpu0_lt (b, c))
- {
- a = paired_add (b, c);
- paired_stx (a, 0, out);
- }
- if ((out[0] != 5.0) || (out[1] != 13.0))
- abort ();
-}
-
-int
-main ()
-{
- test_api ();
- return (0);
-}
-
deleted file mode 100644
@@ -1,34 +0,0 @@
-/* { dg-do compile { target { powerpc-*-linux*paired* && ilp32 } } } */
-/* { dg-options "-mpaired -ffinite-math-only" } */
-
-/* Test PowerPC PAIRED extensions. */
-
-#include <paired.h>
-#include <stdlib.h>
-
-static float out[2] __attribute__ ((aligned (8)));
-
-vector float b = { 3.0, 8.0 };
-vector float c = { 2.0, 5.0 };
-
-vector float a = { 0.0, 0.0 };
-void
-test_api ()
-{
-
- if (paired_cmpu0_gt (b, c))
- {
- a = paired_add (b, c);
- paired_stx (a, 0, out);
- }
- if ((out[0] != 5.0) || (out[1] != 13.0))
- abort ();
-}
-
-int
-main ()
-{
- test_api ();
- return (0);
-}
-
deleted file mode 100644
@@ -1,34 +0,0 @@
-/* { dg-do compile { target { powerpc-*-linux*paired* && ilp32 } } } */
-/* { dg-options "-mpaired -ffinite-math-only" } */
-
-/* Test PowerPC PAIRED extensions. */
-
-#include <paired.h>
-#include <stdlib.h>
-
-static float out[2] __attribute__ ((aligned (8)));
-
-vector float b = { 3.0, 5.0 };
-vector float c = { 2.0, 5.0 };
-
-vector float a = { 0.0, 0.0 };
-void
-test_api ()
-{
-
- if (paired_cmpu1_eq (b, c))
- {
- a = paired_add (b, c);
- paired_stx (a, 0, out);
- }
- if ((out[0] != 5.0) || (out[1] != 10.0))
- abort ();
-}
-
-int
-main ()
-{
- test_api ();
- return (0);
-}
-
deleted file mode 100644
@@ -1,34 +0,0 @@
-/* { dg-do compile { target { powerpc-*-linux*paired* && ilp32 } } } */
-/* { dg-options "-mpaired -ffinite-math-only" } */
-
-/* Test PowerPC PAIRED extensions. */
-
-#include <paired.h>
-#include <stdlib.h>
-
-static float out[2] __attribute__ ((aligned (8)));
-
-vector float b = { 3.0, 5.0 };
-vector float c = { 2.0, 6.0 };
-
-vector float a = { 0.0, 0.0 };
-void
-test_api ()
-{
-
- if (paired_cmpu1_lt (b, c))
- {
- a = paired_add (b, c);
- paired_stx (a, 0, out);
- }
- if ((out[0] != 5.0) || (out[1] != 11.0))
- abort ();
-}
-
-int
-main ()
-{
- test_api ();
- return (0);
-}
-
deleted file mode 100644
@@ -1,34 +0,0 @@
-/* { dg-do compile { target { powerpc-*-linux*paired* && ilp32 } } } */
-/* { dg-options "-mpaired -ffinite-math-only" } */
-
-/* Test PowerPC PAIRED extensions. */
-
-#include <paired.h>
-#include <stdlib.h>
-
-static float out[2] __attribute__ ((aligned (8)));
-
-vector float b = { 2.0, 8.0 };
-vector float c = { 3.0, 6.0 };
-
-vector float a = { 0.0, 0.0 };
-void
-test_api ()
-{
-
- if (paired_cmpu1_gt (b, c))
- {
- a = paired_add (b, c);
- paired_stx (a, 0, out);
- }
- if ((out[0] != 5.0) || (out[1] != 14.0))
- abort ();
-}
-
-int
-main ()
-{
- test_api ();
- return (0);
-}
-
deleted file mode 100644
@@ -1,25 +0,0 @@
-/* { dg-do compile { target { powerpc-*-linux*paired* && ilp32 } } } */
-/* { dg-options "-mpaired -ffinite-math-only " } */
-
-/* Test PowerPC PAIRED extensions. */
-
-#include <paired.h>
-
-static float out[2] __attribute__ ((aligned (8)));
-void
-test_api (float x)
-{
- vector float c = {x, x};
- vector float b = {60.0, 88.0};
- vector float a;
-
- a = paired_sub (b, c);
- paired_stx (a, 0, out);
-}
-
-
-int main ()
-{
- test_api (6);
- return (0);
-}
deleted file mode 100644
@@ -1,25 +0,0 @@
-/* { dg-do compile { target { powerpc-*-linux*paired* && ilp32 } } } */
-/* { dg-options "-mpaired -ffinite-math-only " } */
-
-/* Test PowerPC PAIRED extensions. */
-
-#include <paired.h>
-
-static float out[2] __attribute__ ((aligned (8)));
-void
-test_api (float y, float x)
-{
- vector float c = {x, 7.0};
- vector float b = {0.0, 8.0};
- vector float a;
-
- a = paired_sub (b, c);
- paired_stx (a, 0, out);
-}
-
-
-int main ()
-{
- test_api (6, 7);
- return (0);
-}
deleted file mode 100644
@@ -1,45 +0,0 @@
-/* { dg-do compile { target { powerpc-*-linux*paired* && ilp32 } } } */
-/* { dg-options "-mpaired -ffinite-math-only" } */
-
-/* Test PowerPC PAIRED extensions. */
-
-#include <paired.h>
-
-vector float a, b, c, d;
-
-void
-test_api ()
-{
- b = paired_msub (b, c, d);
- b = paired_madd (b, c, d);
- b = paired_nmadd (b, c, d);
- b = paired_nmsub (b, c, d);
- b = paired_sum0 (a, b, c);
- b = paired_sum1 (a, b, c);
- b = paired_div (b, c);
- b = paired_add (a, c);
- b = paired_sub (a, c);
- b = paired_mul (a, c);
- b = paired_neg (a);
- b = paired_muls0 (a, c);
- b = paired_muls1 (a, c);
- b = paired_madds0 (a, c, d);
- b = paired_madds1 (a, c, d);
- b = paired_merge00 (a, c);
- b = paired_merge01 (a, c);
- b = paired_merge10 (a, c);
- b = paired_merge11 (a, c);
- b = paired_abs (a);
- b = paired_nabs (a);
- b = paired_sqrt (a);
- b = paired_res (a);
- b = paired_sel (a, b, c);
-}
-
-int
-main (void)
-{
- test_api ();
- return 0;
-}
-
@@ -4053,8 +4053,7 @@ proc check_effective_target_vect_int { } {
return [check_cached_effective_target_indexed vect_int {
expr {
[istarget i?86-*-*] || [istarget x86_64-*-*]
- || ([istarget powerpc*-*-*]
- && ![istarget powerpc-*-linux*paired*])
+ || [istarget powerpc*-*-*]
|| [istarget amdgcn-*-*]
|| [istarget sparc*-*-*]
|| [istarget alpha*-*-*]
@@ -4237,8 +4236,7 @@ proc check_effective_target_vect_complex_add_double { } {
proc check_effective_target_vect_intfloat_cvt { } {
return [check_cached_effective_target_indexed vect_intfloat_cvt {
expr { [istarget i?86-*-*] || [istarget x86_64-*-*]
- || ([istarget powerpc*-*-*]
- && ![istarget powerpc-*-linux*paired*])
+ || [istarget powerpc*-*-*]
|| [is-effective-target arm_neon]
|| ([istarget mips*-*-*]
&& [et-is-effective-target mips_msa])
@@ -4317,8 +4315,7 @@ proc check_effective_target_int128 { } {
proc check_effective_target_vect_uintfloat_cvt { } {
return [check_cached_effective_target_indexed vect_uintfloat_cvt {
expr { [istarget i?86-*-*] || [istarget x86_64-*-*]
- || ([istarget powerpc*-*-*]
- && ![istarget powerpc-*-linux*paired*])
+ || [istarget powerpc*-*-*]
|| [istarget aarch64*-*-*]
|| [is-effective-target arm_neon]
|| ([istarget mips*-*-*]
@@ -4339,8 +4336,7 @@ proc check_effective_target_vect_uintfloat_cvt { } {
proc check_effective_target_vect_floatint_cvt { } {
return [check_cached_effective_target_indexed vect_floatint_cvt {
expr { [istarget i?86-*-*] || [istarget x86_64-*-*]
- || ([istarget powerpc*-*-*]
- && ![istarget powerpc-*-linux*paired*])
+ || [istarget powerpc*-*-*]
|| [is-effective-target arm_neon]
|| ([istarget mips*-*-*]
&& [et-is-effective-target mips_msa])
@@ -4358,8 +4354,7 @@ proc check_effective_target_vect_floatint_cvt { } {
proc check_effective_target_vect_floatuint_cvt { } {
return [check_cached_effective_target_indexed vect_floatuint_cvt {
- expr { ([istarget powerpc*-*-*]
- && ![istarget powerpc-*-linux*paired*])
+ expr { [istarget powerpc*-*-*]
|| [is-effective-target arm_neon]
|| ([istarget mips*-*-*]
&& [et-is-effective-target mips_msa])
@@ -6940,9 +6935,6 @@ proc check_effective_target_powerpc_altivec_ok { } {
# Not PowerPC, then not ok
if { !([istarget powerpc*-*-*] || [istarget rs6000-*-*]) } { return 0 }
- # Paired Single, then not ok
- if { [istarget powerpc-*-linux*paired*] } { return 0 }
-
# Return true iff compiling with -maltivec does not error.
return [check_no_compiler_messages powerpc_altivec_ok object {
int dummy;
@@ -6952,8 +6944,7 @@ proc check_effective_target_powerpc_altivec_ok { } {
# Return 1 if this is a PowerPC target supporting -mmodulo
proc check_effective_target_powerpc_p9modulo_ok { } {
- if { ([istarget powerpc*-*-*]
- && ![istarget powerpc-*-linux*paired*])
+ if { [istarget powerpc*-*-*]
|| [istarget rs6000-*-*] } {
return [check_no_compiler_messages powerpc_p9modulo_ok object {
int main (void) {
@@ -7082,8 +7073,7 @@ proc check_effective_target_power10_ok { } {
# software emulation on power7/power8 systems or hardware support on power9.
proc check_effective_target_powerpc_float128_sw_ok { } {
- if { ([istarget powerpc*-*-*]
- && ![istarget powerpc-*-linux*paired*])
+ if { [istarget powerpc*-*-*]
|| [istarget rs6000-*-*] } {
# Darwin doesn't have VSX, so no soft support for float128.
if { [istarget *-*-darwin*] } {
@@ -7106,8 +7096,7 @@ proc check_effective_target_powerpc_float128_sw_ok { } {
# support on power9.
proc check_effective_target_powerpc_float128_hw_ok { } {
- if { ([istarget powerpc*-*-*]
- && ![istarget powerpc-*-linux*paired*])
+ if { [istarget powerpc*-*-*]
|| [istarget rs6000-*-*] } {
# Darwin doesn't run on any machine with float128 h/w so far.
if { [istarget *-*-darwin*] } {
@@ -7169,8 +7158,7 @@ proc check_effective_target_powerpc_vsx { } {
# Return 1 if this is a PowerPC target supporting -mvsx
proc check_effective_target_powerpc_vsx_ok { } {
- if { ([istarget powerpc*-*-*]
- && ![istarget powerpc-*-linux*paired*])
+ if { [istarget powerpc*-*-*]
|| [istarget rs6000-*-*] } {
# Darwin doesn't have VSX, even if it's used with an assembler
# which recognises the insns.
@@ -7191,8 +7179,7 @@ proc check_effective_target_powerpc_vsx_ok { } {
# Return 1 if this is a PowerPC target supporting -mhtm
proc check_effective_target_powerpc_htm_ok { } {
- if { ([istarget powerpc*-*-*]
- && ![istarget powerpc-*-linux*paired*])
+ if { [istarget powerpc*-*-*]
|| [istarget rs6000-*-*] } {
# HTM is not supported on AIX yet.
if { [istarget powerpc*-*-aix*] } {
@@ -7408,8 +7395,7 @@ proc check_effective_target_sparc_vis { } {
proc check_effective_target_vect_shift { } {
return [check_cached_effective_target_indexed vect_shift {
- expr {([istarget powerpc*-*-*]
- && ![istarget powerpc-*-linux*paired*])
+ expr {[istarget powerpc*-*-*]
|| [istarget ia64-*-*]
|| [istarget i?86-*-*] || [istarget x86_64-*-*]
|| [istarget aarch64*-*-*]
@@ -7498,8 +7484,7 @@ proc check_effective_target_vect_char_add { } {
return [check_cached_effective_target_indexed vect_char_add {
expr {
[istarget i?86-*-*] || [istarget x86_64-*-*]
- || ([istarget powerpc*-*-*]
- && ![istarget powerpc-*-linux*paired*])
+ || [istarget powerpc*-*-*]
|| [istarget amdgcn-*-*]
|| [istarget ia64-*-*]
|| [istarget aarch64*-*-*]
@@ -7520,8 +7505,7 @@ proc check_effective_target_vect_char_add { } {
proc check_effective_target_vect_shift_char { } {
return [check_cached_effective_target_indexed vect_shift_char {
- expr { ([istarget powerpc*-*-*]
- && ![istarget powerpc-*-linux*paired*])
+ expr { [istarget powerpc*-*-*]
|| [is-effective-target arm_neon]
|| ([istarget mips*-*-*]
&& [et-is-effective-target mips_msa])
@@ -7540,9 +7524,8 @@ proc check_effective_target_vect_shift_char { } {
proc check_effective_target_vect_long { } {
if { [istarget i?86-*-*] || [istarget x86_64-*-*]
- || (([istarget powerpc*-*-*]
- && ![istarget powerpc-*-linux*paired*])
- && [check_effective_target_ilp32])
+ || ([istarget powerpc*-*-*]
+ && [check_effective_target_ilp32])
|| [is-effective-target arm_neon]
|| ([istarget sparc*-*-*] && [check_effective_target_ilp32])
|| [istarget aarch64*-*-*]
@@ -7643,7 +7626,6 @@ proc check_effective_target_vect_long_long { } {
|| ([istarget s390*-*-*]
&& [check_effective_target_s390_vx])
|| ([istarget powerpc*-*-*]
- && ![istarget powerpc-*-linux*paired*]
&& [check_effective_target_has_arch_pwr8])
|| [istarget aarch64*-*-*]
|| ([istarget riscv*-*-*]
@@ -7871,8 +7853,7 @@ proc check_effective_target_ifn_copysign { } {
&& [is-effective-target sse])
|| ([istarget loongarch*-*-*]
&& [check_effective_target_hard_float])
- || ([istarget powerpc*-*-*]
- && ![istarget powerpc-*-linux*paired*])
+ || [istarget powerpc*-*-*]
|| [istarget alpha*-*-*]
|| [istarget aarch64*-*-*]
|| [is-effective-target arm_neon]
@@ -8102,7 +8083,7 @@ proc check_effective_target_vect_usdot_qi { } {
proc check_effective_target_vect_sdot_hi { } {
return [check_cached_effective_target_indexed vect_sdot_hi {
- expr { ([istarget powerpc*-*-*] && ![istarget powerpc-*-linux*paired*])
+ expr { [istarget powerpc*-*-*]
|| [istarget ia64-*-*]
|| [istarget i?86-*-*] || [istarget x86_64-*-*]
|| ([istarget mips*-*-*]
@@ -8120,7 +8101,7 @@ proc check_effective_target_vect_sdot_hi { } {
proc check_effective_target_vect_udot_hi { } {
return [check_cached_effective_target_indexed vect_udot_hi {
- expr { ([istarget powerpc*-*-*] && ![istarget powerpc-*-linux*paired*])
+ expr { [istarget powerpc*-*-*]
|| ([istarget mips*-*-*]
&& [et-is-effective-target mips_msa])
|| ([istarget riscv*-*-*]
@@ -8185,7 +8166,7 @@ proc check_effective_target_vect_sdiv_pow2_si {} {
proc check_effective_target_vect_pack_trunc { } {
return [check_cached_effective_target_indexed vect_pack_trunc {
- expr { ([istarget powerpc*-*-*] && ![istarget powerpc-*-linux*paired*])
+ expr { [istarget powerpc*-*-*]
|| [istarget i?86-*-*] || [istarget x86_64-*-*]
|| [istarget aarch64*-*-*]
|| ([istarget arm*-*-*] && [check_effective_target_arm_neon_ok]
@@ -8974,7 +8955,7 @@ proc check_effective_target_vect_short_mult { } {
proc check_effective_target_vect_int_mult { } {
return [check_cached_effective_target_indexed vect_int_mult {
- expr { ([istarget powerpc*-*-*] && ![istarget powerpc-*-linux*paired*])
+ expr { [istarget powerpc*-*-*]
|| [istarget i?86-*-*] || [istarget x86_64-*-*]
|| [istarget ia64-*-*]
|| [istarget aarch64*-*-*]