arch: remove inline specifiers on all inst constrs, all ISAs
authorCurtis Dunham <Curtis.Dunham@arm.com>
Fri, 9 May 2014 22:58:46 +0000 (18:58 -0400)
committerCurtis Dunham <Curtis.Dunham@arm.com>
Fri, 9 May 2014 22:58:46 +0000 (18:58 -0400)
With (upcoming) separate compilation, they are useless.  Only
link-time optimization could re-inline them, but ideally
feedback-directed optimization would choose to do so only for
profitable (i.e. common) instructions.

31 files changed:
src/arch/alpha/isa/main.isa
src/arch/alpha/isa/mem.isa
src/arch/arm/isa/templates/basic.isa
src/arch/arm/isa/templates/branch.isa
src/arch/arm/isa/templates/branch64.isa
src/arch/arm/isa/templates/data64.isa
src/arch/arm/isa/templates/mem.isa
src/arch/arm/isa/templates/mem64.isa
src/arch/arm/isa/templates/misc.isa
src/arch/arm/isa/templates/misc64.isa
src/arch/arm/isa/templates/mult.isa
src/arch/arm/isa/templates/pred.isa
src/arch/arm/isa/templates/vfp.isa
src/arch/arm/isa/templates/vfp64.isa
src/arch/mips/isa/formats/basic.isa
src/arch/mips/isa/formats/mem.isa
src/arch/power/isa/formats/basic.isa
src/arch/power/isa/formats/integer.isa
src/arch/power/isa/formats/mem.isa
src/arch/sparc/isa/formats/basic.isa
src/arch/sparc/isa/formats/mem/blockmem.isa
src/arch/sparc/isa/formats/priv.isa
src/arch/x86/isa/formats/basic.isa
src/arch/x86/isa/macroop.isa
src/arch/x86/isa/microops/fpop.isa
src/arch/x86/isa/microops/ldstop.isa
src/arch/x86/isa/microops/limmop.isa
src/arch/x86/isa/microops/mediaop.isa
src/arch/x86/isa/microops/regop.isa
src/arch/x86/isa/microops/seqop.isa
src/arch/x86/isa/microops/specop.isa

index 4d7dccb1526abb3106839e34526aecdda526816b..b2b35a1c1f81c30f9210ee4e88990a495ecd6ddd 100644 (file)
@@ -314,7 +314,7 @@ def template BasicDeclare {{
 
 // Basic instruction class constructor template.
 def template BasicConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst)
+    %(class_name)s::%(class_name)s(ExtMachInst machInst)
          : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
     {
         %(constructor)s;
index ef140f51548f199f72028a6fcc77e1843e312bcd..73b04c573e0ba9aa637ebbb1bf0a6ed4164d4bec 100644 (file)
@@ -155,7 +155,7 @@ def template CompleteAccDeclare {{
 }};
 
 def template LoadStoreConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst)
+    %(class_name)s::%(class_name)s(ExtMachInst machInst)
          : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
     {
         %(constructor)s;
index de4506e054c04a140d1e9492b422eb7418cb781d..e202a47686908b021d1fa4ab53a1ed6292e4ab47 100644 (file)
@@ -73,7 +73,7 @@ def template BasicConstructor {{
 }};
 
 def template BasicConstructor64 {{
-        inline %(class_name)s::%(class_name)s(ExtMachInst machInst)  : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
+        %(class_name)s::%(class_name)s(ExtMachInst machInst)  : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
         {
             %(constructor)s;
         }
index ee06bf573db7fd339e70213852430df004148efb..c8efdb7a6a447f156c6fafa01aedd88982a4d70e 100644 (file)
@@ -48,7 +48,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template BranchImmConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           int32_t _imm)
         : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, _imm)
     {
@@ -81,7 +81,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template BranchImmCondConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           int32_t _imm,
                                           ConditionCode _condCode)
         : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
@@ -110,7 +110,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template BranchRegConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _op1)
         : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, _op1)
     {
@@ -140,7 +140,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template BranchRegCondConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _op1,
                                           ConditionCode _condCode)
         : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
@@ -187,7 +187,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template BranchRegRegConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _op1,
                                           IntRegIndex _op2)
         : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, _op1, _op2)
