isa.cc (10698:829adc48e175) | isa.cc (11321:02e930db812d) |
---|---|
1/* 2 * Copyright (c) 2009 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 136 unchanged lines hidden (view full) --- 145ISA::params() const 146{ 147 return dynamic_cast<const Params *>(_params); 148} 149 150void 151ISA::clear() 152{ | 1/* 2 * Copyright (c) 2009 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 136 unchanged lines hidden (view full) --- 145ISA::params() const 146{ 147 return dynamic_cast<const Params *>(_params); 148} 149 150void 151ISA::clear() 152{ |
153 for(int i = 0; i < NumMiscRegs; i++) { | 153 for (int i = 0; i < NumMiscRegs; i++) { |
154 for (int j = 0; j < miscRegFile[i].size(); j++) 155 miscRegFile[i][j] = 0; 156 157 for (int k = 0; k < miscRegFile_WriteMask[i].size(); k++) 158 miscRegFile_WriteMask[i][k] = (long unsigned int)(-1); 159 } 160} 161 --- 438 unchanged lines hidden --- | 154 for (int j = 0; j < miscRegFile[i].size(); j++) 155 miscRegFile[i][j] = 0; 156 157 for (int k = 0; k < miscRegFile_WriteMask[i].size(); k++) 158 miscRegFile_WriteMask[i][k] = (long unsigned int)(-1); 159 } 160} 161 --- 438 unchanged lines hidden --- |