[(call (mem:QI (match_operand:SI 0 "call_address_operand" "aS"))
(match_operand:SI 1 "general_operand" "g"))]
""
- "calls %C0"
+ "*
+{
+ if (REG_P (operands[0]))
+ return \"calls %C0\";
+ else
+ return \"call %C0,[],0\";
+}"
[(set_attr "cc" "clobber")])
;; Call subroutine, returning value in operand 0
(call (mem:QI (match_operand:SI 1 "call_address_operand" "aS"))
(match_operand:SI 2 "general_operand" "g")))]
""
- "calls %C1"
+ "*
+{
+ if (REG_P (operands[1]))
+ return \"calls %C1\";
+ else
+ return \"call %C1,[],0\";
+}"
[(set_attr "cc" "clobber")])
(define_expand "untyped_call"