@@ -218,7 +218,7 @@ class %(class_name)s : public %(base_class)s
 // Only used by CBNZ, CBZ which is conditional based on
 // a register value even though the instruction is always unconditional.
 def template BranchImmRegConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           int32_t _imm,
                                           IntRegIndex _op1)
         : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, _imm, _op1)
index 84b3e6ae78c3b73d98c42e6e17f4ed9da906f755..241d12260c1fd642ed25998c124b3934d4a4d47f 100644 (file)
@@ -48,7 +48,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template BranchImm64Constructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           int64_t _imm)
         : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, _imm)
     {
@@ -68,7 +68,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template BranchImmCond64Constructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           int64_t _imm,
                                           ConditionCode _condCode)
         : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
@@ -89,7 +89,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template BranchReg64Constructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _op1)
         : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, _op1)
     {
@@ -109,7 +109,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template BranchImmReg64Constructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           int64_t _imm,
                                           IntRegIndex _op1)
         : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, _imm, _op1)
@@ -130,7 +130,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template BranchImmImmReg64Constructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           int64_t _imm1, int64_t _imm2,
                                           IntRegIndex _op1)
         : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
index b6f7ce8d0dd577c5fb5855f9eec565074b567b61..7b0438a012097558bb5b3d490e81cfc91ceb6792 100644 (file)
@@ -49,7 +49,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template DataXImmConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           IntRegIndex _op1,
                                           uint64_t _imm)
@@ -73,7 +73,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template DataXSRegConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           IntRegIndex _op1,
                                           IntRegIndex _op2,
@@ -99,7 +99,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template DataXERegConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           IntRegIndex _op1,
                                           IntRegIndex _op2,
@@ -124,7 +124,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template DataX1RegConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           IntRegIndex _op1)
         : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, _dest, _op1)
@@ -145,7 +145,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template DataX2RegConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           IntRegIndex _op1,
                                           IntRegIndex _op2)
@@ -168,7 +168,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template DataX2RegImmConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           IntRegIndex _op1,
                                           IntRegIndex _op2,
@@ -192,7 +192,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template DataX3RegConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           IntRegIndex _op1,
                                           IntRegIndex _op2,
@@ -216,7 +216,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template DataXCondCompImmConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _op1,
                                           uint64_t _imm,
                                           ConditionCode _condCode,
@@ -241,7 +241,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template DataXCondCompRegConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _op1,
                                           IntRegIndex _op2,
                                           ConditionCode _condCode,
@@ -266,7 +266,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template DataXCondSelConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           IntRegIndex _op1,
                                           IntRegIndex _op2,
index 7682c277d348e0070277490639b22a102a04ed0e..e052cbb9d574976774702f50e711e6e42d8e3db0 100644 (file)
@@ -860,7 +860,7 @@ def template CompleteAccDeclare {{
 }};
 
 def template RfeConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           uint32_t _base, int _mode, bool _wb)
         : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
                          (IntRegIndex)_base, (AddrMode)_mode, _wb)
@@ -889,7 +889,7 @@ def template RfeConstructor {{
 }};
 
 def template SrsConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
             uint32_t _regMode, int _mode, bool _wb)
          : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
                  (OperatingMode)_regMode, (AddrMode)_mode, _wb)
@@ -912,7 +912,7 @@ def template SrsConstructor {{
 }};
 
 def template SwapConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
             uint32_t _dest, uint32_t _op1, uint32_t _base)
          : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
                  (IntRegIndex)_dest, (IntRegIndex)_op1, (IntRegIndex)_base)
@@ -927,7 +927,7 @@ def template SwapConstructor {{
 }};
 
 def template LoadStoreDImmConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
             uint32_t _dest, uint32_t _dest2,
             uint32_t _base, bool _add, int32_t _imm)
          : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
@@ -952,7 +952,7 @@ def template LoadStoreDImmConstructor {{
 }};
 
 def template StoreExDImmConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
             uint32_t _result, uint32_t _dest, uint32_t _dest2,
             uint32_t _base, bool _add, int32_t _imm)
          : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
@@ -979,7 +979,7 @@ def template StoreExDImmConstructor {{
 }};
 
 def template LoadStoreImmConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
             uint32_t _dest, uint32_t _base, bool _add, int32_t _imm)
          : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
                  (IntRegIndex)_dest, (IntRegIndex)_base, _add, _imm)
