Commit b9719055 by Uros Bizjak Committed by Uros Bizjak

predicates.md (indirect_branch_operand): Simplify.

	* config/i386/predicates.md (indirect_branch_operand): Simplify.

From-SVN: r185111
parent 232d1950
2012-03-08 Uros Bizjak <ubizjak@gmail.com>
* config/i386/predicates.md (indirect_branch_operand): Simplify.
2012-03-08 Georg-Johann Lay <avr@gjlay.de>
* config/avr/avr.md (*addhi3, addhi3_clobber): Add "w" alternative
......
......@@ -566,9 +566,9 @@
;; Test for a valid operand for indirect branch.
(define_predicate "indirect_branch_operand"
(if_then_else (match_test "TARGET_X32")
(match_operand 0 "register_operand")
(match_operand 0 "nonimmediate_operand")))
(ior (match_operand 0 "register_operand")
(and (not (match_test "TARGET_X32"))
(match_operand 0 "memory_operand"))))
;; Test for a valid operand for a call instruction.
(define_predicate "call_insn_operand"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment