1/* 2 * Copyright (c) 2003-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; --- 59 unchanged lines hidden (view full) --- 68 dest->setIntReg(i, src->readIntReg(i)); 69 70 // Then loop through the floating point registers. 71 for (int i = 0; i < NumFloatRegs; ++i) 72 dest->setFloatRegBits(i, src->readFloatRegBits(i)); 73 74 // Would need to add condition-code regs if implemented 75 assert(NumCCRegs == 0); |
76 77 // Copy misc. registers 78 copyMiscRegs(src, dest); 79 80 // Lastly copy PC/NPC 81 dest->pcState(src->pcState()); 82} 83 --- 26 unchanged lines hidden --- |