@@ -1002,7 +1002,7 @@ def template LoadStoreImmConstructor {{
 }};
 
 def template StoreExImmConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
             uint32_t _result, uint32_t _dest, uint32_t _base,
             bool _add, int32_t _imm)
          : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
@@ -1028,7 +1028,7 @@ def template StoreExImmConstructor {{
 }};
 
 def template StoreDRegConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
             uint32_t _dest, uint32_t _dest2, uint32_t _base, bool _add,
             int32_t _shiftAmt, uint32_t _shiftType, uint32_t _index)
          : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
@@ -1056,7 +1056,7 @@ def template StoreDRegConstructor {{
 }};
 
 def template StoreRegConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
             uint32_t _dest, uint32_t _base, bool _add,
             int32_t _shiftAmt, uint32_t _shiftType, uint32_t _index)
          : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
@@ -1083,7 +1083,7 @@ def template StoreRegConstructor {{
 }};
 
 def template LoadDRegConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
             uint32_t _dest, uint32_t _dest2, uint32_t _base, bool _add,
             int32_t _shiftAmt, uint32_t _shiftType, uint32_t _index)
          : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
@@ -1123,7 +1123,7 @@ def template LoadDRegConstructor {{
 }};
 
 def template LoadRegConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
             uint32_t _dest, uint32_t _base, bool _add,
             int32_t _shiftAmt, uint32_t _shiftType, uint32_t _index)
          : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
@@ -1189,7 +1189,7 @@ def template LoadRegConstructor {{
 }};
 
 def template LoadImmConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
             uint32_t _dest, uint32_t _base, bool _add, int32_t _imm)
          : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
                  (IntRegIndex)_dest, (IntRegIndex)_base, _add, _imm)
index 87dcba988217fd6b5ae8668055af00d480146916..4d4b27ba93c0198e74189df7d4a22138095bcb74 100644 (file)
@@ -589,7 +589,7 @@ def template LoadStoreImmDU64Constructor {{
 }};
 
 def template StoreImmDEx64Constructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
             IntRegIndex _result, IntRegIndex _dest, IntRegIndex _dest2,
             IntRegIndex _base, int64_t _imm)
          : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
index 36db5b6c247bcb34d34c1992a43adb134be6e5e5..c3866a51fb73099aa5adbc16a20b7818001d8727 100644 (file)
@@ -49,7 +49,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template MrsConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest)
         : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, _dest)
     {
@@ -78,7 +78,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template MrsBankedRegConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           uint8_t     _sysM,
                                           bool        _r)
@@ -109,7 +109,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template MsrBankedRegConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _op1,
                                           uint8_t     _sysM,
                                           bool        _r)
@@ -137,7 +137,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template MsrRegConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _op1,
                                           uint8_t mask)
         : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, _op1, mask)
@@ -163,7 +163,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template MsrImmConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           uint32_t imm,
                                           uint8_t mask)
         : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, imm, mask)
@@ -190,7 +190,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template MrrcOpConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex op1,
                                           IntRegIndex dest,
                                           IntRegIndex dest2,
@@ -220,7 +220,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template McrrOpConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex op1,
                                           IntRegIndex op2,
                                           IntRegIndex dest,
@@ -249,7 +249,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template ImmOpConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst, uint64_t _imm)
+    %(class_name)s::%(class_name)s(ExtMachInst machInst, uint64_t _imm)
         : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, _imm)
     {
         %(constructor)s;
@@ -273,7 +273,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template RegImmOpConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
             IntRegIndex _dest, uint64_t _imm)
         : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, _dest, _imm)
     {
@@ -299,7 +299,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template RegRegOpConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest, IntRegIndex _op1)
         : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, _dest, _op1)
     {
@@ -326,7 +326,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template RegRegRegImmOpConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           IntRegIndex _op1,
                                           IntRegIndex _op2,
@@ -357,7 +357,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template RegRegRegRegOpConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           IntRegIndex _op1,
                                           IntRegIndex _op2,
@@ -387,7 +387,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template RegRegRegOpConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           IntRegIndex _op1,
                                           IntRegIndex _op2)
@@ -417,7 +417,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template RegRegImmOpConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           IntRegIndex _op1,
                                           uint64_t _imm)
@@ -446,7 +446,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template RegImmImmOpConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           uint64_t _imm1,
                                           uint64_t _imm2)
