utility.cc (10934:5af8f40d8f2c) | utility.cc (10935:acd48ddd725f) |
---|---|
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 | 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 vector registers when vector registers put to use. 55 assert(NumVectorRegs == 0); 56 | |
57 // Copy misc. registers 58 copyMiscRegs(src, dest); 59 60 // Lastly copy PC/NPC 61 dest->pcState(src->pcState()); 62} 63 64uint64_t --- 20 unchanged lines hidden --- | 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 --- |