* i386.md (movdi_rex64_1): Fix mmx<->int move opcode.
authorJan Hubicka <hubicka@gcc.gnu.org>
Fri, 7 Feb 2003 21:26:28 +0000 (21:26 +0000)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 7 Feb 2003 21:26:28 +0000 (21:26 +0000)
From-SVN: r62544

gcc/config/i386/i386.md

index 3bba254..5178840 100644 (file)
     case TYPE_SSEMOV:
       if (get_attr_mode (insn) == MODE_TI)
          return "movdqa\t{%1, %0|%0, %1}";
+      /* FALLTHRU */
+    case TYPE_MMXMOV:
       /* Moves from and into integer register is done using movd opcode with
         REX prefix.  */
       if (GENERAL_REG_P (operands[0]) || GENERAL_REG_P (operands[1]))
          return "movd\t{%1, %0|%0, %1}";
-      /* FALLTHRU */
-    case TYPE_MMXMOV:
       return "movq\t{%1, %0|%0, %1}";
     case TYPE_MULTI:
       return "#";