From 8e3b199cb8fc0109b0bfe87905bb3253b4e7b8c7 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 4 Sep 2007 23:32:18 -0700 Subject: X86: Add some SSE floating point/integer conversion microops. --HG-- extra : convert_revision : 2a1aa16709db940f5f40bbd84ca082f26b03b9c5 --- src/arch/x86/isa/decoder/two_byte_opcodes.isa | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/arch/x86/isa/decoder') diff --git a/src/arch/x86/isa/decoder/two_byte_opcodes.isa b/src/arch/x86/isa/decoder/two_byte_opcodes.isa index 6d5a04e2d..10b139fb9 100644 --- a/src/arch/x86/isa/decoder/two_byte_opcodes.isa +++ b/src/arch/x86/isa/decoder/two_byte_opcodes.isa @@ -201,8 +201,10 @@ } // repne (0xF2) 0x8: decode OPCODE_OP_BOTTOM3 { - 0x2: cvtsi2sd_Vq_Ed(); - 0x4: cvttsd2si_Gd_Wq(); + // The size of the V operand should be q, not dp + 0x2: Inst::CVTSI2SD(Vdp,Edp); + // The size of the W operand should be q, not dp + 0x4: Inst::CVTTSD2SI(Gdp,Wdp); 0x5: cvtsd2si_Gd_Wq(); default: Inst::UD2(); } -- cgit v1.2.3