diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-01-06 23:55:46 -0800 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-01-06 23:55:46 -0800 |
commit | b23633ad1b3210d54386a9bab8c453f2bb4b7874 (patch) | |
tree | 7c0b16dd98c346051dfc512aea2f664151d96eff /src/arch/x86/isa/formats | |
parent | 115b1a7ed350b9f1171b3f1b39c4c0875d1c0a5f (diff) | |
download | gem5-b23633ad1b3210d54386a9bab8c453f2bb4b7874.tar.xz |
X86: Hook in the M5 pseudo insts.
Diffstat (limited to 'src/arch/x86/isa/formats')
-rw-r--r-- | src/arch/x86/isa/formats/basic.isa | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/arch/x86/isa/formats/basic.isa b/src/arch/x86/isa/formats/basic.isa index 7aea7085f..b96bae238 100644 --- a/src/arch/x86/isa/formats/basic.isa +++ b/src/arch/x86/isa/formats/basic.isa @@ -147,3 +147,11 @@ def template BasicDecode {{ def template BasicDecodeWithMnemonic {{ return new %(class_name)s("%(mnemonic)s", machInst); }}; + +def format BasicOperate(code, *flags) {{ + iop = InstObjParams(name, Name, 'X86ISA::X86StaticInst', code, flags) + header_output = BasicDeclare.subst(iop) + decoder_output = BasicConstructor.subst(iop) + decode_block = BasicDecode.subst(iop) + exec_output = BasicExecute.subst(iop) +}}; |