41 #ifndef __ARCH_ARM_MEM_HH__
42 #define __ARCH_ARM_MEM_HH__
58 :
PredOp(mnem, _machInst, __opClass)
65 if (
flags[IsLastMicroop]) {
67 }
else if (
flags[IsMicroop]) {
78 if (
flags[IsLastMicroop]) {
80 }
else if (
flags[IsMicroop]) {
110 IntRegIndex _base,
AddrMode _mode,
bool _wb)
128 return uops[microPC];
155 uint32_t _regMode,
AddrMode _mode,
bool _wb)
170 return uops[microPC];
197 IntRegIndex _dest, IntRegIndex _base,
bool _add)
212 return uops[microPC];
235 IntRegIndex _dest, IntRegIndex _base,
bool _add, int32_t _imm)
236 :
Memory(mnem, _machInst, __opClass, _dest, _base, _add),
imm(_imm)
255 IntRegIndex _result, IntRegIndex _dest, IntRegIndex _base,
256 bool _add, int32_t _imm)
257 :
MemoryImm(mnem, _machInst, __opClass, _dest, _base, _add, _imm),
277 IntRegIndex _dest, IntRegIndex _dest2,
278 IntRegIndex _base,
bool _add, int32_t _imm)
279 :
MemoryImm(mnem, _machInst, __opClass, _dest, _base, _add, _imm),
298 IntRegIndex _result, IntRegIndex _dest, IntRegIndex _dest2,
299 IntRegIndex _base,
bool _add, int32_t _imm)
300 :
MemoryDImm(mnem, _machInst, __opClass, _dest, _dest2,
301 _base, _add, _imm),
result(_result)
322 IntRegIndex _dest, IntRegIndex _base,
bool _add,
323 int32_t _shiftAmt, ArmShiftType _shiftType,
325 :
Memory(mnem, _machInst, __opClass, _dest, _base, _add),
338 IntRegIndex _dest, IntRegIndex _dest2,
339 IntRegIndex _base,
bool _add,
340 int32_t _shiftAmt, ArmShiftType _shiftType,
342 :
MemoryReg(mnem, _machInst, __opClass, _dest, _base, _add,
343 _shiftAmt, _shiftType, _index),
361 OpClass __opClass, IntRegIndex _dest, IntRegIndex _base,
362 bool _add, int32_t _imm)
363 :
Base(mnem, _machInst, __opClass, _dest, _base, _add, _imm)
367 OpClass __opClass, IntRegIndex _dest, IntRegIndex _base,
368 bool _add, int32_t _shiftAmt, ArmShiftType _shiftType,
370 :
Base(mnem, _machInst, __opClass, _dest, _base, _add,
371 _shiftAmt, _shiftType, _index)
375 OpClass __opClass, IntRegIndex _dest, IntRegIndex _dest2,
376 IntRegIndex _base,
bool _add, int32_t _imm)
377 :
Base(mnem, _machInst, __opClass, _dest, _dest2, _base, _add, _imm)
381 OpClass __opClass, IntRegIndex _result,
382 IntRegIndex _dest, IntRegIndex _dest2,
383 IntRegIndex _base,
bool _add, int32_t _imm)
384 :
Base(mnem, _machInst, __opClass, _result,
385 _dest, _dest2, _base, _add, _imm)
389 OpClass __opClass, IntRegIndex _dest, IntRegIndex _dest2,
390 IntRegIndex _base,
bool _add,
391 int32_t _shiftAmt, ArmShiftType _shiftType,
393 :
Base(mnem, _machInst, __opClass, _dest, _dest2, _base, _add,
394 _shiftAmt, _shiftType, _index)
401 std::stringstream
ss;
412 OpClass __opClass, IntRegIndex _dest, IntRegIndex _base,
413 bool _add, int32_t _imm)
414 :
Base(mnem, _machInst, __opClass, _dest, _base, _add, _imm)
418 OpClass __opClass, IntRegIndex _dest, IntRegIndex _base,
419 bool _add, int32_t _shiftAmt, ArmShiftType _shiftType,
421 :
Base(mnem, _machInst, __opClass, _dest, _base, _add,
422 _shiftAmt, _shiftType, _index)
426 OpClass __opClass, IntRegIndex _dest, IntRegIndex _dest2,
427 IntRegIndex _base,
bool _add, int32_t _imm)
428 :
Base(mnem, _machInst, __opClass, _dest, _dest2, _base, _add, _imm)
432 OpClass __opClass, IntRegIndex _result,
433 IntRegIndex _dest, IntRegIndex _dest2,
434 IntRegIndex _base,
bool _add, int32_t _imm)
435 :
Base(mnem, _machInst, __opClass, _result,
436 _dest, _dest2, _base, _add, _imm)
440 OpClass __opClass, IntRegIndex _dest, IntRegIndex _dest2,
441 IntRegIndex _base,
bool _add,
442 int32_t _shiftAmt, ArmShiftType _shiftType,
444 :
Base(mnem, _machInst, __opClass, _dest, _dest2, _base, _add,
445 _shiftAmt, _shiftType, _index)
452 std::stringstream
ss;
463 OpClass __opClass, IntRegIndex _dest, IntRegIndex _base,
464 bool _add, int32_t _imm)
465 :
Base(mnem, _machInst, __opClass, _dest, _base, _add, _imm)
469 OpClass __opClass, IntRegIndex _dest, IntRegIndex _base,
470 bool _add, int32_t _shiftAmt, ArmShiftType _shiftType,
472 :
Base(mnem, _machInst, __opClass, _dest, _base, _add,
473 _shiftAmt, _shiftType, _index)
477 OpClass __opClass, IntRegIndex _dest, IntRegIndex _dest2,
478 IntRegIndex _base,
bool _add, int32_t _imm)
479 :
Base(mnem, _machInst, __opClass, _dest, _dest2, _base, _add, _imm)
483 OpClass __opClass, IntRegIndex _result,
484 IntRegIndex _dest, IntRegIndex _dest2,
485 IntRegIndex _base,
bool _add, int32_t _imm)
486 :
Base(mnem, _machInst, __opClass, _result,
487 _dest, _dest2, _base, _add, _imm)
491 OpClass __opClass, IntRegIndex _dest, IntRegIndex _dest2,
492 IntRegIndex _base,
bool _add,
493 int32_t _shiftAmt, ArmShiftType _shiftType,
495 :
Base(mnem, _machInst, __opClass, _dest, _dest2, _base, _add,
496 _shiftAmt, _shiftType, _index)
503 std::stringstream
ss;
512 #endif //__ARCH_ARM_INSTS_MEM_HH__