#UD exception condition for SSE instructions fixed

This commit is contained in:
Stanislav Shwartsman 2002-11-08 20:27:42 +00:00
parent 3cd6f7282d
commit 790430bf22

View File

@ -34,7 +34,7 @@ void BX_CPU_C::prepareSSE(void)
if(BX_CPU_THIS_PTR cr0.em)
exception(BX_UD_EXCEPTION, 0, 0);
if(! (BX_CPU_THIS_PTR cr4.get_OSXMMEXCPT()))
if(! (BX_CPU_THIS_PTR cr4.get_OSFXSR()))
exception(BX_UD_EXCEPTION, 0, 0);
}