1/* Copyright (c) 2007-2008 The Florida State University 2 * All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright --- 70 unchanged lines hidden (view full) --- 79 } 80}; 81 82/** 83 * Arm Macro Memory operations like LDM/STM 84 */ 85class ArmMacroMemoryOp : public PredMacroOp 86{ |
87 protected: |
88 /// Memory request flags. See mem_req_base.hh. 89 unsigned memAccessFlags; 90 91 uint32_t reglist; 92 uint32_t ones; |
93 94 ArmMacroMemoryOp(const char *mnem, ExtMachInst _machInst, 95 OpClass __opClass) |
96 : PredMacroOp(mnem, _machInst, __opClass), memAccessFlags(0), 97 reglist(machInst.regList), ones(0) |
98 { 99 ones = number_of_ones(reglist); |
100 numMicroops = ones + machInst.puswl.writeback + 1; |
101 // Remember that writeback adds a uop 102 microOps = new StaticInstPtr[numMicroops]; 103 } 104}; 105 106/** 107 * Arm Macro FPA operations to fix ldfd and stfd instructions 108 */ 109class ArmMacroFPAOp : public PredMacroOp 110{ |
111 protected: |
112 uint32_t puswl, 113 prepost, 114 up, 115 psruser, 116 writeback, 117 loadop; 118 int32_t disp8; 119 --- 12 unchanged lines hidden (view full) --- 132 } 133}; 134 135/** 136 * Arm Macro FM operations to fix lfm and sfm 137 */ 138class ArmMacroFMOp : public PredMacroOp 139{ |
140 protected: |
141 uint32_t punwl, 142 prepost, 143 up, 144 n1bit, 145 writeback, 146 loadop, 147 n0bit, 148 count; --- 24 unchanged lines hidden --- |