[PATCH, committed] rs6000: Fix test_mffsl.c to require Power9 support

Bill Schmidt wschmidt@linux.ibm.com
Thu Nov 11 20:43:56 GMT 2021


Hi!  Per previous discussion, committed the following as obvious.

commit 8a8458ac6bbc4263dd2c1ee55979b29fc7195794
Author: Bill Schmidt <wschmidt@linux.ibm.com>
Date:   Thu Nov 11 14:36:04 2021 -0600

    rs6000: Fix test_mffsl.c to require Power9 support
    
    2021-11-11  Bill Schmidt  <wschmidt@linux.ibm.com>
    
    gcc/testsuite/
            * gcc.target/powerpc/test_mffsl.c: Require Power9.

diff --git a/gcc/testsuite/gcc.target/powerpc/test_mffsl.c b/gcc/testsuite/gcc.target/powerpc/test_mffsl.c
index 41377efba1a..28c2b91988e 100644
--- a/gcc/testsuite/gcc.target/powerpc/test_mffsl.c
+++ b/gcc/testsuite/gcc.target/powerpc/test_mffsl.c
@@ -1,5 +1,6 @@
 /* { dg-do run { target { powerpc*-*-* } } } */
-/* { dg-options "-O2 -std=c99" } */
+/* { dg-options "-O2 -std=c99 -mcpu=power9" } */
+/* { dg-require-effective-target powerpc_p9vector_ok } */
 
 #ifdef DEBUG
 #include <stdio.h>



More information about the Gcc-patches mailing list