This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, i386]: Fix PR39897


H.J. Lu wrote:
On Sat, Apr 25, 2009 at 1:15 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
Hello!

Attached patch reverts %z handling of HImode operands back to previous
(wrong) state until better fix is found. Unfortunately, integer and
x87 operators don't agree which suffix to use for integer operands.

2009-04-25 Uros Bizjak <ubizjak@gmail.com>

       PR target/39897
       * config/i386/i386.c (print_operand) ['z']: Revert handling of
       HImode operands.

Tested on x86_64-pc-linux-gnu {,-m32}, committed to mainline.


This doesn't solve the problem. You need to add the 'w' suffix for integer
instructions with memory operand.

This is how %z always worked and that is excatly the reason why I try to fix this wrong behaviour.


Uros.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]