diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 1994-09-01 23:29:51 +0000 |
---|---|---|
committer | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 1994-09-01 23:29:51 +0000 |
commit | 269aca6bbb3d0e5c812a002bf8a16121a572d4b9 (patch) | |
tree | 36a5c24358fbdc8f4fd6fc1832c374a1e0e7b8f6 | |
parent | e63e569743881371f2c8bd95f5870dfaf059470d (diff) |
(stack-adjust/push peepholes): Addresses are moved with "addr", not
with "movd".
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@8014 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/config/ns32k/ns32k.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/ns32k/ns32k.md b/gcc/config/ns32k/ns32k.md index 5bd05fa9697..cfd4cfd2ef4 100644 --- a/gcc/config/ns32k/ns32k.md +++ b/gcc/config/ns32k/ns32k.md @@ -2702,6 +2702,8 @@ if (GET_CODE (operands[1]) == CONST_INT) output_asm_insn (output_move_dconst (INTVAL (operands[1]), \"%$%1,0(sp)\"), operands); + else if (address_operand (operands[1], SImode)) + output_asm_insn (\"addr %a1,0(sp)\", operands); else output_asm_insn (\"movd %1,0(sp)\", operands); return \"\"; @@ -2722,12 +2724,16 @@ if (GET_CODE (operands[1]) == CONST_INT) output_asm_insn (output_move_dconst (INTVAL (operands[1]), \"%$%1,4(sp)\"), operands); + else if (address_operand (operands[1], SImode)) + output_asm_insn (\"addr %a1,0(sp)\", operands); else output_asm_insn (\"movd %1,4(sp)\", operands); if (GET_CODE (operands[3]) == CONST_INT) output_asm_insn (output_move_dconst (INTVAL (operands[3]), \"%$%3,0(sp)\"), operands); + else if (address_operand (operands[3], SImode)) + output_asm_insn (\"addr %a3,0(sp)\", operands); else output_asm_insn (\"movd %3,0(sp)\", operands); return \"\"; |