* config/microblaze/predicates.md (call_insn_simple_operand):
New predicate for supported rtx code types.
* config/microblaze/microblaze.md (call_internal1): Use
call_insn_simple_operand predicate.
From-SVN: r196433
+2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
+
+ * config/microblaze/predicates.md (call_insn_simple_operand):
+ New predicate for supported rtx code types.
+ * config/microblaze/microblaze.md (call_internal1): Use
+ call_insn_simple_operand predicate.
+
2013-03-04 Jakub Jelinek <jakub@redhat.com>
PR middle-end/56461
(set_attr "length" "4")])
(define_insn "call_internal1"
- [(call (mem (match_operand:SI 0 "call_insn_operand" "ri"))
+ [(call (mem (match_operand:SI 0 "call_insn_simple_operand" "ri"))
(match_operand:SI 1 "" "i"))
(clobber (reg:SI R_SR))]
""
(define_predicate "call_insn_operand"
(match_test "CALL_INSN_OP (op)"))
+(define_predicate "call_insn_simple_operand"
+ (and (match_test "CALL_INSN_OP (op)")
+ (match_test "GET_CODE (op) == REG || GET_CODE (op) == SYMBOL_REF || GET_CODE (op) == CONST_INT")))
+
;; Return if OPERAND is valid as a source operand for a move instruction.
(define_predicate "move_operand"
(and (