utility.cc (10934:5af8f40d8f2c) utility.cc (10935:acd48ddd725f)
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;

--- 223 unchanged lines hidden (view full) ---

232 // Then loop through the floating point registers.
233 for (int i = 0; i < SparcISA::NumFloatArchRegs; ++i) {
234 dest->setFloatRegBits(i, src->readFloatRegBits(i));
235 }
236
237 // Would need to add condition-code regs if implemented
238 assert(NumCCRegs == 0);
239
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;

--- 223 unchanged lines hidden (view full) ---

232 // Then loop through the floating point registers.
233 for (int i = 0; i < SparcISA::NumFloatArchRegs; ++i) {
234 dest->setFloatRegBits(i, src->readFloatRegBits(i));
235 }
236
237 // Would need to add condition-code regs if implemented
238 assert(NumCCRegs == 0);
239
240 // Copy vector registers when vector registers put to use.
241 assert(NumVectorRegs == 0);
242
243 // Copy misc. registers
244 copyMiscRegs(src, dest);
245
246 // Lastly copy PC/NPC
247 dest->pcState(src->pcState());
248}
249
250void

--- 17 unchanged lines hidden ---
240 // Copy misc. registers
241 copyMiscRegs(src, dest);
242
243 // Lastly copy PC/NPC
244 dest->pcState(src->pcState());
245}
246
247void

--- 17 unchanged lines hidden ---