diff mbox

Fix half of PR63439

Message ID yddioftn8gd.fsf@lokon.CeBiTec.Uni-Bielefeld.DE
State New
Headers show

Commit Message

Rainer Orth Jan. 26, 2015, 10:26 a.m. UTC
Richard Biener <rguenther@suse.de> writes:

> On Mon, 26 Jan 2015, Eric Botcazou wrote:
>
>> > For the second half we really need to fix SPARC to be a vect64
>> > target (the testcase is vectorized with v8qi).
>> 
>> Yes, that makes sense in conjunction with the options used for vectorization.
>
> As I can't test sparc can you or rainer do the change and see if it
> works fine?

Here's what I had in my local tree during last weekend's bootstraps: it
worked fine indeed.

	Rainer


2015-01-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* lib/target-supports.exp (check_effective_target_vect64): Add
	sparc*-*-*.

Comments

Eric Botcazou Jan. 26, 2015, 10:32 a.m. UTC | #1
> Here's what I had in my local tree during last weekend's bootstraps: it
> worked fine indeed.
> 
> 	Rainer
> 
> 
> 2015-01-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
> 
> 	* lib/target-supports.exp (check_effective_target_vect64): Add
> 	sparc*-*-*.

Fine with me then, thanks.
diff mbox

Patch

# HG changeset patch
# Parent 986c36eb0740934e43a3e296f442719f5cea7d28
Make SPARC a vect64 target

diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -4566,7 +4566,8 @@  proc check_effective_target_vect64 { } {
         set et_vect64_saved 0
         if { ([istarget arm*-*-*]
 	      && [check_effective_target_arm_neon_ok]
-	      && [check_effective_target_arm_little_endian]) } {
+	      && [check_effective_target_arm_little_endian])
+             || [istarget sparc*-*-*] } {
            set et_vect64_saved 1
         }
     }