Commit e5ffb50c by Jeff Law

mn10300.md (call, call_value): Use "call" instead of "calls" for calls to named functions.

        * mn10300.md (call, call_value): Use "call" instead of "calls"
        for calls to named functions.

From-SVN: r14228
parent dec3e070
...@@ -1139,7 +1139,13 @@ ...@@ -1139,7 +1139,13 @@
[(call (mem:QI (match_operand:SI 0 "call_address_operand" "aS")) [(call (mem:QI (match_operand:SI 0 "call_address_operand" "aS"))
(match_operand:SI 1 "general_operand" "g"))] (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")]) [(set_attr "cc" "clobber")])
;; Call subroutine, returning value in operand 0 ;; Call subroutine, returning value in operand 0
...@@ -1165,7 +1171,13 @@ ...@@ -1165,7 +1171,13 @@
(call (mem:QI (match_operand:SI 1 "call_address_operand" "aS")) (call (mem:QI (match_operand:SI 1 "call_address_operand" "aS"))
(match_operand:SI 2 "general_operand" "g")))] (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")]) [(set_attr "cc" "clobber")])
(define_expand "untyped_call" (define_expand "untyped_call"
......
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