UserspaceEmulator: Dump backtrace on FPU instruction

This commit is contained in:
Andreas Kling 2020-07-15 17:31:40 +02:00
parent 76b2a2789b
commit 0ce4d3e942

View file

@ -910,7 +910,14 @@ void SoftCPU::DIV_RM32(const X86::Instruction& insn)
void SoftCPU::DIV_RM8(const X86::Instruction&) { TODO(); } void SoftCPU::DIV_RM8(const X86::Instruction&) { TODO(); }
void SoftCPU::ENTER16(const X86::Instruction&) { TODO(); } void SoftCPU::ENTER16(const X86::Instruction&) { TODO(); }
void SoftCPU::ENTER32(const X86::Instruction&) { TODO(); } void SoftCPU::ENTER32(const X86::Instruction&) { TODO(); }
void SoftCPU::ESCAPE(const X86::Instruction&) { TODO(); }
void SoftCPU::ESCAPE(const X86::Instruction&)
{
dbg() << "FIXME: x87 floating-point support";
m_emulator.dump_backtrace();
TODO();
}
void SoftCPU::HLT(const X86::Instruction&) { TODO(); } void SoftCPU::HLT(const X86::Instruction&) { TODO(); }
void SoftCPU::IDIV_RM16(const X86::Instruction&) { TODO(); } void SoftCPU::IDIV_RM16(const X86::Instruction&) { TODO(); }