fr30.md (indirect_jump): Use pmode_register_operand instead of nonimmediate_operand.
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 28 Jul 2015 19:34:12 +0000 (19:34 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 28 Jul 2015 19:34:12 +0000 (19:34 +0000)
gcc/
* config/fr30/fr30.md (indirect_jump): Use pmode_register_operand
instead of nonimmediate_operand.  Remove C condiition.

From-SVN: r226320

gcc/ChangeLog
gcc/config/fr30/fr30.md

index fadcb03c5ed8c93fdb41e3cafa0c1f2aadb77aaf..d1aca5d38ece9e79c596c39070d1982a95390243 100644 (file)
@@ -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.
index 18ddf268145e5f3d29c23db8a3ec8587865797c6..9ed4d83a33ebd90a5ebca6937523a20cf683368f 100644 (file)
 
 ;; 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")]
 )