misc64.isa (12538:001ad6b1e592) misc64.isa (12616:4b463b4dc098)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2011,2017-2018 ARM Limited
4// All rights reserved
5//
6// The license below extends only to copyright in the software and shall
7// not be construed as granting a license to any other intellectual
8// property including but not limited to intellectual property relating

--- 31 unchanged lines hidden (view full) ---

40def template ImmOp64Declare {{
41class %(class_name)s : public %(base_class)s
42{
43 protected:
44 public:
45 // Constructor
46 %(class_name)s(ExtMachInst machInst,uint64_t _imm);
47
1// -*- mode:c++ -*-
2
3// Copyright (c) 2011,2017-2018 ARM Limited
4// All rights reserved
5//
6// The license below extends only to copyright in the software and shall
7// not be construed as granting a license to any other intellectual
8// property including but not limited to intellectual property relating

--- 31 unchanged lines hidden (view full) ---

40def template ImmOp64Declare {{
41class %(class_name)s : public %(base_class)s
42{
43 protected:
44 public:
45 // Constructor
46 %(class_name)s(ExtMachInst machInst,uint64_t _imm);
47
48 Fault execute(ExecContext *, Trace::InstRecord *) const;
48 Fault execute(ExecContext *, Trace::InstRecord *) const override;
49};
50}};
51
52def template ImmOp64Constructor {{
53 %(class_name)s::%(class_name)s(ExtMachInst machInst, uint64_t _imm)
54 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, _imm)
55 {
56 %(constructor)s;

--- 4 unchanged lines hidden (view full) ---

61class %(class_name)s : public %(base_class)s
62{
63 protected:
64 public:
65 // Constructor
66 %(class_name)s(ExtMachInst machInst,
67 IntRegIndex _dest, IntRegIndex _op1,
68 uint64_t _imm1, uint64_t _imm2);
49};
50}};
51
52def template ImmOp64Constructor {{
53 %(class_name)s::%(class_name)s(ExtMachInst machInst, uint64_t _imm)
54 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, _imm)
55 {
56 %(constructor)s;

--- 4 unchanged lines hidden (view full) ---

61class %(class_name)s : public %(base_class)s
62{
63 protected:
64 public:
65 // Constructor
66 %(class_name)s(ExtMachInst machInst,
67 IntRegIndex _dest, IntRegIndex _op1,
68 uint64_t _imm1, uint64_t _imm2);
69 Fault execute(ExecContext *, Trace::InstRecord *) const;
69 Fault execute(ExecContext *, Trace::InstRecord *) const override;
70};
71}};
72
73def template RegRegImmImmOp64Constructor {{
74 %(class_name)s::%(class_name)s(ExtMachInst machInst,
75 IntRegIndex _dest,
76 IntRegIndex _op1,
77 uint64_t _imm1,

--- 9 unchanged lines hidden (view full) ---

87class %(class_name)s : public %(base_class)s
88{
89 protected:
90 public:
91 // Constructor
92 %(class_name)s(ExtMachInst machInst,
93 IntRegIndex _dest, IntRegIndex _op1,
94 IntRegIndex _op2, uint64_t _imm);
70};
71}};
72
73def template RegRegImmImmOp64Constructor {{
74 %(class_name)s::%(class_name)s(ExtMachInst machInst,
75 IntRegIndex _dest,
76 IntRegIndex _op1,
77 uint64_t _imm1,

--- 9 unchanged lines hidden (view full) ---

87class %(class_name)s : public %(base_class)s
88{
89 protected:
90 public:
91 // Constructor
92 %(class_name)s(ExtMachInst machInst,
93 IntRegIndex _dest, IntRegIndex _op1,
94 IntRegIndex _op2, uint64_t _imm);
95 Fault execute(ExecContext *, Trace::InstRecord *) const;
95 Fault execute(ExecContext *, Trace::InstRecord *) const override;
96};
97}};
98
99def template RegRegRegImmOp64Constructor {{
100 %(class_name)s::%(class_name)s(ExtMachInst machInst,
101 IntRegIndex _dest,
102 IntRegIndex _op1,
103 IntRegIndex _op2,

--- 8 unchanged lines hidden (view full) ---

112def template MiscRegRegOp64Declare {{
113class %(class_name)s : public %(base_class)s
114{
115 public:
116 // Constructor
117 %(class_name)s(ExtMachInst machInst, MiscRegIndex _dest,
118 IntRegIndex _op1, uint64_t _imm);
119
96};
97}};
98
99def template RegRegRegImmOp64Constructor {{
100 %(class_name)s::%(class_name)s(ExtMachInst machInst,
101 IntRegIndex _dest,
102 IntRegIndex _op1,
103 IntRegIndex _op2,

--- 8 unchanged lines hidden (view full) ---

112def template MiscRegRegOp64Declare {{
113class %(class_name)s : public %(base_class)s
114{
115 public:
116 // Constructor
117 %(class_name)s(ExtMachInst machInst, MiscRegIndex _dest,
118 IntRegIndex _op1, uint64_t _imm);
119
120 Fault execute(ExecContext *, Trace::InstRecord *) const;
120 Fault execute(ExecContext *, Trace::InstRecord *) const override;
121};
122}};
123
124def template MiscRegRegOp64Constructor {{
125 %(class_name)s::%(class_name)s(ExtMachInst machInst,
126 MiscRegIndex _dest,
127 IntRegIndex _op1,
128 uint64_t _imm)

--- 7 unchanged lines hidden (view full) ---

136def template RegMiscRegOp64Declare {{
137class %(class_name)s : public %(base_class)s
138{
139 public:
140 // Constructor
141 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest,
142 MiscRegIndex _op1, uint64_t _imm);
143
121};
122}};
123
124def template MiscRegRegOp64Constructor {{
125 %(class_name)s::%(class_name)s(ExtMachInst machInst,
126 MiscRegIndex _dest,
127 IntRegIndex _op1,
128 uint64_t _imm)

--- 7 unchanged lines hidden (view full) ---

136def template RegMiscRegOp64Declare {{
137class %(class_name)s : public %(base_class)s
138{
139 public:
140 // Constructor
141 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest,
142 MiscRegIndex _op1, uint64_t _imm);
143
144 Fault execute(ExecContext *, Trace::InstRecord *) const;
144 Fault execute(ExecContext *, Trace::InstRecord *) const override;
145};
146}};
147
148def template RegMiscRegOp64Constructor {{
149 %(class_name)s::%(class_name)s(ExtMachInst machInst,
150 IntRegIndex _dest,
151 MiscRegIndex _op1,
152 uint64_t _imm)
153 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
154 _dest, _op1, _imm)
155 {
156 %(constructor)s;
157 }
158}};
145};
146}};
147
148def template RegMiscRegOp64Constructor {{
149 %(class_name)s::%(class_name)s(ExtMachInst machInst,
150 IntRegIndex _dest,
151 MiscRegIndex _op1,
152 uint64_t _imm)
153 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
154 _dest, _op1, _imm)
155 {
156 %(constructor)s;
157 }
158}};