This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 2/2] Enable auto-vectorization for PowerPC 750CL paired-single instructions


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).

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.

(See attached file: patch_testsuite_27_750cl.txt)

Attachment: patch_testsuite_27_750cl.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]