diff options
author | Marat Zakirov <m.zakirov@samsung.com> | 2014-08-07 07:34:33 +0000 |
---|---|---|
committer | Marat Zakirov <mzakirov@gcc.gnu.org> | 2014-08-07 07:34:33 +0000 |
commit | 0a2938aee4942474f1b3dd8dc21af59060fa34b1 (patch) | |
tree | 582ff21d1e359589f6bc0764603bc0859986611e /gcc | |
parent | 87db77bb25d2f78a10d138da06d518331d3e641e (diff) | |
download | gcc-0a2938aee4942474f1b3dd8dc21af59060fa34b1.zip gcc-0a2938aee4942474f1b3dd8dc21af59060fa34b1.tar.gz gcc-0a2938aee4942474f1b3dd8dc21af59060fa34b1.tar.bz2 |
thumb1.md (*thumb1_movhi_insn): Handle stack pointer.
2014-08-07 Marat Zakirov <m.zakirov@samsung.com>
* config/arm/thumb1.md (*thumb1_movhi_insn): Handle stack pointer.
(*thumb1_movqi_insn): Likewise.
* config/arm/thumb2.md (*thumb2_movhi_insn): Likewise.
From-SVN: r213695
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/arm/thumb1.md | 6 | ||||
-rw-r--r-- | gcc/config/arm/thumb2.md | 2 |
3 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f786119..a5479d4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-08-07 Marat Zakirov <m.zakirov@samsung.com> + + * config/arm/thumb1.md (*thumb1_movhi_insn): Handle stack pointer. + (*thumb1_movqi_insn): Likewise. + * config/arm/thumb2.md (*thumb2_movhi_insn): Likewise. + 2014-08-07 Tom de Vries <tom@codesourcery.com> * doc/sourcebuild.texi (glibc, glibc_2_12_or_later) diff --git a/gcc/config/arm/thumb1.md b/gcc/config/arm/thumb1.md index cd1adf4..fed741e 100644 --- a/gcc/config/arm/thumb1.md +++ b/gcc/config/arm/thumb1.md @@ -707,8 +707,8 @@ ) (define_insn "*thumb1_movhi_insn" - [(set (match_operand:HI 0 "nonimmediate_operand" "=l,l,m,*r,*h,l") - (match_operand:HI 1 "general_operand" "l,m,l,*h,*r,I"))] + [(set (match_operand:HI 0 "nonimmediate_operand" "=l,l,m,l*r,*h,l") + (match_operand:HI 1 "general_operand" "l,m,l,k*h,*r,I"))] "TARGET_THUMB1 && ( register_operand (operands[0], HImode) || register_operand (operands[1], HImode))" @@ -762,7 +762,7 @@ (define_insn "*thumb1_movqi_insn" [(set (match_operand:QI 0 "nonimmediate_operand" "=l,l,m,*r,*h,l") - (match_operand:QI 1 "general_operand" "l, m,l,*h,*r,I"))] + (match_operand:QI 1 "general_operand" "lk, m,l,*h,*r,I"))] "TARGET_THUMB1 && ( register_operand (operands[0], QImode) || register_operand (operands[1], QImode))" diff --git a/gcc/config/arm/thumb2.md b/gcc/config/arm/thumb2.md index 029a679..983b59d 100644 --- a/gcc/config/arm/thumb2.md +++ b/gcc/config/arm/thumb2.md @@ -318,7 +318,7 @@ ;; 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))" |