diff mbox

Enable the whole-vector-shift tests for PPC64

Message ID 1457312610.25682.57.camel@oc8801110288.ibm.com
State New
Headers show

Commit Message

Bill Schmidt March 7, 2016, 1:03 a.m. UTC
Hi,

Anton Blanchard pointed out that we don't currently execute the
whole-vector-shift tests for PowerPC.  I tested enabling them on
powerpc64le-unknown-linux-gnu, which resulted in 8 more test successes
and no additional failures.  I still need to test this on big-endian.
Assuming no problems there, is this patch ok for trunk?  I suppose
technically it should be queued up for GCC 7, though it seems harmless
enough for GCC 6.  Please let me know which you would prefer.

Thanks!

Bill


2016-03-06  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* lib/target-supports.exp
	(check_effective_target_whole_vector_shift): Enable for PPC64.

Comments

Richard Biener March 7, 2016, 6:58 a.m. UTC | #1
On March 7, 2016 2:03:30 AM GMT+01:00, Bill Schmidt <wschmidt@linux.vnet.ibm.com> wrote:
>Hi,
>
>Anton Blanchard pointed out that we don't currently execute the
>whole-vector-shift tests for PowerPC.  I tested enabling them on
>powerpc64le-unknown-linux-gnu, which resulted in 8 more test successes
>and no additional failures.  I still need to test this on big-endian.
>Assuming no problems there, is this patch ok for trunk?  I suppose
>technically it should be queued up for GCC 7, though it seems harmless
>enough for GCC 6.  Please let me know which you would prefer.

This is OK for gcc 6.

Richard.

>Thanks!
>
>Bill
>
>
>2016-03-06  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
>
>	* lib/target-supports.exp
>	(check_effective_target_whole_vector_shift): Enable for PPC64.
>
>
>Index: gcc/testsuite/lib/target-supports.exp
>===================================================================
>--- gcc/testsuite/lib/target-supports.exp	(revision 233943)
>+++ gcc/testsuite/lib/target-supports.exp	(working copy)
>@@ -4006,6 +4006,7 @@ proc check_effective_target_whole_vector_shift {
>}
>     if { [istarget i?86-*-*] || [istarget x86_64-*-*]
> 	 || [istarget ia64-*-*]
> 	 || [istarget aarch64*-*-*]
>+	 || [istarget powerpc64*-*-*]
> 	 || ([check_effective_target_arm32]
> 	     && [check_effective_target_arm_little_endian])
> 	 || ([istarget mips*-*-*]
diff mbox

Patch

Index: gcc/testsuite/lib/target-supports.exp
===================================================================
--- gcc/testsuite/lib/target-supports.exp	(revision 233943)
+++ gcc/testsuite/lib/target-supports.exp	(working copy)
@@ -4006,6 +4006,7 @@  proc check_effective_target_whole_vector_shift { }
     if { [istarget i?86-*-*] || [istarget x86_64-*-*]
 	 || [istarget ia64-*-*]
 	 || [istarget aarch64*-*-*]
+	 || [istarget powerpc64*-*-*]
 	 || ([check_effective_target_arm32]
 	     && [check_effective_target_arm_little_endian])
 	 || ([istarget mips*-*-*]