From 6bb1041efd25b13d412ca201ccdb98461e96799e Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Tue, 22 Jun 2004 18:38:00 +0000 Subject: [PATCH] mn10300.md (movdi, movdf): Use high/low for movu operands. * config/mn10300/mn10300.md (movdi, movdf): Use high/low for movu operands. From-SVN: r83510 --- gcc/ChangeLog | 5 +++++ gcc/config/mn10300/mn10300.md | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 21f780efba6..33a58d40917 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-06-22 Alexandre Oliva + + * config/mn10300/mn10300.md (movdi, movdf): Use high/low for movu + operands. + 2004-06-22 Dale Johannesen * config/rs6000/rs6000.c (legitimate_offset_address_p): Make diff --git a/gcc/config/mn10300/mn10300.md b/gcc/config/mn10300/mn10300.md index 5746ecd0bb5..4333ad2ea07 100644 --- a/gcc/config/mn10300/mn10300.md +++ b/gcc/config/mn10300/mn10300.md @@ -547,7 +547,7 @@ == EXTENDED_REGS) && (((val[0] & 0x80) && ! (val[0] & 0xffffff00)) || ((val[0] & 0x800000) && ! (val[0] & 0xff000000)))) - output_asm_insn (\"movu %1,%0\", operands); + output_asm_insn (\"movu %L1,%L0\", operands); else output_asm_insn (\"mov %L1,%L0\", operands); @@ -570,7 +570,7 @@ == EXTENDED_REGS) && (((val[1] & 0x80) && ! (val[1] & 0xffffff00)) || ((val[1] & 0x800000) && ! (val[1] & 0xff000000)))) - output_asm_insn (\"movu %1,%0\", operands); + output_asm_insn (\"movu %H1,%H0\", operands); else output_asm_insn (\"mov %H1,%H0\", operands); return \"\"; @@ -759,7 +759,7 @@ == EXTENDED_REGS) && (((val[0] & 0x80) && ! (val[0] & 0xffffff00)) || ((val[0] & 0x800000) && ! (val[0] & 0xff000000)))) - output_asm_insn (\"movu %1,%0\", operands); + output_asm_insn (\"movu %L1,%L0\", operands); else output_asm_insn (\"mov %L1,%L0\", operands); @@ -782,7 +782,7 @@ == EXTENDED_REGS) && (((val[1] & 0x80) && ! (val[1] & 0xffffff00)) || ((val[1] & 0x800000) && ! (val[1] & 0xff000000)))) - output_asm_insn (\"movu %1,%0\", operands); + output_asm_insn (\"movu %H1,%H0\", operands); else output_asm_insn (\"mov %H1,%H0\", operands); return \"\"; -- 2.30.2