utility.cc (10934:5af8f40d8f2c) | utility.cc (10935:acd48ddd725f) |
---|---|
1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * Copyright (c) 2011 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 231 unchanged lines hidden (view full) --- 240 for (int i = 0; i < NumIntRegs; ++i) 241 dest->setIntRegFlat(i, src->readIntRegFlat(i)); 242 //copy float regs 243 for (int i = 0; i < NumFloatRegs; ++i) 244 dest->setFloatRegBitsFlat(i, src->readFloatRegBitsFlat(i)); 245 //copy condition-code regs 246 for (int i = 0; i < NumCCRegs; ++i) 247 dest->setCCRegFlat(i, src->readCCRegFlat(i)); | 1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * Copyright (c) 2011 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 231 unchanged lines hidden (view full) --- 240 for (int i = 0; i < NumIntRegs; ++i) 241 dest->setIntRegFlat(i, src->readIntRegFlat(i)); 242 //copy float regs 243 for (int i = 0; i < NumFloatRegs; ++i) 244 dest->setFloatRegBitsFlat(i, src->readFloatRegBitsFlat(i)); 245 //copy condition-code regs 246 for (int i = 0; i < NumCCRegs; ++i) 247 dest->setCCRegFlat(i, src->readCCRegFlat(i)); |
248 249 // copy vector regs when added to the architecture 250 assert(NumVectorRegs == 0); 251 | |
252 copyMiscRegs(src, dest); 253 dest->pcState(src->pcState()); 254} 255 256void 257skipFunction(ThreadContext *tc) 258{ 259 panic("Not implemented for x86\n"); --- 117 unchanged lines hidden --- | 248 copyMiscRegs(src, dest); 249 dest->pcState(src->pcState()); 250} 251 252void 253skipFunction(ThreadContext *tc) 254{ 255 panic("Not implemented for x86\n"); --- 117 unchanged lines hidden --- |