diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-03-21 21:07:43 +0000 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-03-21 21:07:43 +0000 |
commit | bbffaa8ee0af3a4c8454d63f197dbb3036918904 (patch) | |
tree | a80a6ebc59f7d68bc313067ecff6fc30880833b1 /src/arch/x86/isa/decoder | |
parent | 1707aa750f2dd2a7cf4da2934c93ef8e26faf244 (diff) | |
download | gem5-bbffaa8ee0af3a4c8454d63f197dbb3036918904.tar.xz |
Start implementing groups of instructions which do the same thing on different sets of inputs.
--HG--
extra : convert_revision : 6a5be61831588f801965dd4e80cb52f28911c320
Diffstat (limited to 'src/arch/x86/isa/decoder')
-rw-r--r-- | src/arch/x86/isa/decoder/one_byte_opcodes.isa | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/arch/x86/isa/decoder/one_byte_opcodes.isa b/src/arch/x86/isa/decoder/one_byte_opcodes.isa index 482786e6f..c56a8bf92 100644 --- a/src/arch/x86/isa/decoder/one_byte_opcodes.isa +++ b/src/arch/x86/isa/decoder/one_byte_opcodes.isa @@ -61,14 +61,14 @@ 0x1: decode OPCODE_OP_TOP5 { format WarnUnimpl { 0x00: decode OPCODE_OP_BOTTOM3 { - 0x0: add_Eb_Gb(); - 0x1: add_Ev_Gv(); - 0x2: add_Gb_Eb(); - 0x3: add_Gv_Ev(); - 0x4: add_Al_Ib(); - 0x5: add_rAX_Iz(); 0x6: push_ES(); 0x7: pop_ES(); + default: MultiOp::add( + {{out1 = in1 + in2}}, + OPCODE_OP_BOTTOM3, + [[Eb,Gb],[Ev,Gv], + [Gb,Eb],[Gv,Ev], + [Al,Ib],[rAx,Iz]]); } 0x01: decode OPCODE_OP_BOTTOM3 { 0x0: or_Eb_Gb(); |