Commit f29adf5b by Sandra Loosemore Committed by Sandra Loosemore

mips.h (ASM_OUTPUT_REG_PUSH): Replace {d}subu with {d}addiu and a…

mips.h (ASM_OUTPUT_REG_PUSH): Replace {d}subu with {d}addiu and a negative	immediate such that it works with...

2007-09-13  Sandra Loosemore  <sandra@codesourcery.com>
	    David Ung  <davidu@mips.com>

	gcc/
	* config/mips/mips.h (ASM_OUTPUT_REG_PUSH): Replace {d}subu with
	{d}addiu and a negative	immediate such that it works with MIPS16
	instructions.

Co-Authored-By: David Ung <davidu@mips.com>

From-SVN: r128468
parent 1f1752ec
2007-09-13 Sandra Loosemore <sandra@codesourcery.com>
David Ung <davidu@mips.com>
* config/mips/mips.h (ASM_OUTPUT_REG_PUSH): Replace {d}subu with
{d}addiu and a negative immediate such that it works with MIPS16
instructions.
2007-09-13 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/33418
......@@ -2781,8 +2781,8 @@ do { \
#define ASM_OUTPUT_REG_PUSH(STREAM,REGNO) \
do \
{ \
fprintf (STREAM, "\t%s\t%s,%s,8\n\t%s\t%s,0(%s)\n", \
TARGET_64BIT ? "dsubu" : "subu", \
fprintf (STREAM, "\t%s\t%s,%s,-8\n\t%s\t%s,0(%s)\n", \
TARGET_64BIT ? "daddiu" : "addiu", \
reg_names[STACK_POINTER_REGNUM], \
reg_names[STACK_POINTER_REGNUM], \
TARGET_64BIT ? "sd" : "sw", \
......
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