2014-08-07 Marat Zakirov <m.zakirov@samsung.com>
authormzakirov <mzakirov@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Aug 2014 07:34:33 +0000 (07:34 +0000)
committerDongkyun, Son <dongkyun.s@samsung.com>
Sun, 22 May 2016 10:47:30 +0000 (19:47 +0900)
* config/arm/thumb1.md (*thumb1_movhi_insn): Handle stack pointer.
(*thumb1_movqi_insn): Likewise.
* config/arm/thumb2.md (*thumb2_movhi_insn): Likewise.

Change-Id: Iaf99474d30284516a0c8f713376d315b94d69b08
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213695 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/arm/thumb2.md

index 2fb5548..93fcf1b 100644 (file)
 ;; of the messiness associated with the ARM patterns.
 (define_insn "*thumb2_movhi_insn"
   [(set (match_operand:HI 0 "nonimmediate_operand" "=r,r,l,r,m,r")
-       (match_operand:HI 1 "general_operand"      "r,I,Py,n,r,m"))]
+       (match_operand:HI 1 "general_operand"      "rk,I,Py,n,r,m"))]
   "TARGET_THUMB2
   && (register_operand (operands[0], HImode)
      || register_operand (operands[1], HImode))"