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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-15 
10:08:04 UTC ---
(In reply to comment #3)
> > What GCC is doing is correct in that it outputs the byte/word/dword
> > correctly for -masm=intel.
> But why for -masm=intel and not for -masm=att (the default)?

Because that is how the constraint works.  In intel style, size prefix is part
of the memory and not the instruction.  That is mov with the size being in the
operand vs mov[lwqb] which says the size.

Reply via email to