diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-06-04 19:53:06 +0000 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-06-04 19:53:06 +0000 |
commit | dba02f703b1e7fc8639e0342bd572d9572520331 (patch) | |
tree | b7df72d9ca4f10e88d0883151a4ad02dd4b24bcd /src/arch/x86/isa/microops/base.isa | |
parent | ddbc26c85e267d3a0bdf6332d7e592bc9f17f604 (diff) | |
download | gem5-dba02f703b1e7fc8639e0342bd572d9572520331.tar.xz |
Make limm (load immediate) microop
--HG--
extra : convert_revision : f4883febd92cfade61c1a6a31fdb2d27296d9044
Diffstat (limited to 'src/arch/x86/isa/microops/base.isa')
-rw-r--r-- | src/arch/x86/isa/microops/base.isa | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/src/arch/x86/isa/microops/base.isa b/src/arch/x86/isa/microops/base.isa index 04cfa6e57..94726a0fb 100644 --- a/src/arch/x86/isa/microops/base.isa +++ b/src/arch/x86/isa/microops/base.isa @@ -204,63 +204,6 @@ def template MicroLdStOpConstructor {{ ////////////////////////////////////////////////////////////////////////// // -// LIMMOp Microop templates -// -////////////////////////////////////////////////////////////////////////// - -def template MicroLIMMOpDeclare {{ - class %(class_name)s : public X86MicroOpBase - { - protected: - const RegIndex dest; - const uint64_t imm; - void buildMe(); - - public: - %(class_name)s(ExtMachInst _machInst, - const char * instMnem, - bool isMicro, bool isDelayed, bool isFirst, bool isLast, - RegIndex _dest, uint64_t _imm); - - %(class_name)s(ExtMachInst _machInst, - const char * instMnem, - RegIndex _dest, uint64_t _imm); - - %(BasicExecDeclare)s - }; -}}; - -def template MicroLIMMOpConstructor {{ - - inline void %(class_name)s::buildMe() - { - %(constructor)s; - } - - inline %(class_name)s::%(class_name)s( - ExtMachInst machInst, const char * instMnem, - RegIndex _dest, uint64_t _imm) : - %(base_class)s(machInst, "%(mnemonic)s", instMnem, - false, false, false, false, %(op_class)s), - dest(_dest), imm(_imm) - { - buildMe(); - } - - inline %(class_name)s::%(class_name)s( - ExtMachInst machInst, const char * instMnem, - bool isMicro, bool isDelayed, bool isFirst, bool isLast, - RegIndex _dest, uint64_t _imm) : - %(base_class)s(machInst, "%(mnemonic)s", instMnem, - isMicro, isDelayed, isFirst, isLast, %(op_class)s), - dest(_dest), imm(_imm) - { - buildMe(); - } -}}; - -////////////////////////////////////////////////////////////////////////// -// // FpOp Microop templates // ////////////////////////////////////////////////////////////////////////// |