aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/fr30/fr30.md4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fadcb03..d1aca5d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-28 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/fr30/fr30.md (indirect_jump): Use pmode_register_operand
+ instead of nonimmediate_operand. Remove C condiition.
+
2015-07-28 Richard Biener <rguenther@suse.de>
* match.pd: Add more simplification of address comparisons.
diff --git a/gcc/config/fr30/fr30.md b/gcc/config/fr30/fr30.md
index 18ddf26..9ed4d83 100644
--- a/gcc/config/fr30/fr30.md
+++ b/gcc/config/fr30/fr30.md
@@ -1146,8 +1146,8 @@
;; Indirect jump through a register
(define_insn "indirect_jump"
- [(set (pc) (match_operand:SI 0 "nonimmediate_operand" "r"))]
- "GET_CODE (operands[0]) != MEM || GET_CODE (XEXP (operands[0], 0)) != PLUS"
+ [(set (pc) (match_operand 0 "pmode_register_operand" "r"))]
+ ""
"jmp%#\\t@%0"
[(set_attr "delay_type" "delayed")]
)