data.isa (9250:dab0f29394f0) data.isa (10037:5cac77888310)
1// -*- mode:c++ -*-
2
1// -*- mode:c++ -*-
2
3// Copyright (c) 2010 ARM Limited
3// Copyright (c) 2010, 2013 ARM Limited
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
9// to a hardware implementation of the functionality of the software
10// licensed hereunder. You may use the software subject to the license
11// terms below provided that you ensure that this notice is replicated

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

252 isRasPop = isRasPop, isBranch = isBranch)
253 buildRegRegDataInst(mnem, regRegCode, flagType)
254 if subsPcLr:
255 code += '''
256 SCTLR sctlr = Sctlr;
257 CPSR old_cpsr = Cpsr;
258
259 CPSR new_cpsr =
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
9// to a hardware implementation of the functionality of the software
10// licensed hereunder. You may use the software subject to the license
11// terms below provided that you ensure that this notice is replicated

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

252 isRasPop = isRasPop, isBranch = isBranch)
253 buildRegRegDataInst(mnem, regRegCode, flagType)
254 if subsPcLr:
255 code += '''
256 SCTLR sctlr = Sctlr;
257 CPSR old_cpsr = Cpsr;
258
259 CPSR new_cpsr =
260 cpsrWriteByInstr(old_cpsr, Spsr, 0xF, true, sctlr.nmfi);
260 cpsrWriteByInstr(old_cpsr, Spsr, Scr, Nsacr, 0xF, true,
261 sctlr.nmfi, xc->tcBase());
261 Cpsr = ~CondCodesMask & new_cpsr;
262 CondCodesNZ = new_cpsr.nz;
263 CondCodesC = new_cpsr.c;
264 CondCodesV = new_cpsr.v;
265 CondCodesGE = new_cpsr.ge;
266
267 NextThumb = (new_cpsr).t;
268 NextJazelle = (new_cpsr).j;

--- 581 unchanged lines hidden ---
262 Cpsr = ~CondCodesMask & new_cpsr;
263 CondCodesNZ = new_cpsr.nz;
264 CondCodesC = new_cpsr.c;
265 CondCodesV = new_cpsr.v;
266 CondCodesGE = new_cpsr.ge;
267
268 NextThumb = (new_cpsr).t;
269 NextJazelle = (new_cpsr).j;

--- 581 unchanged lines hidden ---