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 1e3e595fd2372896edd70d7efdc3bb530c59c134..ab25de6ac4eb3fdf2309574808270f25d887a5f0 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 f4f3eb3a8df7f847d9385590fd71edc6c8963e3d..ca862bbbc67402965191f3993f65456d0a8c6c2a 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));