This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 2/2] Enable auto-vectorization for PowerPC 750CL paired-single instructions
- From: Dorit Nuzman <DORIT at il dot ibm dot com>
- To: Revital1 Eres <ERES at il dot ibm dot com>
- Cc: dje at watson dot ibm dot com, gcc-patches at gcc dot gnu dot org, Ira Rosen <IRAR at il dot ibm dot com>, Victor Kaplansky <VICTORK at il dot ibm dot com>
- Date: Mon, 29 Oct 2007 08:11:34 -0800
- Subject: Re: [PATCH 2/2] Enable auto-vectorization for PowerPC 750CL paired-single instructions
Revital1 Eres/Haifa/IBM wrote on 29/10/2007 08:51:37:
> Hello,
>
> This patch adds the relevant support in the vectorizer testsuite to
> auto-vectorize the 750CL paired-single instructions. It also contains
> new tests.
>
> Bootstrapped and tested together with the patch (1/2).
>
did you test the new testcases on something other than 750CL (ppc, i386)?
(noticed this typo:
+proc check_750cl_hw_available { } {
...
+
+ # If this is not the right target than we can quit.
than --> then)
dorit
> OK for mainline?
>
> Thanks,
> Revital
>
> :ADDPATCH SSA (vectorizer):
>
> testsuite changelog:
>
> * gcc.dg/vect/vect.exp: Add support for powerpc-*paired
> target.
> * gcc.dg/vect/tree-vect.h (check_vect): Add
> powerpc-*paired test.
> * lib/target-supports.exp (check_750cl_hw_available):
> New.
> (check_effective_target_vect_int,
> check_effective_target_vect_intfloat_cvt,
> check_effective_target_powerpc_altivec_ok,
> check_effective_target_vect_long,
> check_effective_target_vect_sdot_hi,
> check_effective_target_vect_udot_hi,
> check_effective_target_vect_pack_trunc,
> check_effective_target_vect_unpack,
> check_effective_target_vect_shift,
> check_effective_target_vect_int_mult): Disable for
powerpc-*paired
> target.
> * gcc.dg/vect/vect-ifcvt-11.c: New.
> * gcc.dg/vect/vect-ifcvt-12.c: Likewise.
> * gcc.dg/vect/vect-ifcvt-13.c: Likewise.
> * gcc.dg/vect/vect-ifcvt-14.c: Likewise.
> * gcc.dg/vect/vect-ifcvt-15.c: Likewise.
> * gcc.dg/vect/vect-ifcvt-16.c: Likewise.
> * gcc.dg/vect/vect-ifcvt-17.c: Likewise.
>
> [attachment "patch_testsuite_27_750cl.txt" deleted by Dorit
Nuzman/Haifa/IBM]