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] | |
Hi,
The problem when the initialization of CDI mode, we do it via TI mode so
we have a subreg and when spu_expand_insv gets called, it forgets to make
a copy of the subreg and uses the same subreg twice in a pattern. This
fixes the problem by using copy_rtx for the gen_selb call inside
spu_expand_insv.
Committed after many builds and test for spu-elf.
Thanks,
Andrew Pinski
ChangeLog:
* config/spu/spu.c (spu_expand_insv): Call copy_rtx on the second
argument to gen_selb.
Attachment:
fixspushar.diff.txt
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |