diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-12-01 23:05:01 -0800 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-12-01 23:05:01 -0800 |
commit | fe833dd2c33818a1f92f87ea26b17e6b85d3976e (patch) | |
tree | d87babd2357acd86c2617460f704b911d8480945 /src/arch/x86/isa/decoder | |
parent | dc6f96017135da7f3beae5055195de3cf8e47c6c (diff) | |
download | gem5-fe833dd2c33818a1f92f87ea26b17e6b85d3976e.tar.xz |
X86: First crack at far returns. This is grossly approximate.
--HG--
extra : convert_revision : 23da0338af1f7663ae5ddf2289fb45dd32f37c42
Diffstat (limited to 'src/arch/x86/isa/decoder')
-rw-r--r-- | src/arch/x86/isa/decoder/one_byte_opcodes.isa | 5 |
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 0d1d7aacd..332ae1641 100644 --- a/src/arch/x86/isa/decoder/one_byte_opcodes.isa +++ b/src/arch/x86/isa/decoder/one_byte_opcodes.isa @@ -413,7 +413,10 @@ 0x0: Inst::ENTER(Iw,Iw); 0x1: Inst::LEAVE(); 0x2: ret_far_Iw(); - 0x3: ret_far(); + 0x3: decode MODE_SUBMODE { + 0x3, 0x4: ret_far_real(); + default: Inst::RET_FAR(); + } 0x4: int3(); 0x5: int_Ib(); 0x6: decode MODE_SUBMODE { |