From 7f373225328afdf17875f73ee039a666eaafef0b Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 19 Oct 2007 15:09:37 -0700 Subject: X86: Implement the ENTER instruction. This could probably be optimized by cleaning up the indexing in the main loop. --HG-- extra : convert_revision : ad2d560f2a6f36176b22b8510c58cd6fe5a2c9c2 --- src/arch/x86/isa/decoder/one_byte_opcodes.isa | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/arch/x86/isa/decoder') diff --git a/src/arch/x86/isa/decoder/one_byte_opcodes.isa b/src/arch/x86/isa/decoder/one_byte_opcodes.isa index 4365c23fd..538bb4c32 100644 --- a/src/arch/x86/isa/decoder/one_byte_opcodes.isa +++ b/src/arch/x86/isa/decoder/one_byte_opcodes.isa @@ -394,7 +394,10 @@ } format WarnUnimpl { 0x19: decode OPCODE_OP_BOTTOM3 { - 0x0: enter_Iw_Ib(); + // The second parameter here should be of size b, but + // immediate sizes are determined elsewhere and this would + // confuse the instruction type specialization code. + 0x0: Inst::ENTER(Iw,Iw); 0x1: Inst::LEAVE(); 0x2: ret_far_Iw(); 0x3: ret_far(); -- cgit v1.2.3