alpha.md (movti): Use operand_subword for the split.
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 23 Sep 2007 14:53:06 +0000 (14:53 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 23 Sep 2007 14:53:06 +0000 (14:53 +0000)
* config/alpha/alpha.md (movti): Use operand_subword for the split.

From-SVN: r128690

gcc/ChangeLog
gcc/config/alpha/alpha.md

index 1e3e595..ab25de6 100644 (file)
@@ -1,3 +1,7 @@
+2007-09-23  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * config/alpha/alpha.md (movti): Use operand_subword for the split.
+
 2007-09-23  Ayal Zaks  <zaks@il.ibm.com>
            Revital Eres  <eres@il.ibm.com>
 
index f4f3eb3..ca862bb 100644 (file)
       else
        target = operands[0];
 
-      emit_insn (gen_movdi (gen_rtx_SUBREG (DImode, target, 0), out[0]));
-      emit_insn (gen_movdi (gen_rtx_SUBREG (DImode, target, 8), out[1]));
+      emit_insn (gen_movdi (operand_subword (target, 0, 0, TImode), out[0]));
+      emit_insn (gen_movdi (operand_subword (target, 1, 0, TImode), out[1]));
 
       if (target != operands[0])
        emit_insn (gen_rtx_SET (VOIDmode, operands[0], target));