Merged BOCHS-SSE branch with latest main trunk sources
This commit is contained in:
parent
6055351e63
commit
b4f1a57924
589
bochs/cpu/sse.cc
Normal file
589
bochs/cpu/sse.cc
Normal file
@ -0,0 +1,589 @@
|
||||
#define NEED_CPU_REG_SHORTCUTS 1
|
||||
#include "bochs.h"
|
||||
#define LOG_THIS BX_CPU_THIS_PTR
|
||||
|
||||
#if BX_SUPPORT_SSE
|
||||
void BX_CPU_C::PrepareSseInstruction(void)
|
||||
{
|
||||
if(BX_CPU_THIS_PTR cr0.ts)
|
||||
exception(BX_NM_EXCEPTION, 0, 0);
|
||||
|
||||
if(BX_CPU_THIS_PTR cr0.em)
|
||||
exception(BX_UD_EXCEPTION, 0, 0);
|
||||
|
||||
if(! (BX_CPU_THIS_PTR cr4.get_OSXMMEXCPT()))
|
||||
exception(BX_UD_EXCEPTION, 0, 0);
|
||||
}
|
||||
#endif
|
||||
|
||||
void BX_CPU_C::MOVUPS_VpsWps(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction MOVUPS_VpsWps still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::MOVSS_VssWss(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_CPU_THIS_PTR PrepareSseInstruction();
|
||||
|
||||
BX_PANIC(("SSE Instruction MOVSS_VssWss still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::MOVUPS_WpsVps(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction MOVUPS_WpsVps still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::MOVSS_WssVss(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction MOVSS_WssVss still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::MOVLPS_VpsMq(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction MOVLPS_VpsMq still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::MOVLPS_MqVps(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction MOVLPS_MqVps still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::UNPCKLPS_VpsWq(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction UNPCKLPS_VpsWq still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::UNPCKHPS_VpsWq(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction UNPCKHPS_VpsWq still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::MOVHPS_VpsMq(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction MOVHPS_VpsMq still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::MOVHPS_MqVps(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction MOVHPS_MqVps still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::MOVAPS_VpsWps(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction MOVAPS_VpsWps still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::MOVAPS_WpsVps(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction MOVAPS_WpsVps still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::CVTPI2PS_VpsQq(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction CVTPI2PS_VpsQq still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::CVTSI2SS_VssEd(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction CVTSI2SS_VssEd still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::MOVNTPS_MdqVps(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction MOVNTPS_MdqVps still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::CVTTPS2PI_PqWps(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction CVTTPS2PI_PqWps still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::CVTTSS2SI_GdWss(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction CVTTSS2SI_GdWss still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::CVTPS2PI_PqWps(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction CVTPS2PI_PqWps still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::CVTSS2SI_GdWss(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction CVTSS2SI_GdWss still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::UCOMISS_VssWss(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction UCOMISS_VssWss still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::COMISS_VpsWps(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction COMISS_VpsWps still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::MOVMSKPS_GdVRps(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction MOVMSKPS_GdVRps still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::SQRTPS_VpsWps(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction SQRTPS_VpsWps still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::SQRTSS_VssWss(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction SQRTSS_VssWss still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::RSQRTPS_VpsWps(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction RSQRTPS_VpsWps still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::RSQRTSS_VssWss(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction RSQRTSS_VssWss still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::RCPPS_VpsWps(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction RCPPS_VpsWps still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::RCPSS_VssWss(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction RCPSS_VssWss still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::ANDPS_VpsWps(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction ANDPS_VpsWps still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::ANDNPS_VpsWps(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction ANDNPS_VpsWps still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::ORPS_VpsWps(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction ORPS_VpsWps still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::XORPS_VpsWps(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction XORPS_VpsWps still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::ADDPS_VpsWps(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction ADDPS_VpsWps still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::ADDSS_VssWss(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction ADDSS_VssWss still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::MULPS_VpsWps(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction MULPS_VpsWps still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::MULSS_VssWss(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction MULSS_VssWss still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::SUBPS_VpsWps(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction SUBPS_VpsWps still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::SUBSS_VssWss(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction SUBSS_VssWss still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::MINPS_VpsWps(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction MINPS_VpsWps still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::MINSS_VssWss(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction MINSS_VssWss still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::DIVPS_VpsWps(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction DIVPS_VpsWps still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::DIVSS_VssWss(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction DIVSS_VssWss still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::MAXPS_VpsWps(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction MAXPS_VpsWps still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::MAXSS_VssWss(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction MAXSS_VssWss still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::PSHUFLW_VqWqIb(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction PSHUFLW_VqWqIb still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::CMPPS_VpsWpsIb(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction CMPPS_VpsWpsIb still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::CMPSS_VssWssIb(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction CMPSS_VssWssIb still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::PINSRW_PqEdIb(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction PINSRW_PqEdIb still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::PEXTRW_PqEdIb(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction PEXTRW_PqEdIb still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::SHUFPS_VpsWpsIb(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction SHUFPS_VpsWpsIb still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::PMOVMSKB_GdPRq(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction PMOVMSKB_GdPRq still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::MOVNTQ_MqPq(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction MOVNTQ_MqPq still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::MASKMOVQ_PqPRq(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction MASKMOVQ_PqPRq still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::LDMXCSR(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction LDMXCSR still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::STMXCSR(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction STMXCSR still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::FXSAVE(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction FXSAVE still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
||||
|
||||
void BX_CPU_C::FXRSTOR(bxInstruction_c *i)
|
||||
{
|
||||
#if BX_SUPPORT_SSE
|
||||
BX_PANIC(("SSE Instruction FXRSTOR still not implemented"));
|
||||
#else
|
||||
BX_INFO(("SSE instruction set not supported in current configuration"));
|
||||
UndefinedOpcode(i);
|
||||
#endif
|
||||
}
|
1383
bochs/cpu/sse2.cc
Normal file
1383
bochs/cpu/sse2.cc
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user