[Bug tree-optimization/39248] FAIL: gcc.dg/vect/vect-complex-1.c

irar at il dot ibm dot com gcc-bugzilla@gcc.gnu.org
Thu Feb 26 09:57:00 GMT 2009



------- Comment #7 from irar at il dot ibm dot com  2009-02-26 09:57 -------
In slp-7.c all the three loops get vectorized, including the loop that requires
vector multiplication for shorts. This patch
http://gcc.gnu.org/ml/gcc-patches/2008-07/msg00044.html added ARM to
vect_int_mult, but not to vect_short_mult, so I guess the fix should be:

Index: target-supports.exp
===================================================================
--- target-supports.exp (revision 144030)
+++ target-supports.exp (working copy)
@@ -2275,7 +2275,8 @@ proc check_effective_target_vect_short_m
             || [istarget spu-*-*]
             || [istarget i?86-*-*]
             || [istarget x86_64-*-*]
-             || [istarget powerpc*-*-*] } {
+             || [istarget powerpc*-*-*]
+             || [check_effective_target_arm32] } {
           set et_vect_short_mult_saved 1
        }
     }

Does it make sense?

Thanks,
Ira


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39248



More information about the Gcc-bugs mailing list