diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-10-18 22:39:00 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-10-18 22:39:00 -0700 |
commit | dc2e887f238d48f15364d9937bc71940d3849c0a (patch) | |
tree | 66a15a82e0f159ecda21a03044debd00c8db5b02 /src/arch/x86/isa/decoder/one_byte_opcodes.isa | |
parent | 2bbc058c6c5e54c032106f804dd3084ed11f0f09 (diff) | |
download | gem5-dc2e887f238d48f15364d9937bc71940d3849c0a.tar.xz |
X86: Implement the in/out instructions. These will still need support from the TLB and memory system.
--HG--
extra : convert_revision : a9503248ea9efca7e5247e4f2830967f428b8215
Diffstat (limited to 'src/arch/x86/isa/decoder/one_byte_opcodes.isa')
-rw-r--r-- | src/arch/x86/isa/decoder/one_byte_opcodes.isa | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/arch/x86/isa/decoder/one_byte_opcodes.isa b/src/arch/x86/isa/decoder/one_byte_opcodes.isa index 6e7fdea35..29b952cab 100644 --- a/src/arch/x86/isa/decoder/one_byte_opcodes.isa +++ b/src/arch/x86/isa/decoder/one_byte_opcodes.isa @@ -476,10 +476,10 @@ 0x1: Inst::LOOPE(Jb); 0x2: Inst::LOOP(Jb); 0x3: Inst::JRCX(Jb); - 0x4: in_Al_Ib(); - 0x5: in_eAX_Ib(); - 0x6: out_Ib_Al(); - 0x7: out_Ib_eAX(); + 0x4: Inst::IN(rAb,Ib); + 0x5: Inst::IN(rAv,Iv); + 0x6: Inst::OUT(Ib,rAb); + 0x7: Inst::OUT(Iv,rAv); } 0x1D: decode OPCODE_OP_BOTTOM3 { 0x0: Inst::CALL_NEAR(Jz); @@ -489,10 +489,10 @@ default: jmp_far_Ap(); } 0x3: Inst::JMP(Jb); - 0x4: in_Al_Dx(); - 0x5: in_eAX_Dx(); - 0x6: out_Dx_Al(); - 0x7: out_Dx_eAX(); + 0x4: Inst::IN(rAb,rD); + 0x5: Inst::IN(rAv,rD); + 0x6: Inst::OUT(rD,rAb); + 0x7: Inst::OUT(rD,rAv); } 0x1E: decode OPCODE_OP_BOTTOM3 { 0x0: M5InternalError::error( |