« Previous | Next » 

Revision 09d85fb8


Added by Kevin Wolf over 14 years ago

target-i386: Fix exceptions for fxsave/fxrstor

This patch corrects the following aspects of exception generation in

  • 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 <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences