aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2015-07-28 19:34:12 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2015-07-28 19:34:12 +0000
commitc1ddc8e9d86458e96e9e56751e87b6a76991fa58 (patch)
tree57b267bafd1a73d7b5df3b2d92afd2ecb41cd565 /gcc
parentcfce04880aff5c1ee2c61be8ca706777ae3819a9 (diff)
downloadgcc-c1ddc8e9d86458e96e9e56751e87b6a76991fa58.zip
gcc-c1ddc8e9d86458e96e9e56751e87b6a76991fa58.tar.gz
gcc-c1ddc8e9d86458e96e9e56751e87b6a76991fa58.tar.bz2
fr30.md (indirect_jump): Use pmode_register_operand instead of nonimmediate_operand.
gcc/ * config/fr30/fr30.md (indirect_jump): Use pmode_register_operand instead of nonimmediate_operand. Remove C condiition. From-SVN: r226320
Diffstat (limited to 'gcc')
-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")]
)