diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-03-21 19:19:53 +0000 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-03-21 19:19:53 +0000 |
commit | 0a80d06deaaf6fc574abacc2fed9b74d0bca1085 (patch) | |
tree | 070b5addf386a199fb9837c07eabe85191b5d3ba /src/arch/x86/isa/formats/basic.isa | |
parent | 3efec59fc55a439353adbd859722d8a5d170c18d (diff) | |
download | gem5-0a80d06deaaf6fc574abacc2fed9b74d0bca1085.tar.xz |
Break out the one and two byte opcodes into different files. Also change what bits decode is done on to reflect where clumps of instructions are.
--HG--
extra : convert_revision : 8768676eac25e6a4f0dc50ce2dc576bdcdd6e025
Diffstat (limited to 'src/arch/x86/isa/formats/basic.isa')
-rw-r--r-- | src/arch/x86/isa/formats/basic.isa | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/arch/x86/isa/formats/basic.isa b/src/arch/x86/isa/formats/basic.isa index 7aea7085f..ea224d638 100644 --- a/src/arch/x86/isa/formats/basic.isa +++ b/src/arch/x86/isa/formats/basic.isa @@ -147,3 +147,12 @@ def template BasicDecode {{ def template BasicDecodeWithMnemonic {{ return new %(class_name)s("%(mnemonic)s", machInst); }}; + +// The most basic instruction format... used only for a few misc. insts +def format BasicOperate(code, *flags) {{ + iop = InstObjParams(name, Name, 'SparcStaticInst', code, flags) + header_output = BasicDeclare.subst(iop) + decoder_output = BasicConstructor.subst(iop) + decode_block = BasicDecode.subst(iop) + exec_output = BasicExecute.subst(iop) +}}; |