diff mbox

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

Message ID 201303270644.r2R6ixur008000@farm-0001.internal.tilera.com
State New
Headers show

Commit Message

Walter Lee March 27, 2013, 6:44 a.m. UTC
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.
diff mbox

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 "" "")))]