Skip to contentSkip to conversation

FXSAVE doesn't #GP on alignment error

Qemu-devel Vegard Nossum 2 participants 2 messages Feb 13, 2008

lore
Share & tools
lore
#0 lore raw

Hello,

I am not sure if this should be treated as an error or not (it definitely isn't critical), but I'll post it as an extra information if it is useful or you think it should be fixed.

According to Intel manuals, the FXSAVE instruction requires the argument to be 16-byte aligned. On a real machine, violating this constraint results in a #GP. From experience, qemu will not enforce this alignment constraint.

Kind regards,
Vegard Nossum

#1 lore raw
Quoted 8 lines · Vegard Nossum

I am not sure if this should be treated as an error or not (it definitely isn't critical), but I'll post it as an extra information if it is useful or you think it should be fixed.

According to Intel manuals, the FXSAVE instruction requires the argument to be 16-byte aligned. On a real machine, violating this constraint results in a #GP. From experience, qemu will not enforce this alignment constraint.

+1 from me.

Signature · 1 line
Michal Schulz