class ImmOp : public PredOp
{
protected:
- uint32_t imm;
+ uint64_t imm;
ImmOp(const char *mnem, ExtMachInst _machInst, OpClass __opClass,
- uint32_t _imm) :
+ uint64_t _imm) :
PredOp(mnem, _machInst, __opClass), imm(_imm)
{}
{
protected:
IntRegIndex dest;
- uint32_t imm;
+ uint64_t imm;
IntRegIndex op1;
RegImmRegOp(const char *mnem, ExtMachInst _machInst, OpClass __opClass,
- IntRegIndex _dest, uint32_t _imm, IntRegIndex _op1) :
+ IntRegIndex _dest, uint64_t _imm, IntRegIndex _op1) :
PredOp(mnem, _machInst, __opClass),
dest(_dest), imm(_imm), op1(_op1)
{}
IntRegIndex dest;
IntRegIndex op1;
IntRegIndex op2;
- uint32_t imm;
+ uint64_t imm;
RegRegRegImmOp(const char *mnem, ExtMachInst _machInst, OpClass __opClass,
IntRegIndex _dest, IntRegIndex _op1, IntRegIndex _op2,
- uint32_t _imm) :
+ uint64_t _imm) :
PredOp(mnem, _machInst, __opClass),
dest(_dest), op1(_op1), op2(_op2), imm(_imm)
{}
protected:
IntRegIndex dest;
IntRegIndex op1;
- uint32_t imm1;
- uint32_t imm2;
+ uint64_t imm1;
+ uint64_t imm2;
RegRegImmImmOp(const char *mnem, ExtMachInst _machInst, OpClass __opClass,
IntRegIndex _dest, IntRegIndex _op1,
- uint32_t _imm1, uint32_t _imm2) :
+ uint64_t _imm1, uint64_t _imm2) :
PredOp(mnem, _machInst, __opClass),
dest(_dest), op1(_op1), imm1(_imm1), imm2(_imm2)
{}
{
protected:
IntRegIndex dest;
- uint32_t imm;
+ uint64_t imm;
IntRegIndex op1;
int32_t shiftAmt;
ArmShiftType shiftType;
RegImmRegShiftOp(const char *mnem, ExtMachInst _machInst, OpClass __opClass,
- IntRegIndex _dest, uint32_t _imm, IntRegIndex _op1,
+ IntRegIndex _dest, uint64_t _imm, IntRegIndex _op1,
int32_t _shiftAmt, ArmShiftType _shiftType) :
PredOp(mnem, _machInst, __opClass),
dest(_dest), imm(_imm), op1(_op1),
protected:
public:
// Constructor
- %(class_name)s(ExtMachInst machInst, uint32_t _imm);
+ %(class_name)s(ExtMachInst machInst, uint64_t _imm);
%(BasicExecDeclare)s
};
}};
def template ImmOpConstructor {{
- inline %(class_name)s::%(class_name)s(ExtMachInst machInst, uint32_t _imm)
+ inline %(class_name)s::%(class_name)s(ExtMachInst machInst, uint64_t _imm)
: %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, _imm)
{
%(constructor)s;
// Constructor
%(class_name)s(ExtMachInst machInst,
IntRegIndex _dest, IntRegIndex _op1, IntRegIndex _op2,
- uint32_t _imm);
+ uint64_t _imm);
%(BasicExecDeclare)s
};
}};
IntRegIndex _dest,
IntRegIndex _op1,
IntRegIndex _op2,
- uint32_t _imm)
+ uint64_t _imm)
: %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
_dest, _op1, _op2, _imm)
{
// Constructor
%(class_name)s(ExtMachInst machInst,
IntRegIndex _dest, IntRegIndex _op1,
- uint32_t _imm1, uint32_t _imm2);
+ uint64_t _imm1, uint64_t _imm2);
%(BasicExecDeclare)s
};
}};
inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
IntRegIndex _dest,
IntRegIndex _op1,
- uint32_t _imm1,
- uint32_t _imm2)
+ uint64_t _imm1,
+ uint64_t _imm2)
: %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
_dest, _op1, _imm1, _imm2)
{
public:
// Constructor
%(class_name)s(ExtMachInst machInst,
- IntRegIndex _dest, uint32_t _imm, IntRegIndex _op1);
+ IntRegIndex _dest, uint64_t _imm, IntRegIndex _op1);
%(BasicExecDeclare)s
};
}};
def template RegImmRegOpConstructor {{
inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
IntRegIndex _dest,
- uint32_t _imm,
+ uint64_t _imm,
IntRegIndex _op1)
: %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
_dest, _imm, _op1)
public:
// Constructor
%(class_name)s(ExtMachInst machInst,
- IntRegIndex _dest, uint32_t _imm, IntRegIndex _op1,
+ IntRegIndex _dest, uint64_t _imm, IntRegIndex _op1,
int32_t _shiftAmt, ArmShiftType _shiftType);
%(BasicExecDeclare)s
};
def template RegImmRegShiftOpConstructor {{
inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
IntRegIndex _dest,
- uint32_t _imm,
+ uint64_t _imm,
IntRegIndex _op1,
int32_t _shiftAmt,
ArmShiftType _shiftType)