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,
This patch adds vec_init support for the paired vectors by introducing
a new function: paired_expand_vector_init ().
It also includes a fix to the movv2sf_paired instruction description
regarding move of an easy vector constant.
The patch was tested on ppc64 (only c).
OK for mainline?
Thanks,
Revital
2007-10-01 Revital Eres <eres@il.ibm.com>
* config/rs6000/predicates.md (easy_vector_constant): Return false
for 750CL paired vectors.
* config/rs6000/paired.md (movv2sf_paired): Fix move of easy
vector constant.
(vec_initv2sf): Add new description.
(vconcatsf): Likewise.
* config/rs6000/rs6000-protos.h: Declare paired_expand_vector_init.
* config/rs6000/rs6000.c (paired_expand_vector_init): New function.
testsuite/
* gcc.target/powerpc/paired-8.c: New test.
* gcc.target/powerpc/paired-9.c: New test.
* gcc.target/powerpc/paired-10.c: New test.
(See attached file: patch_paired_init_1_10.txt)Attachment:
patch_paired_init_1_10.txt
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |