Re: [PATCH ARM]Use stricter constraint for pattern arm_movqi_insn to avoid constant pool

2014-09-04 Thread Ramana Radhakrishnan
On Thu, Sep 4, 2014 at 6:33 AM, Bin Cheng wrote: > Hi, > This patch is to fix a potential bug in arm pattern "arm_movqi_insn". > > For the pattern, > (define_insn "*arm_movqi_insn" > [(set (match_operand:QI 0 "nonimmediate_operand" "=r,r,r,l,r,l,Uu,r,m") > (match_operand:QI 1 "general_op

[PATCH ARM]Use stricter constraint for pattern arm_movqi_insn to avoid constant pool

2014-09-03 Thread Bin Cheng
Hi, This patch is to fix a potential bug in arm pattern "arm_movqi_insn". For the pattern, (define_insn "*arm_movqi_insn" [(set (match_operand:QI 0 "nonimmediate_operand" "=r,r,r,l,r,l,Uu,r,m") (match_operand:QI 1 "general_operand" "r,r,I,Py,K,Uu,l,m,r"))] "TARGET_32BIT && ( regis