OSDN Git Service

Backport from mainline
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Aug 2013 11:42:17 +0000 (11:42 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Aug 2013 11:42:17 +0000 (11:42 +0000)
2013-08-12  Perez Read  <netfirewall@gmail.com>

PR target/58132
* config/i386/i386.md (*movabs<mode>_1):  Add <ptrsize> PTR before
operand 0 for intel asm alternative.
(*movabs<mode>_2): Ditto for operand 1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@201814 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 0479d72..702f6bc 100644 (file)
@@ -1,3 +1,13 @@
+2013-08-17  Uros Bizjak  <ubizjak@gmail.com>
+
+       Backport from mainline
+       2013-08-12  Perez Read  <netfirewall@gmail.com>
+
+       PR target/58132
+       * config/i386/i386.md (*movabs<mode>_1):  Add <ptrsize> PTR before
+       operand 0 for intel asm alternative.
+       (*movabs<mode>_2): Ditto for operand 1.
+
 2013-08-13  Marek Polacek  <polacek@redhat.com>
 
        Backport from 4.8:
@@ -14,7 +24,7 @@
        2013-02-14  Steven Bosscher  <steven@gcc.gnu.org>
 
        * collect2-aix.h: Define F_LOADONLY.
-       
+
 2013-08-02  Eric Botcazou  <ebotcazou@adacore.com>
 
        * config/sparc/sparc.c (sparc_emit_membar_for_model) <SMM_TSO>: Add
index c76cd6b..f6124c2 100644 (file)
   "TARGET_LP64 && ix86_check_movabs (insn, 0)"
   "@
    movabs{<imodesuffix>}\t{%1, %P0|[%P0], %1}
-   mov{<imodesuffix>}\t{%1, %a0|%a0, %1}"
+   mov{<imodesuffix>}\t{%1, %a0|<iptrsize> PTR %a0, %1}"
   [(set_attr "type" "imov")
    (set_attr "modrm" "0,*")
    (set_attr "length_address" "8,0")
   "TARGET_LP64 && ix86_check_movabs (insn, 1)"
   "@
    movabs{<imodesuffix>}\t{%P1, %0|%0, [%P1]}
-   mov{<imodesuffix>}\t{%a1, %0|%0, %a1}"
+   mov{<imodesuffix>}\t{%a1, %0|%0, <iptrsize> PTR %a1}"
   [(set_attr "type" "imov")
    (set_attr "modrm" "0,*")
    (set_attr "length_address" "8,0")