Deleted Added
sdiff udiff text old ( 8271:1d3733d3acee ) new ( 8301:858384f3af1c )
full compact
1/*
2 * Copyright (c) 2010 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

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

111 }
112
113 //R15, aliased with the PC
114 newState[STATE_PC] = tc->pcState().npc();
115 changed[STATE_PC] = (newState[STATE_PC] != oldState[STATE_PC]);
116
117 //CPSR
118 newState[STATE_CPSR] = tc->readMiscReg(MISCREG_CPSR) |
119 tc->readIntReg(INTREG_CONDCODES_F) |
120 tc->readIntReg(INTREG_CONDCODES_Q) |
121 tc->readIntReg(INTREG_CONDCODES_GE);
122 changed[STATE_CPSR] = (newState[STATE_CPSR] != oldState[STATE_CPSR]);
123
124 for (int i = 0; i < NumFloatArchRegs; i += 2) {
125 newState[STATE_F0 + (i >> 1)] =
126 static_cast<uint64_t>(tc->readFloatRegBits(i + 1)) << 32 |
127 tc->readFloatRegBits(i);
128 }
129 newState[STATE_FPSCR] = tc->readMiscRegNoEffect(MISCREG_FPSCR) |

--- 91 unchanged lines hidden ---