diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2010-08-23 09:44:19 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2010-08-23 09:44:19 -0700 |
commit | 9581562e653f6df810e40c076bc97d50daccf302 (patch) | |
tree | cda56ce9cae5dfed609c9d3704b6b47cae4a791a /src/arch/x86/isa/microops/ldstop.isa | |
parent | f6182f948bdc05f3d0949627378ac5d15eea8e58 (diff) | |
download | gem5-9581562e653f6df810e40c076bc97d50daccf302.tar.xz |
X86: Get rid of the flagless microop constructor.
This will reduce clutter in the source and hopefully speed up compilation.
Diffstat (limited to 'src/arch/x86/isa/microops/ldstop.isa')
-rw-r--r-- | src/arch/x86/isa/microops/ldstop.isa | 45 |
1 files changed, 1 insertions, 44 deletions
diff --git a/src/arch/x86/isa/microops/ldstop.isa b/src/arch/x86/isa/microops/ldstop.isa index 04c973883..089f09ffb 100644 --- a/src/arch/x86/isa/microops/ldstop.isa +++ b/src/arch/x86/isa/microops/ldstop.isa @@ -71,9 +71,6 @@ def template MicroLeaExecute {{ def template MicroLeaDeclare {{ class %(class_name)s : public %(base_class)s { - protected: - void buildMe(); - public: %(class_name)s(ExtMachInst _machInst, const char * instMnem, uint64_t setFlags, @@ -83,14 +80,6 @@ def template MicroLeaDeclare {{ uint8_t _dataSize, uint8_t _addressSize, Request::FlagsType _memFlags); - %(class_name)s(ExtMachInst _machInst, - const char * instMnem, - uint8_t _scale, InstRegIndex _index, InstRegIndex _base, - uint64_t _disp, InstRegIndex _segment, - InstRegIndex _data, - uint8_t _dataSize, uint8_t _addressSize, - Request::FlagsType _memFlags); - %(BasicExecDeclare)s }; }}; @@ -246,9 +235,6 @@ def template CompleteAccDeclare {{ def template MicroLdStOpDeclare {{ class %(class_name)s : public %(base_class)s { - protected: - void buildMe(); - public: %(class_name)s(ExtMachInst _machInst, const char * instMnem, uint64_t setFlags, @@ -258,14 +244,6 @@ def template MicroLdStOpDeclare {{ uint8_t _dataSize, uint8_t _addressSize, Request::FlagsType _memFlags); - %(class_name)s(ExtMachInst _machInst, - const char * instMnem, - uint8_t _scale, InstRegIndex _index, InstRegIndex _base, - uint64_t _disp, InstRegIndex _segment, - InstRegIndex _data, - uint8_t _dataSize, uint8_t _addressSize, - Request::FlagsType _memFlags); - %(BasicExecDeclare)s %(InitiateAccDeclare)s @@ -275,27 +253,6 @@ def template MicroLdStOpDeclare {{ }}; def template MicroLdStOpConstructor {{ - - inline void %(class_name)s::buildMe() - { - %(constructor)s; - } - - inline %(class_name)s::%(class_name)s( - ExtMachInst machInst, const char * instMnem, - uint8_t _scale, InstRegIndex _index, InstRegIndex _base, - uint64_t _disp, InstRegIndex _segment, - InstRegIndex _data, - uint8_t _dataSize, uint8_t _addressSize, - Request::FlagsType _memFlags) : - %(base_class)s(machInst, "%(mnemonic)s", instMnem, 0, - _scale, _index, _base, - _disp, _segment, _data, - _dataSize, _addressSize, _memFlags, %(op_class)s) - { - buildMe(); - } - inline %(class_name)s::%(class_name)s( ExtMachInst machInst, const char * instMnem, uint64_t setFlags, uint8_t _scale, InstRegIndex _index, InstRegIndex _base, @@ -308,7 +265,7 @@ def template MicroLdStOpConstructor {{ _disp, _segment, _data, _dataSize, _addressSize, _memFlags, %(op_class)s) { - buildMe(); + %(constructor)s; } }}; |