regfile.hh (2680:246e7104f744) | regfile.hh (2681:6885b69f4075) |
---|---|
1/* 2 * Copyright (c) 2004-2005 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; --- 285 unchanged lines hidden (view full) --- 294PhysRegFile<Impl>::PhysRegFile(unsigned _numPhysicalIntRegs, 295 unsigned _numPhysicalFloatRegs) 296 : numPhysicalIntRegs(_numPhysicalIntRegs), 297 numPhysicalFloatRegs(_numPhysicalFloatRegs) 298{ 299 intRegFile.resize(numPhysicalIntRegs); 300 floatRegFile.resize(numPhysicalFloatRegs); 301 | 1/* 2 * Copyright (c) 2004-2005 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; --- 285 unchanged lines hidden (view full) --- 294PhysRegFile<Impl>::PhysRegFile(unsigned _numPhysicalIntRegs, 295 unsigned _numPhysicalFloatRegs) 296 : numPhysicalIntRegs(_numPhysicalIntRegs), 297 numPhysicalFloatRegs(_numPhysicalFloatRegs) 298{ 299 intRegFile.resize(numPhysicalIntRegs); 300 floatRegFile.resize(numPhysicalFloatRegs); 301 |
302 for (int i = 0; i < Impl::MaxThreads; ++i) { 303 miscRegs[i].clear(); 304 } 305 |
|
302 //memset(intRegFile, 0, sizeof(*intRegFile)); 303 //memset(floatRegFile, 0, sizeof(*floatRegFile)); 304} 305 306#endif | 306 //memset(intRegFile, 0, sizeof(*intRegFile)); 307 //memset(floatRegFile, 0, sizeof(*floatRegFile)); 308} 309 310#endif |