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] | |
Hello,
The following patch enables auto-vectorization for PowerPC 750CL
paired-single instructions. It contains two parts: the current which adds
the support in the rs6000 backend and a second part for the vectorizer
testsuite which will be send as a follow-up patch.
This is a joint work with Victor. Also thanks to everybody; mostly in
the cc list; who helped.
I propose this patch for mainline but I understand if it will be deferred
for stage 1.
Bootstrapped and tested together with the follow on patch (2/2) on ppc,
750cl and x86.
OK for mainline?
Thanks,
Revital
:ADDPATCH (rs6000):
ChangeLog:
* config/rs6000/paired.md (sminv2sf3, smaxv2sf3, reduc_smax_v2sf,
reduc_smin_v2sf vec_interleave_highv2sf, vec_interleave_lowv2sf,
vec_extract_evenv2sf, vec_extract_oddv2sf, reduc_splus_v2sf,
movmisalignv2sf, vcondv2sf): New.
(UNSPEC_INTERHI_V2SF, UNSPEC_INTERLO_V2SF, UNSPEC_EXTEVEN_V2SF,
UNSPEC_EXTODD_V2SF): Define new constants.
* config/rs6000/rs6000-protos.h (paired_expand_vector_move,
paired_emit_vector_cond_expr): New.
* config/rs6000/rs6000-c.c (__PAIRED__): Add new builtin_define.
* config/rs6000/rs6000.c (paired_expand_vector_move,
paired_emit_vector_cond_expr, paired_emit_vector_compare):
New functions.
* config/rs6000/750cl.h (ASM_CPU_SPEC): Pass down -m750cl option.
(See attached file: patch_config_27_750cl.txt)Attachment:
patch_config_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] |