http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56114



Uros Bizjak <ubizjak at gmail dot com> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

             Status|UNCONFIRMED                 |ASSIGNED

   Last reconfirmed|                            |2013-01-26

         AssignedTo|unassigned at gcc dot       |ubizjak at gmail dot com

                   |gnu.org                     |

   Target Milestone|---                         |4.7.3

     Ever Confirmed|0                           |1



--- Comment #2 from Uros Bizjak <ubizjak at gmail dot com> 2013-01-26 09:21:30 
UTC ---

Proposed patch:



--cut here--

Index: config/i386/i386.md

===================================================================

--- config/i386/i386.md (revision 195486)

+++ config/i386/i386.md (working copy)

@@ -2308,7 +2308,7 @@

        (match_operand:SWI1248x 1 "nonmemory_operand" "a,r<i>"))]

   "TARGET_LP64 && ix86_check_movabs (insn, 0)"

   "@

-   movabs{<imodesuffix>}\t{%1, %P0|%P0, %1}

+   movabs{<imodesuffix>}\t{%1, %P0|%A0, %1}

    mov{<imodesuffix>}\t{%1, %a0|%a0, %1}"

   [(set_attr "type" "imov")

    (set_attr "modrm" "0,*")

@@ -2322,7 +2322,7 @@

         (mem:SWI1248x (match_operand:DI 1 "x86_64_movabs_operand" "i,r")))]

   "TARGET_LP64 && ix86_check_movabs (insn, 1)"

   "@

-   movabs{<imodesuffix>}\t{%P1, %0|%0, %P1}

+   movabs{<imodesuffix>}\t{%P1, %0|%0, %A1}

    mov{<imodesuffix>}\t{%a1, %0|%0, %a1}"

   [(set_attr "type" "imov")

    (set_attr "modrm" "0,*")

--cut here--

Reply via email to