On 12/11/25 20:06, Paolo Bonzini wrote:


Il gio 11 dic 2025, 23:22 Richard Henderson <[email protected] <mailto:[email protected]>> ha scritto:

     > Yes, I was confused by the comment and by QEMU's incorrect decoding 
logic:
     >
     >          if (CODE32(s) && !VM86(s)) {
     >
     > which should be changed to
     >
     >         if (PE(s) && !VM86(s)) {

    I can't find the language for that.  Can you point me at it?


It's the exception condition tables. They all mention that you get #UD for the VEX prefix in real or vm86 mode.

Ah right, found it.  Thanks.

Several BMI instructions also have language like "This instruction is not supported in real mode and virtual-8086 mode".

Amusingly, some of them dropped the "not" in that sentence -- see ADCX.


r~

Reply via email to