utility.cc (10934:5af8f40d8f2c) utility.cc (10935:acd48ddd725f)
1/*
2 * Copyright (c) 2007 MIPS Technologies, Inc.
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;

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

247
248 // Then loop through the floating point registers.
249 for (int i = 0; i < NumFloatRegs; i++)
250 dest->setFloatRegFlat(i, src->readFloatRegFlat(i));
251
252 // Would need to add condition-code regs if implemented
253 assert(NumCCRegs == 0);
254
1/*
2 * Copyright (c) 2007 MIPS Technologies, Inc.
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;

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

247
248 // Then loop through the floating point registers.
249 for (int i = 0; i < NumFloatRegs; i++)
250 dest->setFloatRegFlat(i, src->readFloatRegFlat(i));
251
252 // Would need to add condition-code regs if implemented
253 assert(NumCCRegs == 0);
254
255 // Copy vector registers when vector registers put to use.
256 assert(NumVectorRegs == 0);
257
258 // Copy misc. registers
259 for (int i = 0; i < NumMiscRegs; i++)
260 dest->setMiscRegNoEffect(i, src->readMiscRegNoEffect(i));
261
262 // Copy over the PC State
263 dest->pcState(src->pcState());
264}
265

--- 15 unchanged lines hidden ---
255 // Copy misc. registers
256 for (int i = 0; i < NumMiscRegs; i++)
257 dest->setMiscRegNoEffect(i, src->readMiscRegNoEffect(i));
258
259 // Copy over the PC State
260 dest->pcState(src->pcState());
261}
262

--- 15 unchanged lines hidden ---