https://bugs.kde.org/show_bug.cgi?id=432809

Mark Wielaard <m...@klomp.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #3 from Mark Wielaard <m...@klomp.org> ---
I checked. PUSH and POP do always upgrade sz == 4 to sz = 8 but allow sz == 8
too. PUSHF actually has a note about having seen a dedundant REX prefix:

   case 0x9C: /* PUSHF */ {
      /* Note.  There is no encoding for a 32-bit pushf in 64-bit
         mode.  So sz==4 actually means sz==8. */
      /* 24 July 06: has also been seen with a redundant REX prefix,
         so must also allow sz==8. */

We don't handle sz == 8 for LEAVE. But reading the instruction manual that
seems tricky since it has to match the size operand of the corresponding ENTER
(where we also don't handle sz == 8).

In summary, I think the patch is correct.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to