This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch ARM] Improve Thumb2 code generation.


On Thu, May 21, 2009 at 7:51 AM, Ramana Radhakrishnan
<ramana.r@gmail.com> wrote:
>>
>> Does this look ok to commit instead if tests pass ok ? I'm on vacation
>> tomorrow so it might be Friday by the time I can get around to
>> committing this.
>
> Here's the patch which tested without any regressions.

And now attached !

Ramana
>
>
> 2009-05-21 ?Ramana Radhakrishnan ?<ramana.radhakrishnan@arm.com>
>
> ? ? ? ?* config/arm/thumb2.md (orsi_notsi_si): Fix typo in pattern.
>
>>
>> cheers
>> Ramana
>>
>>>
>>> Cheers,
>>>
>>> Julian
>>>
>>
>
diff --git a/gcc/config/arm/thumb2.md b/gcc/config/arm/thumb2.md
index 935ca08..f5ce9ed 100644
--- a/gcc/config/arm/thumb2.md
+++ b/gcc/config/arm/thumb2.md
@@ -1254,8 +1254,8 @@
 
 (define_insn "orsi_notsi_si"
   [(set (match_operand:SI 0 "s_register_operand" "=r")
-	(ior:SI (not:SI (match_operand:SI 2 "s_register_operand" "r"))
-		(match_operand:SI 1 "reg_or_int_operand" "rK")))]
+	(ior:SI (not:SI (match_operand:SI 2 "reg_or_int_operand" "rK"))
+		(match_operand:SI 1 "s_register_operand" "r")))]
   "TARGET_THUMB2"
   "orn%?\\t%0, %1, %2"
   [(set_attr "predicable" "yes")]

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]