aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/config/rs6000/rs6000.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index 2cc36e810f1..0e5fabde3c1 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -7317,7 +7317,7 @@
{
long l;
REAL_VALUE_TO_TARGET_SINGLE (*CONST_DOUBLE_REAL_VALUE (src), l);
- emit_move_insn (gen_lowpart (SImode, operands[0]), GEN_INT (l));
+ emit_move_insn (gen_rtx_REG (SImode, REGNO (operands[0])), GEN_INT (l));
DONE;
}
})