This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Enable the whole-vector-shift tests for PPC64
- From: Bill Schmidt <wschmidt at linux dot vnet dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: dje dot gcc at gmail dot com, anton at samba dot org
- Date: Sun, 06 Mar 2016 19:03:30 -0600
- Subject: [PATCH] Enable the whole-vector-shift tests for PPC64
- Authentication-results: sourceware.org; auth=none
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.
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*-*-*]