Christophe,

Please look at a new patch.  Draft tests are OK.
I'll ask your commit approval when full regression (ARM/thumb1/thumb2)
tests are done.

Thank for your attention.

--Marat

On 07/11/2014 11:19 PM, Christophe Lyon wrote:
The new testcase causes an ICE when the compile is configured
--with-thumb or when forcing -mthumb.

Christophe.


On 11 July 2014 11:08, Marat Zakirov <[email protected]> wrote:
Thank to you all.

Committed revision 212450.

--Marat


-------- Original Message --------
Subject:        Re: [PING][PATCH] Fix for PR 61561
Date:   Thu, 10 Jul 2014 14:01:24 +0100
From:   Ramana Radhakrishnan <[email protected]>
To:     Marat Zakirov <[email protected]>, "[email protected]"
<[email protected]>
CC:     Richard Earnshaw <[email protected]>, Kyrylo Tkachov
<[email protected]>, Slava Garbuzov <[email protected]>, Yuri
Gribov <[email protected]>, "[email protected]" <[email protected]>





On 30/06/14 16:21, Marat Zakirov wrote:

Thank for your attention.

This is OK for trunk - Sorry about the delayed response.

Ramana

Marat.




gcc/ChangeLog:

2014-07-16  Marat Zakirov  <[email protected]>

	* config/arm/thumb1.md: Handle stack pointer.
	* config/arm/thumb2.md: Ditto.

diff --git a/gcc/config/arm/thumb1.md b/gcc/config/arm/thumb1.md
index c044fd5..47b5cbd 100644
--- a/gcc/config/arm/thumb1.md
+++ b/gcc/config/arm/thumb1.md
@@ -708,7 +708,7 @@
 
 (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"))]
+	(match_operand:HI 1 "general_operand"       "lk,m,l,*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 6ea0810..7228069 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))"

Reply via email to