Patchwork [committed] TILE-Gx: fix type attribute for jr

login
register
mail settings
Submitter Walter Lee
Date March 27, 2013, 6:44 a.m.
Message ID <201303270644.r2R6ixur008000@farm-0001.internal.tilera.com>
Download mbox | patch
Permalink /patch/231597/
State New
Headers show

Comments

Walter Lee - March 27, 2013, 6:44 a.m.
This patch fixes the type attribute for jr.  Backported to 4.7 and
4.8.

	* config/tilegx/tilegx.md (*sibcall_insn): Fix type atribute
	for jr.
	(*sibcall_value): Ditto.

Patch

--- gcc/config/tilegx/tilegx.md	(revision 197135)
+++ gcc/config/tilegx/tilegx.md	(working copy)
@@ -2592,7 +2592,7 @@ 
   "@
    jr\t%r0
    j\t%p0"
-  [(set_attr "type" "X1,X1")])
+  [(set_attr "type" "Y1,X1")])
 
 (define_expand "sibcall_value"
   [(parallel [(set (match_operand 0 "" "")
@@ -2611,7 +2611,7 @@ 
   "@
    jr\t%r1
    j\t%p1"
-  [(set_attr "type" "X1,X1")])
+  [(set_attr "type" "Y1,X1")])
 
 (define_insn "jump"
   [(set (pc) (label_ref (match_operand 0 "" "")))]