summaryrefslogtreecommitdiff
path: root/gcc/config/lm32/lm32.md
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/lm32/lm32.md')
-rw-r--r--gcc/config/lm32/lm32.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/lm32/lm32.md b/gcc/config/lm32/lm32.md
index c35ffd5e6cd..5c87072cb67 100644
--- a/gcc/config/lm32/lm32.md
+++ b/gcc/config/lm32/lm32.md
@@ -195,8 +195,9 @@
}
else if (!flag_pic && reloc_operand (operands[1], GET_MODE (operands[1])))
{
- emit_insn (gen_rtx_SET (SImode, operands[0], gen_rtx_HIGH (SImode, operands[1])));
- emit_insn (gen_rtx_SET (SImode, operands[0], gen_rtx_LO_SUM (SImode, operands[0], operands[1])));
+ emit_insn (gen_rtx_SET (operands[0], gen_rtx_HIGH (SImode, operands[1])));
+ emit_insn (gen_rtx_SET (operands[0], gen_rtx_LO_SUM (SImode, operands[0],
+ operands[1])));
DONE;
}
else if (GET_CODE (operands[1]) == CONST_INT)