]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386.md (*movsi_1): Use %a modifier to output operand 1.
authorUros Bizjak <ubizjak@gmail.com>
Tue, 8 Jun 2010 12:21:27 +0000 (14:21 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 8 Jun 2010 12:21:27 +0000 (14:21 +0200)
* config/i386/i386.md (*movsi_1) <TYPE_LEA>: Use %a modifier
to output operand 1.
(ashift_zext lea splitter): Use DImode for multiplication.
* config/i386/i386.md (*movsi_1) <TYPE_LEA>: Use %a modifier
to output operand 1.
(ashift_zext lea splitter): Use DImode for multiplication.

From-SVN: r160434

gcc/ChangeLog
gcc/config/i386/i386.md

index c14df6ec795e7097b591469d0ab6fd81095b38eb..26aadfa1c8d17aa3c62940f4e02527745001d6df 100644 (file)
@@ -1,3 +1,9 @@
+2010-06-08  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (*movsi_1) <TYPE_LEA>: Use %a modifier
+       to output operand 1.
+       (ashift_zext lea splitter): Use DImode for multiplication.
+
 2010-06-04  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/i386/i386.md (*addqi_4): Check for incdec_operand in QImode.
index dcad8502723578ba5f183eb413e133c867b3f788..990c4715bc05eb4ab6da268348843a1785c12cb5 100644 (file)
       return "movd\t{%1, %0|%0, %1}";
 
     case TYPE_LEA:
-      return "lea{l}\t{%1, %0|%0, %1}";
+      return "lea{l}\t{%a1, %0|%0, %a1}";
 
     default:
       gcc_assert (!flag_pic || LEGITIMATE_PIC_OPERAND_P (operands[1]));
   "TARGET_64BIT && reload_completed
    && true_regnum (operands[0]) != true_regnum (operands[1])"
   [(set (match_dup 0) (zero_extend:DI
-                       (subreg:SI (mult:SI (match_dup 1)
+                       (subreg:SI (mult:DI (match_dup 1)
                                            (match_dup 2)) 0)))]
 {
   operands[1] = gen_lowpart (Pmode, operands[1]);