utility.cc (11793:ef606668d247) utility.cc (12109:f29e9c5418aa)
1/*
2 * Copyright (c) 2009-2014, 2016 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

149copyRegs(ThreadContext *src, ThreadContext *dest)
150{
151 for (int i = 0; i < NumIntRegs; i++)
152 dest->setIntRegFlat(i, src->readIntRegFlat(i));
153
154 for (int i = 0; i < NumFloatRegs; i++)
155 dest->setFloatRegFlat(i, src->readFloatRegFlat(i));
156
1/*
2 * Copyright (c) 2009-2014, 2016 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

149copyRegs(ThreadContext *src, ThreadContext *dest)
150{
151 for (int i = 0; i < NumIntRegs; i++)
152 dest->setIntRegFlat(i, src->readIntRegFlat(i));
153
154 for (int i = 0; i < NumFloatRegs; i++)
155 dest->setFloatRegFlat(i, src->readFloatRegFlat(i));
156
157 for (int i = 0; i < NumVecRegs; i++)
158 dest->setVecRegFlat(i, src->readVecRegFlat(i));
159
157 for (int i = 0; i < NumCCRegs; i++)
158 dest->setCCReg(i, src->readCCReg(i));
159
160 for (int i = 0; i < NumMiscRegs; i++)
161 dest->setMiscRegNoEffect(i, src->readMiscRegNoEffect(i));
162
163 // setMiscReg "with effect" will set the misc register mapping correctly.
164 // e.g. updateRegMap(val)

--- 772 unchanged lines hidden ---
160 for (int i = 0; i < NumCCRegs; i++)
161 dest->setCCReg(i, src->readCCReg(i));
162
163 for (int i = 0; i < NumMiscRegs; i++)
164 dest->setMiscRegNoEffect(i, src->readMiscRegNoEffect(i));
165
166 // setMiscReg "with effect" will set the misc register mapping correctly.
167 // e.g. updateRegMap(val)

--- 772 unchanged lines hidden ---