@@ -476,7 +476,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template RegRegImmImmOpConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           IntRegIndex _op1,
                                           uint64_t _imm1,
@@ -506,7 +506,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template RegImmRegOpConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           uint64_t _imm,
                                           IntRegIndex _op1)
@@ -536,7 +536,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template RegImmRegShiftOpConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           uint64_t _imm,
                                           IntRegIndex _op1,
index 09d3d44700bd4b82b6a993e262991a0aa69bc114..3ccb3dc17bc1da865ecdd86765fb6091cf7992fa 100644 (file)
@@ -51,7 +51,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template RegRegImmImmOp64Constructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           IntRegIndex _op1,
                                           uint64_t _imm1,
@@ -77,7 +77,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template RegRegRegImmOp64Constructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           IntRegIndex _op1,
                                           IntRegIndex _op2,
index dd4847fd4d7ac407dc3f794b9d885456ebf2642d..0099e5c9d10cb2339af3c2a561c4d85571fb791a 100644 (file)
@@ -49,7 +49,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template Mult3Constructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _reg0,
                                           IntRegIndex _reg1,
                                           IntRegIndex _reg2)
@@ -78,7 +78,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template Mult4Constructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _reg0,
                                           IntRegIndex _reg1,
                                           IntRegIndex _reg2,
index 42f515a3c8ad85b1325abd42d355d57b4dd2de01..9973e9a2a840d1413dd93e46a4b508ded2189c24 100644 (file)
@@ -62,7 +62,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template DataImmConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           IntRegIndex _op1,
                                           uint32_t _imm,
@@ -101,7 +101,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template DataRegConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           IntRegIndex _op1,
                                           IntRegIndex _op2,
@@ -146,7 +146,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template DataRegRegConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           IntRegIndex _op1,
                                           IntRegIndex _op2,
index 176b6604c19937b4b2078f66b754d03e8b93f897..fbd7275d59a5557ecadd2eb73686ec09fa39332f 100644 (file)
@@ -166,7 +166,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template FpRegRegOpConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest, IntRegIndex _op1,
                                           VfpMicroMode mode)
         : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
@@ -193,7 +193,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template FpRegImmOpConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
             IntRegIndex _dest, uint64_t _imm, VfpMicroMode mode)
         : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
                 _dest, _imm, mode)
@@ -220,7 +220,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template FpRegRegImmOpConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           IntRegIndex _op1,
                                           uint64_t _imm,
@@ -250,7 +250,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template FpRegRegRegOpConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           IntRegIndex _op1,
                                           IntRegIndex _op2,
index 0935cd78aa5dd9588f52c32f7aaa36b3d75d3b79..761a853a975f5e6c31347e12527706a9e7a9f23b 100644 (file)
@@ -38,7 +38,7 @@
 // Authors: Thomas Grocutt
 
 def template AA64FpRegRegOpConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest, IntRegIndex _op1,
                                           VfpMicroMode mode)
         : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
@@ -52,7 +52,7 @@ def template AA64FpRegRegOpConstructor {{
 }};
 
 def template AA64FpRegImmOpConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
             IntRegIndex _dest, uint64_t _imm, VfpMicroMode mode)
         : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
                 _dest, _imm, mode)
@@ -65,7 +65,7 @@ def template AA64FpRegImmOpConstructor {{
 }};
 
 def template AA64FpRegRegImmOpConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           IntRegIndex _op1,
                                           uint64_t _imm,
@@ -81,7 +81,7 @@ def template AA64FpRegRegImmOpConstructor {{
 }};
 
 def template AA64FpRegRegRegOpConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           IntRegIndex _op1,
                                           IntRegIndex _op2,
@@ -109,7 +109,7 @@ class %(class_name)s : public %(base_class)s
 }};
 
 def template AA64FpRegRegRegRegOpConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
