« Previous | Next » 

Revision 09d85fb8

ID09d85fb8432e816eb6f9a0512f04bf8e8a218d2f

Added by Kevin Wolf almost 13 years ago

target-i386: Fix exceptions for fxsave/fxrstor

This patch corrects the following aspects of exception generation in
fxsave/fxrstor:

  • Generate #GP if the operand is not aligned to a 16 byte boundary
  • Generate #UD if the LOCK prefix is used
  • For CR0.EM = 1 #NM is generated, not #UD

Signed-off-by: Kevin Wolf <>
Signed-off-by: Aurelien Jarno <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences