public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r10-8490] rs6000: clean up testsuite power10_hw check
@ 2020-07-13 21:33 Aaron Sawdey
  0 siblings, 0 replies; only message in thread
From: Aaron Sawdey @ 2020-07-13 21:33 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:d6e9f27f74711de810ae8d5b02095457d5736d73

commit r10-8490-gd6e9f27f74711de810ae8d5b02095457d5736d73
Author: Aaron Sawdey <acsawdey@linux.ibm.com>
Date:   Mon Jul 13 16:19:33 2020 -0500

    rs6000: clean up testsuite power10_hw check
    
    Because the check for power10_hw is not called
    check_effective_target_power10_hw, it needs to be looked
    for by is-effective-target-keyword. Also reorder things
    in is-effective-target to put power10_hw with the other
    ppc stuff.
    
    2020-07-13  Aaron Sawdey  <acsawdey@linux.ibm.com>
    
    gcc/testsuite/
    
            * lib/target-supports.exp (is-effective-target):
            Reorder to put powerpc stuff together.
            (is-effective-target-keyword): Add power10_hw.
    
    (cherry picked from commit 94c7c67b82dd7255fde0d7ae42d483336ea1b60b)

Diff:
---
 gcc/testsuite/lib/target-supports.exp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 4db3faac994..8a186dd558f 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -7824,6 +7824,7 @@ proc is-effective-target { arg } {
 	  "p8vector_hw"    { set selected [check_p8vector_hw_available] }
 	  "p9vector_hw"    { set selected [check_p9vector_hw_available] }
 	  "p9modulo_hw"    { set selected [check_p9modulo_hw_available] }
+	  "power10_hw"     { set selected [check_power10_hw_available] }
 	  "ppc_float128_sw" { set selected [check_ppc_float128_sw_available] }
 	  "ppc_float128_hw" { set selected [check_ppc_float128_hw_available] }
 	  "ppc_recip_hw"   { set selected [check_ppc_recip_hw_available] }
@@ -7834,7 +7835,6 @@ proc is-effective-target { arg } {
 	  "named_sections" { set selected [check_named_sections_available] }
 	  "gc_sections"    { set selected [check_gc_sections_available] }
 	  "cxa_atexit"     { set selected [check_cxa_atexit_available] }
-	  "power10_hw" { set selected [check_power10_hw_available] }
 	  default          { error "unknown effective target keyword `$arg'" }
 	}
     }
@@ -7856,6 +7856,7 @@ proc is-effective-target-keyword { arg } {
 	  "p8vector_hw"    { return 1 }
 	  "p9vector_hw"    { return 1 }
 	  "p9modulo_hw"    { return 1 }
+	  "power10_hw"     { return 1 }
 	  "ppc_float128_sw" { return 1 }
 	  "ppc_float128_hw" { return 1 }
 	  "ppc_recip_hw"   { return 1 }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-13 21:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-13 21:33 [gcc r10-8490] rs6000: clean up testsuite power10_hw check Aaron Sawdey

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).