+    %(class_name)s::%(class_name)s(ExtMachInst machInst,
                                           IntRegIndex _dest,
                                           IntRegIndex _op1,
                                           IntRegIndex _op2,
index 92568c5fa3759155ea3c573a581248dc6058fae0..46c48548c97629b323a8c752e7ab98e57f775883 100644 (file)
@@ -52,7 +52,7 @@ def template BasicDeclare {{
 
 // Basic instruction class constructor template.
 def template BasicConstructor {{
-        inline %(class_name)s::%(class_name)s(MachInst machInst)  : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
+        %(class_name)s::%(class_name)s(MachInst machInst)  : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
         {
                 %(constructor)s;
         }
index 64d0000059be4cd2aaf7b495f53e5beeb37db0cc..3e7a8de5acf00a614990eea5197d6859104cc565 100644 (file)
@@ -166,7 +166,7 @@ def template CompleteAccDeclare {{
 }};
 
 def template LoadStoreConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst)
+    %(class_name)s::%(class_name)s(ExtMachInst machInst)
          : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
     {
         %(constructor)s;
index adb5e7ef86f8217708fb337036da2288b5c5f391..c6532429c2d389e54acd64fa9727ce046904d7dd 100644 (file)
@@ -49,7 +49,7 @@ def template BasicDeclare {{
 
 // Basic instruction class constructor template.
 def template BasicConstructor {{
-        inline %(class_name)s::%(class_name)s(ExtMachInst machInst)  : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
+        %(class_name)s::%(class_name)s(ExtMachInst machInst)  : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
         {
                 %(constructor)s;
         }
index 0766826ec8a073d45e25509f403e5dcacda422ff..4489dae47ee0baffe569a9e6e2a8b50e53491b78 100644 (file)
@@ -36,7 +36,7 @@
 
 // Instruction class constructor template when Rc is set.
 def template IntRcConstructor {{
-        inline %(class_name)s::%(class_name)s(ExtMachInst machInst)  : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
+        %(class_name)s::%(class_name)s(ExtMachInst machInst)  : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
         {
                 %(constructor)s;
                 rcSet = true;
@@ -46,7 +46,7 @@ def template IntRcConstructor {{
 
 // Instruction class constructor template when OE is set.
 def template IntOeConstructor {{
-        inline %(class_name)s::%(class_name)s(ExtMachInst machInst)  : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
+        %(class_name)s::%(class_name)s(ExtMachInst machInst)  : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
         {
                 %(constructor)s;
                 oeSet = true;
@@ -56,7 +56,7 @@ def template IntOeConstructor {{
 
 // Instruction class constructor template when both Rc and OE are set.
 def template IntRcOeConstructor {{
-        inline %(class_name)s::%(class_name)s(ExtMachInst machInst)  : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
+        %(class_name)s::%(class_name)s(ExtMachInst machInst)  : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
         {
                 %(constructor)s;
                 rcSet = true;
index a409eefac756b95b4dbf914c3a5265a621a6ca99..22a102ad7b62dea16b74760a06df0b358600c27d 100644 (file)
@@ -64,7 +64,7 @@ def template CompleteAccDeclare {{
 
 
 def template LoadStoreConstructor {{
-    inline %(class_name)s::%(class_name)s(ExtMachInst machInst)
+    %(class_name)s::%(class_name)s(ExtMachInst machInst)
          : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
     {
         %(constructor)s;
index 915e34564d3f43b7f96860ba8a178d97a4e7680e..feb99e1403c980d18f531af02e92875d2d8e12e4 100644 (file)
@@ -93,7 +93,7 @@ def template BasicDeclareWithMnemonic {{
 
 // Basic instruction class constructor template.
 def template BasicConstructor {{
-        inline %(class_name)s::%(class_name)s(ExtMachInst machInst)
+        %(class_name)s::%(class_name)s(ExtMachInst machInst)
             : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
         {
                 %(constructor)s;
@@ -102,7 +102,7 @@ def template BasicConstructor {{
 
 // Basic instruction class constructor template.
 def template BasicConstructorWithMnemonic {{
-        inline %(class_name)s::%(class_name)s(const char * mnemonic,
+        %(class_name)s::%(class_name)s(const char * mnemonic,
                 ExtMachInst machInst)
             : %(base_class)s(mnemonic, machInst, %(op_class)s)
         {
index c397d26754b2d8ce1b79110420f653ab77ba1c6e..03b395b12cf46915058410133d5a661922b78087 100644 (file)
@@ -240,7 +240,7 @@ def template BlockMemDeclare {{
 
 // Basic instruction class constructor template.
 def template BlockMemConstructor {{
-        inline %(class_name)s::%(class_name)s(ExtMachInst machInst)
+        %(class_name)s::%(class_name)s(ExtMachInst machInst)
             : %(base_class)s("%(mnemonic)s", machInst)
         {
             %(constructor)s;
@@ -256,7 +256,7 @@ def template BlockMemConstructor {{
 }};
 
 def template BlockMemMicroConstructor {{
-        inline %(class_name)s::
+        %(class_name)s::
             %(class_name)s_%(micro_pc)s::
             %(class_name)s_%(micro_pc)s(ExtMachInst machInst) :
                 %(base_class)sMicro("%(mnemonic)s[%(micro_pc)s]",
index e3242aab8d0fb1986ccd0166c14a3e80e04b4a64..c12a31b1036d67590db8544df668a09862dd5ac5 100644 (file)
@@ -186,7 +186,7 @@ output decoder {{
 }};
 
 def template ControlRegConstructor {{
-        inline %(class_name)s::%(class_name)s(ExtMachInst machInst)
+        %(class_name)s::%(class_name)s(ExtMachInst machInst)
             : %(base_class)s("%(mnemonic)s", machInst,
                     %(op_class)s, "%(reg_name)s")
         {
index 6624c03aea890997240f99b97a369b5e88fe099b..d8f8592d74a95780c2aab7612c73901d12f56644 100644 (file)
@@ -68,7 +68,7 @@ def template BasicDeclare {{
 
 // Basic instruction class constructor template.
 def template BasicConstructor {{
-        inline %(class_name)s::%(class_name)s(ExtMachInst machInst)
+        %(class_name)s::%(class_name)s(ExtMachInst machInst)
             : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
         {
                 %(constructor)s;
index d510a0c7ca2a8f1daced2a0df08887e5aa17d1ef..818cfc3ea13fca35f26264a5294b79631b542a5d 100644 (file)
@@ -110,7 +110,7 @@ def template MacroDisassembly {{
 
 // Basic instruction class constructor template.
 def template MacroConstructor {{
-        inline X86Macroop::%(class_name)s::%(class_name)s(
+        X86Macroop::%(class_name)s::%(class_name)s(
                 ExtMachInst machInst, EmulEnv _env)
             : %(base_class)s("%(mnemonic)s", machInst, %(num_microops)s, _env)
         {
index 3c67537126ac1ca33a756c213f66b857ff7b47c3..131284076721df537692af0443492ab43f01ed1a 100644 (file)
@@ -88,7 +88,7 @@ def template MicroFpOpDeclare {{
 }};
 
 def template MicroFpOpConstructor {{
-    inline %(class_name)s::%(class_name)s(
+    %(class_name)s::%(class_name)s(
             ExtMachInst machInst, const char * instMnem, uint64_t setFlags,
             InstRegIndex _src1, InstRegIndex _src2, InstRegIndex _dest,
             uint8_t _dataSize, int8_t _spm) :
index 1b22b88de1a8748d5e25c10d32aa948309dd7c69..b82cf57e0c2e9e00e934405a2341ce50e4d5ca70 100644 (file)
@@ -254,7 +254,7 @@ def template MicroLdStOpDeclare {{
 }};
 
 def template MicroLdStOpConstructor {{
-    inline %(class_name)s::%(class_name)s(
+    %(class_name)s::%(class_name)s(
             ExtMachInst machInst, const char * instMnem, uint64_t setFlags,
             uint8_t _scale, InstRegIndex _index, InstRegIndex _base,
             uint64_t _disp, InstRegIndex _segment,
index 2c61aaa45c41819cf7fcf4dda0543a83631f8591..e7cd548ec1f18603d76b93dcdc60c50685b2b24f 100644 (file)
@@ -90,7 +90,7 @@ def template MicroLimmOpDisassembly {{
 }};
 
 def template MicroLimmOpConstructor {{
-    inline %(class_name)s::%(class_name)s(
+    %(class_name)s::%(class_name)s(
             ExtMachInst machInst, const char * instMnem, uint64_t setFlags,
             InstRegIndex _dest, uint64_t _imm, uint8_t _dataSize) :
         %(base_class)s(machInst, "%(mnemonic)s", instMnem,
index 0f41491f9bb252fb49b869ca69db7117e59ad8ad..fecdab863cba5426cd6994c8c40aafe3ffe1f9d5 100644 (file)
@@ -74,7 +74,7 @@ def template MediaOpImmDeclare {{
 }};
 
 def template MediaOpRegConstructor {{
-    inline %(class_name)s::%(class_name)s(
+    %(class_name)s::%(class_name)s(
             ExtMachInst machInst, const char * instMnem, uint64_t setFlags,
             InstRegIndex _src1, InstRegIndex _src2, InstRegIndex _dest,
             uint8_t _srcSize, uint8_t _destSize, uint16_t _ext) :
@@ -87,7 +87,7 @@ def template MediaOpRegConstructor {{
 }};
 
 def template MediaOpImmConstructor {{
-    inline %(class_name)s::%(class_name)s(
+    %(class_name)s::%(class_name)s(
             ExtMachInst machInst, const char * instMnem, uint64_t setFlags,
             InstRegIndex _src1, uint16_t _imm8, InstRegIndex _dest,
             uint8_t _srcSize, uint8_t _destSize, uint16_t _ext) :
index d77e5f559888d8db0f5358ac7a594149a1e29f1c..b957a164a192370ec54de441d83495ddf8417086 100644 (file)
@@ -130,7 +130,7 @@ def template MicroRegOpImmDeclare {{
 }};
 
 def template MicroRegOpConstructor {{
-    inline %(class_name)s::%(class_name)s(
+    %(class_name)s::%(class_name)s(
             ExtMachInst machInst, const char * instMnem, uint64_t setFlags,
             InstRegIndex _src1, InstRegIndex _src2, InstRegIndex _dest,
             uint8_t _dataSize, uint16_t _ext) :
@@ -144,7 +144,7 @@ def template MicroRegOpConstructor {{
 }};
 
 def template MicroRegOpImmConstructor {{
-    inline %(class_name)s::%(class_name)s(
+    %(class_name)s::%(class_name)s(
             ExtMachInst machInst, const char * instMnem, uint64_t setFlags,
             InstRegIndex _src1, uint8_t _imm8, InstRegIndex _dest,
             uint8_t _dataSize, uint16_t _ext) :
index d60ddced7f1d0b356ba6766d0b511fe428754af0..72c28b1fe2f7c22b6ab977ab8fa2d41f1190be24 100644 (file)
@@ -84,7 +84,7 @@ def template SeqOpExecute {{
 }};
 
 output decoder {{
-    inline SeqOpBase::SeqOpBase(
+    SeqOpBase::SeqOpBase(
             ExtMachInst machInst, const char * mnemonic, const char * instMnem,
             uint64_t setFlags, uint16_t _target, uint8_t _cc) :
         X86MicroopBase(machInst, mnemonic, instMnem, setFlags, No_OpClass),
@@ -94,7 +94,7 @@ output decoder {{
 }};
 
 def template SeqOpConstructor {{
-    inline %(class_name)s::%(class_name)s(
+    %(class_name)s::%(class_name)s(
             ExtMachInst machInst, const char * instMnem,
             uint64_t setFlags, uint16_t _target, uint8_t _cc) :
         %(base_class)s(machInst, "%(mnemonic)s", instMnem,
index 2f6bbd58dc3112fcbcb186382f61d40fc5338945..a1325058910539a048e5960dc93badf624620948 100644 (file)
@@ -112,7 +112,7 @@ output exec {{
 }};
 
 output decoder {{
-    inline MicroFaultBase::MicroFaultBase(
+    MicroFaultBase::MicroFaultBase(
             ExtMachInst machInst, const char * instMnem,
             uint64_t setFlags, Fault _fault, uint8_t _cc) :
         X86MicroopBase(machInst, "fault", instMnem, setFlags, No_OpClass),
@@ -122,7 +122,7 @@ output decoder {{
 }};
 
 def template MicroFaultConstructor {{
-    inline %(class_name)s::%(class_name)s(
+    %(class_name)s::%(class_name)s(
             ExtMachInst machInst, const char * instMnem, uint64_t setFlags,
             Fault _fault, uint8_t _cc) :
         %(base_class)s(machInst, instMnem, setFlags, _fault, _cc)
@@ -219,7 +219,7 @@ def template MicroFenceOpDeclare {{
 }};
 
 def template MicroFenceOpConstructor {{
-    inline %(class_name)s::%(class_name)s(
+    %(class_name)s::%(class_name)s(
             ExtMachInst machInst, const char * instMnem, uint64_t setFlags) :
         %(base_class)s(machInst, "%(mnemonic)s", instMnem,
                 setFlags, %(op_class)s)