1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:27:35 +00:00

LibX86: Correct CVTSS2SI's register signature

This was annotated the wrong way around.
This commit is contained in:
Hendiadyoin1 2022-04-05 12:24:42 +02:00 committed by Andreas Kling
parent 7826729ab2
commit fd2af972ed
6 changed files with 6 additions and 6 deletions

View file

@ -218,7 +218,7 @@ void SoftVPU::CVTTSS2SI_r32_xmm2m32(X86::Instruction const& insn)
m_cpu.gpr32(insn.reg32()) = ValueWithShadow<u32>::create_initialized((u32)lround(value));
}
void SoftVPU::CVTPS2PI_xmm1_mm2m64(X86::Instruction const&) { TODO(); }
void SoftVPU::CVTSS2SI_xmm1_rm32(X86::Instruction const& insn)
void SoftVPU::CVTSS2SI_r32_xmm2m32(X86::Instruction const& insn)
{
// FIXME: Raise Invalid, Precision
insn.modrm().write32(m_cpu, insn,