OSDN Git Service

Enable *movabs<mode>_[12] only for TARGET_LP64
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 Feb 2012 16:48:26 +0000 (16:48 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 Feb 2012 16:48:26 +0000 (16:48 +0000)
2012-02-27  H.J. Lu  <hongjiu.lu@intel.com>

PR target/52352
* config/i386/i386.md (*movabs<mode>_1): Enable only for
TARGET_LP64.
(*movabs<mode>_2): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184604 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 0406ed2..27e196e 100644 (file)
@@ -1,3 +1,10 @@
+2012-02-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR target/52352
+       * config/i386/i386.md (*movabs<mode>_1): Enable only for
+       TARGET_LP64.
+       (*movabs<mode>_2): Likewise.
+
 2012-02-27  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/52375
index 630b114..7f5a9e0 100644 (file)
 (define_insn "*movabs<mode>_1"
   [(set (mem:SWI1248x (match_operand:DI 0 "x86_64_movabs_operand" "i,r"))
        (match_operand:SWI1248x 1 "nonmemory_operand" "a,r<i>"))]
-  "TARGET_64BIT && ix86_check_movabs (insn, 0)"
+  "TARGET_LP64 && ix86_check_movabs (insn, 0)"
   "@
    movabs{<imodesuffix>}\t{%1, %P0|%P0, %1}
    mov{<imodesuffix>}\t{%1, %a0|%a0, %1}"
 (define_insn "*movabs<mode>_2"
   [(set (match_operand:SWI1248x 0 "register_operand" "=a,r")
         (mem:SWI1248x (match_operand:DI 1 "x86_64_movabs_operand" "i,r")))]
-  "TARGET_64BIT && ix86_check_movabs (insn, 1)"
+  "TARGET_LP64 && ix86_check_movabs (insn, 1)"
   "@
    movabs{<imodesuffix>}\t{%P1, %0|%0, %P1}
    mov{<imodesuffix>}\t{%a1, %0|%0, %a1}"