* [PATCH] testsuite, rs6000: Remove some checks with aix[456]
@ 2024-05-08 6:36 Kewen.Lin
2024-05-08 14:54 ` David Edelsohn
0 siblings, 1 reply; 2+ messages in thread
From: Kewen.Lin @ 2024-05-08 6:36 UTC (permalink / raw)
To: GCC Patches; +Cc: Segher Boessenkool, David Edelsohn, Peter Bergner
Hi,
Since r12-75-g0745b6fa66c69c aix6 support had been dropped,
so we don't need to check for aix[456].* when testing, this
patch is to remove such checks.
Regtested on powerpc64-linux-gnu P8/P9 and
powerpc64le-linux-gnu P9 and P10.
I'm going to push this soon if no objections.
BR,
Kewen
-----
gcc/testsuite/ChangeLog:
* lib/target-supports.exp
(check_effective_target_powerpc_altivec_ok): Remove checks for
aix[456].*
(check_effective_target_powerpc_p9modulo_ok): Likewise.
(check_effective_target_powerpc_float128_sw_ok): Likewise.
(check_effective_target_powerpc_float128_hw_ok): Likewise.
(check_effective_target_powerpc_vsx_ok): Likewise.
---
gcc/testsuite/lib/target-supports.exp | 29 ---------------------------
1 file changed, 29 deletions(-)
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 3a55b2a4159..16dc2766850 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -6963,11 +6963,6 @@ proc check_effective_target_powerpc_altivec_ok { } {
# Paired Single, then not ok
if { [istarget powerpc-*-linux*paired*] } { return 0 }
- # AltiVec is not supported on AIX before 5.3.
- if { [istarget powerpc*-*-aix4*]
- || [istarget powerpc*-*-aix5.1*]
- || [istarget powerpc*-*-aix5.2*] } { return 0 }
-
# Return true iff compiling with -maltivec does not error.
return [check_no_compiler_messages powerpc_altivec_ok object {
int dummy;
@@ -6980,12 +6975,6 @@ proc check_effective_target_powerpc_p9modulo_ok { } {
if { ([istarget powerpc*-*-*]
&& ![istarget powerpc-*-linux*paired*])
|| [istarget rs6000-*-*] } {
- # AltiVec is not supported on AIX before 5.3.
- if { [istarget powerpc*-*-aix4*]
- || [istarget powerpc*-*-aix5.1*]
- || [istarget powerpc*-*-aix5.2*] } {
- return 0
- }
return [check_no_compiler_messages powerpc_p9modulo_ok object {
int main (void) {
int i = 5, j = 3, r = -1;
@@ -7116,12 +7105,6 @@ proc check_effective_target_powerpc_float128_sw_ok { } {
if { ([istarget powerpc*-*-*]
&& ![istarget powerpc-*-linux*paired*])
|| [istarget rs6000-*-*] } {
- # AltiVec is not supported on AIX before 5.3.
- if { [istarget powerpc*-*-aix4*]
- || [istarget powerpc*-*-aix5.1*]
- || [istarget powerpc*-*-aix5.2*] } {
- return 0
- }
# Darwin doesn't have VSX, so no soft support for float128.
if { [istarget *-*-darwin*] } {
return 0
@@ -7146,12 +7129,6 @@ proc check_effective_target_powerpc_float128_hw_ok { } {
if { ([istarget powerpc*-*-*]
&& ![istarget powerpc-*-linux*paired*])
|| [istarget rs6000-*-*] } {
- # AltiVec is not supported on AIX before 5.3.
- if { [istarget powerpc*-*-aix4*]
- || [istarget powerpc*-*-aix5.1*]
- || [istarget powerpc*-*-aix5.2*] } {
- return 0
- }
# Darwin doesn't run on any machine with float128 h/w so far.
if { [istarget *-*-darwin*] } {
return 0
@@ -7215,12 +7192,6 @@ proc check_effective_target_powerpc_vsx_ok { } {
if { ([istarget powerpc*-*-*]
&& ![istarget powerpc-*-linux*paired*])
|| [istarget rs6000-*-*] } {
- # VSX is not supported on AIX before 7.1.
- if { [istarget powerpc*-*-aix4*]
- || [istarget powerpc*-*-aix5*]
- || [istarget powerpc*-*-aix6*] } {
- return 0
- }
# Darwin doesn't have VSX, even if it's used with an assembler
# which recognises the insns.
if { [istarget *-*-darwin*] } {
--
2.39.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] testsuite, rs6000: Remove some checks with aix[456]
2024-05-08 6:36 [PATCH] testsuite, rs6000: Remove some checks with aix[456] Kewen.Lin
@ 2024-05-08 14:54 ` David Edelsohn
0 siblings, 0 replies; 2+ messages in thread
From: David Edelsohn @ 2024-05-08 14:54 UTC (permalink / raw)
To: Kewen.Lin; +Cc: GCC Patches, Segher Boessenkool, Peter Bergner
[-- Attachment #1: Type: text/plain, Size: 4181 bytes --]
On Wed, May 8, 2024 at 2:36 AM Kewen.Lin <linkw@linux.ibm.com> wrote:
> Hi,
>
> Since r12-75-g0745b6fa66c69c aix6 support had been dropped,
> so we don't need to check for aix[456].* when testing, this
> patch is to remove such checks.
>
> Regtested on powerpc64-linux-gnu P8/P9 and
> powerpc64le-linux-gnu P9 and P10.
>
Okay
>
> I'm going to push this soon if no objections.
>
> BR,
> Kewen
> -----
>
> gcc/testsuite/ChangeLog:
>
> * lib/target-supports.exp
> (check_effective_target_powerpc_altivec_ok): Remove checks for
> aix[456].*
> (check_effective_target_powerpc_p9modulo_ok): Likewise.
> (check_effective_target_powerpc_float128_sw_ok): Likewise.
> (check_effective_target_powerpc_float128_hw_ok): Likewise.
> (check_effective_target_powerpc_vsx_ok): Likewise.
> ---
> gcc/testsuite/lib/target-supports.exp | 29 ---------------------------
> 1 file changed, 29 deletions(-)
>
> diff --git a/gcc/testsuite/lib/target-supports.exp
> b/gcc/testsuite/lib/target-supports.exp
> index 3a55b2a4159..16dc2766850 100644
> --- a/gcc/testsuite/lib/target-supports.exp
> +++ b/gcc/testsuite/lib/target-supports.exp
> @@ -6963,11 +6963,6 @@ proc check_effective_target_powerpc_altivec_ok { } {
> # Paired Single, then not ok
> if { [istarget powerpc-*-linux*paired*] } { return 0 }
>
> - # AltiVec is not supported on AIX before 5.3.
> - if { [istarget powerpc*-*-aix4*]
> - || [istarget powerpc*-*-aix5.1*]
> - || [istarget powerpc*-*-aix5.2*] } { return 0 }
> -
> # Return true iff compiling with -maltivec does not error.
> return [check_no_compiler_messages powerpc_altivec_ok object {
> int dummy;
> @@ -6980,12 +6975,6 @@ proc check_effective_target_powerpc_p9modulo_ok { }
> {
> if { ([istarget powerpc*-*-*]
> && ![istarget powerpc-*-linux*paired*])
> || [istarget rs6000-*-*] } {
> - # AltiVec is not supported on AIX before 5.3.
> - if { [istarget powerpc*-*-aix4*]
> - || [istarget powerpc*-*-aix5.1*]
> - || [istarget powerpc*-*-aix5.2*] } {
> - return 0
> - }
> return [check_no_compiler_messages powerpc_p9modulo_ok object {
> int main (void) {
> int i = 5, j = 3, r = -1;
> @@ -7116,12 +7105,6 @@ proc check_effective_target_powerpc_float128_sw_ok
> { } {
> if { ([istarget powerpc*-*-*]
> && ![istarget powerpc-*-linux*paired*])
> || [istarget rs6000-*-*] } {
> - # AltiVec is not supported on AIX before 5.3.
> - if { [istarget powerpc*-*-aix4*]
> - || [istarget powerpc*-*-aix5.1*]
> - || [istarget powerpc*-*-aix5.2*] } {
> - return 0
> - }
> # Darwin doesn't have VSX, so no soft support for float128.
> if { [istarget *-*-darwin*] } {
> return 0
> @@ -7146,12 +7129,6 @@ proc check_effective_target_powerpc_float128_hw_ok
> { } {
> if { ([istarget powerpc*-*-*]
> && ![istarget powerpc-*-linux*paired*])
> || [istarget rs6000-*-*] } {
> - # AltiVec is not supported on AIX before 5.3.
> - if { [istarget powerpc*-*-aix4*]
> - || [istarget powerpc*-*-aix5.1*]
> - || [istarget powerpc*-*-aix5.2*] } {
> - return 0
> - }
> # Darwin doesn't run on any machine with float128 h/w so far.
> if { [istarget *-*-darwin*] } {
> return 0
> @@ -7215,12 +7192,6 @@ proc check_effective_target_powerpc_vsx_ok { } {
> if { ([istarget powerpc*-*-*]
> && ![istarget powerpc-*-linux*paired*])
> || [istarget rs6000-*-*] } {
> - # VSX is not supported on AIX before 7.1.
> - if { [istarget powerpc*-*-aix4*]
> - || [istarget powerpc*-*-aix5*]
> - || [istarget powerpc*-*-aix6*] } {
> - return 0
> - }
> # Darwin doesn't have VSX, even if it's used with an assembler
> # which recognises the insns.
> if { [istarget *-*-darwin*] } {
> --
> 2.39.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-08 14:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-08 6:36 [PATCH] testsuite, rs6000: Remove some checks with aix[456] Kewen.Lin
2024-05-08 14:54 ` David Edelsohn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).