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;

--- 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);
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 assert(NumVectorRegs == 0);
77
78 // Copy misc. registers
79 copyMiscRegs(src, dest);
80
81 // Lastly copy PC/NPC
82 dest->pcState(src->pcState());
83}
84

--- 26 unchanged lines hidden ---
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 ---