Deleted Added
sdiff udiff text old ( 7140:d2f0418e9390 ) new ( 7142:c63c06703d0f )
full compact
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

188 // this instruction.
189 bool rotC;
190
191 DataImmOp(const char *mnem, ExtMachInst _machInst, OpClass __opClass,
192 IntRegIndex _dest, IntRegIndex _op1, uint32_t _imm, bool _rotC) :
193 PredOp(mnem, _machInst, __opClass),
194 dest(_dest), op1(_op1), imm(_imm), rotC(_rotC)
195 {}
196};
197
198class DataRegOp : public PredOp
199{
200 protected:
201 IntRegIndex dest, op1, op2;
202 int32_t shiftAmt;
203 ArmShiftType shiftType;
204
205 DataRegOp(const char *mnem, ExtMachInst _machInst, OpClass __opClass,
206 IntRegIndex _dest, IntRegIndex _op1, IntRegIndex _op2,
207 int32_t _shiftAmt, ArmShiftType _shiftType) :
208 PredOp(mnem, _machInst, __opClass),
209 dest(_dest), op1(_op1), op2(_op2),
210 shiftAmt(_shiftAmt), shiftType(_shiftType)
211 {}
212};
213
214class DataRegRegOp : public PredOp
215{
216 protected:
217 IntRegIndex dest, op1, op2, shift;
218 ArmShiftType shiftType;
219
220 DataRegRegOp(const char *mnem, ExtMachInst _machInst, OpClass __opClass,
221 IntRegIndex _dest, IntRegIndex _op1, IntRegIndex _op2,
222 IntRegIndex _shift, ArmShiftType _shiftType) :
223 PredOp(mnem, _machInst, __opClass),
224 dest(_dest), op1(_op1), op2(_op2), shift(_shift),
225 shiftType(_shiftType)
226 {}
227};
228
229/**
230 * Base class for predicated macro-operations.
231 */
232class PredMacroOp : public PredOp
233{
234 protected:

--- 46 unchanged lines hidden ---