misc64.isa (10184:bbfa3152bdea) misc64.isa (12236:126ac9da6050)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2011 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

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

41class %(class_name)s : public %(base_class)s
42{
43 protected:
44 public:
45 // Constructor
46 %(class_name)s(ExtMachInst machInst,
47 IntRegIndex _dest, IntRegIndex _op1,
48 uint64_t _imm1, uint64_t _imm2);
1// -*- mode:c++ -*-
2
3// Copyright (c) 2011 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

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

41class %(class_name)s : public %(base_class)s
42{
43 protected:
44 public:
45 // Constructor
46 %(class_name)s(ExtMachInst machInst,
47 IntRegIndex _dest, IntRegIndex _op1,
48 uint64_t _imm1, uint64_t _imm2);
49 %(BasicExecDeclare)s
49 Fault execute(ExecContext *, Trace::InstRecord *) const;
50};
51}};
52
53def template RegRegImmImmOp64Constructor {{
54 %(class_name)s::%(class_name)s(ExtMachInst machInst,
55 IntRegIndex _dest,
56 IntRegIndex _op1,
57 uint64_t _imm1,

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

67class %(class_name)s : public %(base_class)s
68{
69 protected:
70 public:
71 // Constructor
72 %(class_name)s(ExtMachInst machInst,
73 IntRegIndex _dest, IntRegIndex _op1,
74 IntRegIndex _op2, uint64_t _imm);
50};
51}};
52
53def template RegRegImmImmOp64Constructor {{
54 %(class_name)s::%(class_name)s(ExtMachInst machInst,
55 IntRegIndex _dest,
56 IntRegIndex _op1,
57 uint64_t _imm1,

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

67class %(class_name)s : public %(base_class)s
68{
69 protected:
70 public:
71 // Constructor
72 %(class_name)s(ExtMachInst machInst,
73 IntRegIndex _dest, IntRegIndex _op1,
74 IntRegIndex _op2, uint64_t _imm);
75 %(BasicExecDeclare)s
75 Fault execute(ExecContext *, Trace::InstRecord *) const;
76};
77}};
78
79def template RegRegRegImmOp64Constructor {{
80 %(class_name)s::%(class_name)s(ExtMachInst machInst,
81 IntRegIndex _dest,
82 IntRegIndex _op1,
83 IntRegIndex _op2,
84 uint64_t _imm)
85 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
86 _dest, _op1, _op2, _imm)
87 {
88 %(constructor)s;
89 }
90}};
91
76};
77}};
78
79def template RegRegRegImmOp64Constructor {{
80 %(class_name)s::%(class_name)s(ExtMachInst machInst,
81 IntRegIndex _dest,
82 IntRegIndex _op1,
83 IntRegIndex _op2,
84 uint64_t _imm)
85 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
86 _dest, _op1, _op2, _imm)
87 {
88 %(constructor)s;
89 }
90}};
91