summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa/decoder
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-10-19 15:09:37 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-10-19 15:09:37 -0700
commit7f373225328afdf17875f73ee039a666eaafef0b (patch)
tree98b32eeb596e73adf38304282ce122b3914c4711 /src/arch/x86/isa/decoder
parent63f4281d9da864ccd466df1acca2f7c0bec0cfee (diff)
downloadgem5-7f373225328afdf17875f73ee039a666eaafef0b.tar.xz
X86: Implement the ENTER instruction. This could probably be optimized by cleaning up the indexing in the main loop.
--HG-- extra : convert_revision : ad2d560f2a6f36176b22b8510c58cd6fe5a2c9c2
Diffstat (limited to 'src/arch/x86/isa/decoder')
-rw-r--r--src/arch/x86/isa/decoder/one_byte_opcodes.isa5
1 files changed, 4 insertions, 1 deletions
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();