pred.isa (10184:bbfa3152bdea) | pred.isa (10196:be0e1724eb39) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2010 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 --- 151 unchanged lines hidden (view full) --- 160 for (int x = 0; x < _numDestRegs; x++) { 161 _srcRegIdx[_numSrcRegs++] = _destRegIdx[x]; 162 } 163 } 164 } 165}}; 166 167def template PredOpExecute {{ | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2010 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 --- 151 unchanged lines hidden (view full) --- 160 for (int x = 0; x < _numDestRegs; x++) { 161 _srcRegIdx[_numSrcRegs++] = _destRegIdx[x]; 162 } 163 } 164 } 165}}; 166 167def template PredOpExecute {{ |
168 Fault %(class_name)s::execute(%(CPU_exec_context)s *xc, Trace::InstRecord *traceData) const | 168 Fault %(class_name)s::execute(CPU_EXEC_CONTEXT *xc, Trace::InstRecord *traceData) const |
169 { 170 Fault fault = NoFault; 171 uint64_t resTemp = 0; 172 resTemp = resTemp; 173 %(op_decl)s; 174 %(op_rd)s; 175 176 if (%(predicate_test)s) --- 7 unchanged lines hidden (view full) --- 184 xc->setPredicate(false); 185 } 186 187 return fault; 188 } 189}}; 190 191def template QuiescePredOpExecute {{ | 169 { 170 Fault fault = NoFault; 171 uint64_t resTemp = 0; 172 resTemp = resTemp; 173 %(op_decl)s; 174 %(op_rd)s; 175 176 if (%(predicate_test)s) --- 7 unchanged lines hidden (view full) --- 184 xc->setPredicate(false); 185 } 186 187 return fault; 188 } 189}}; 190 191def template QuiescePredOpExecute {{ |
192 Fault %(class_name)s::execute(%(CPU_exec_context)s *xc, Trace::InstRecord *traceData) const | 192 Fault %(class_name)s::execute(CPU_EXEC_CONTEXT *xc, Trace::InstRecord *traceData) const |
193 { 194 Fault fault = NoFault; 195 uint64_t resTemp = 0; 196 resTemp = resTemp; 197 %(op_decl)s; 198 %(op_rd)s; 199 200 if (%(predicate_test)s) --- 8 unchanged lines hidden (view full) --- 209 PseudoInst::quiesceSkip(xc->tcBase()); 210 } 211 212 return fault; 213 } 214}}; 215 216def template QuiescePredOpExecuteWithFixup {{ | 193 { 194 Fault fault = NoFault; 195 uint64_t resTemp = 0; 196 resTemp = resTemp; 197 %(op_decl)s; 198 %(op_rd)s; 199 200 if (%(predicate_test)s) --- 8 unchanged lines hidden (view full) --- 209 PseudoInst::quiesceSkip(xc->tcBase()); 210 } 211 212 return fault; 213 } 214}}; 215 216def template QuiescePredOpExecuteWithFixup {{ |
217 Fault %(class_name)s::execute(%(CPU_exec_context)s *xc, Trace::InstRecord *traceData) const | 217 Fault %(class_name)s::execute(CPU_EXEC_CONTEXT *xc, Trace::InstRecord *traceData) const |
218 { 219 Fault fault = NoFault; 220 uint64_t resTemp = 0; 221 resTemp = resTemp; 222 %(op_decl)s; 223 %(op_rd)s; 224 225 if (%(predicate_test)s) --- 36 unchanged lines hidden --- | 218 { 219 Fault fault = NoFault; 220 uint64_t resTemp = 0; 221 resTemp = resTemp; 222 %(op_decl)s; 223 %(op_rd)s; 224 225 if (%(predicate_test)s) --- 36 unchanged lines hidden --- |