Commit 1c2bb219 by Richard Kenner

(call): If (new) MOTOROLA_BSR defined, try to emit 'bsr'.

From-SVN: r6906
parent 0481a55e
......@@ -4850,6 +4850,11 @@
"! flag_pic"
"*
#ifdef MOTOROLA
#ifdef MOTOROLA_BSR
if (GET_CODE (operands[0]) == MEM
&& GET_CODE (XEXP (operands[0], 0)) == SYMBOL_REF)
return \"bsr %0\";
#endif
return \"jsr %0\";
#else
return \"jbsr %0\";
......@@ -4905,6 +4910,11 @@
"! flag_pic"
"*
#ifdef MOTOROLA
#ifdef MOTOROLA_BSR
if (GET_CODE (operands[1]) == MEM
&& GET_CODE (XEXP (operands[1], 0)) == SYMBOL_REF)
return \"bsr %1\";
#endif
return \"jsr %1\";
#else
return \"jbsr %1\";
......
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