Richard Biener <rguent...@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  <r...@cebitec.uni-bielefeld.de>

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

# 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
         }
     }
-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to