1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * Copyright (c) 2007-2008 The Florida State University 4 * Copyright (c) 2009 The University of Edinburgh 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are --- 37 unchanged lines hidden (view full) --- 46 47 // Then loop through the floating point registers. 48 for (int i = 0; i < NumFloatRegs; ++i) 49 dest->setFloatRegBits(i, src->readFloatRegBits(i)); 50 51 // Would need to add condition-code regs if implemented 52 assert(NumCCRegs == 0); 53 |
54 // Copy misc. registers 55 copyMiscRegs(src, dest); 56 57 // Lastly copy PC/NPC 58 dest->pcState(src->pcState()); 59} 60 61uint64_t --- 20 unchanged lines hidden --- |