Re: [PATCH powerpc64] Add a new constraint to insn movdi_internal64

2014-08-08 Thread David Edelsohn
On Fri, Aug 8, 2014 at 1:50 PM, Carrot Wei wrote: > Thank you for the comment, I've updated the patch. > > OK for trunk and 4.9 branch? > > > 2014-08-08 Guozhi Wei > > * config/rs6000/rs6000.md (*movdi_internal64): Add a new constraint. > > > On Wed, Aug 6, 2014 at 7:28 PM, Segher Boess

Re: [PATCH powerpc64] Add a new constraint to insn movdi_internal64

2014-08-08 Thread Carrot Wei
Thank you for the comment, I've updated the patch. OK for trunk and 4.9 branch? 2014-08-08 Guozhi Wei * config/rs6000/rs6000.md (*movdi_internal64): Add a new constraint. On Wed, Aug 6, 2014 at 7:28 PM, Segher Boessenkool wrote: > On Wed, Aug 06, 2014 at 04:48:26PM -0700, Carrot W

Re: [PATCH powerpc64] Add a new constraint to insn movdi_internal64

2014-08-06 Thread Segher Boessenkool
On Wed, Aug 06, 2014 at 04:48:26PM -0700, Carrot Wei wrote: > - mtvsrd %x0,%1" > - [(set_attr "type" > "store,load,*,*,*,*,fpstore,fpload,fp,mfjmpr,mtjmpr,*,mftgpr,mffgpr,mftgpr,mffgpr") > - (set_attr "length" "4,4,4,4,4,20,4,4,4,4,4,4,4,4,4,4")]) > + mtvsrd %x0,%1 > + xxlxor %x0,%x0" > +

[PATCH powerpc64] Add a new constraint to insn movdi_internal64

2014-08-06 Thread Carrot Wei
Hi When compiling an internal application I got an ICE due to an invalid instruction generated by reload. Before IRA, I have following insns: (insn 139 136 581 10 (set (reg:DI 567) (const_int 0 [0])) ./strings/stringpiece.h:205 discrim 1 520 {*movdi_internal64} (expr_list:REG_EQUIV