Deleted Added
sdiff udiff text old ( 12499:b81688796004 ) new ( 12510:b8203d3676fc )
full compact
1/*
2 * Copyright (c) 2010-2014, 2016-2018 ARM Limited
3 * Copyright (c) 2013 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

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

1013{
1014 CPSR new_cpsr = 0;
1015
1016 // gem5 doesn't implement single-stepping, so force the SS bit to
1017 // 0.
1018 new_cpsr.ss = 0;
1019
1020 if (illegalExceptionReturn(tc, cpsr, spsr)) {
1021 new_cpsr.il = 1;
1022 } else {
1023 new_cpsr.il = spsr.il;
1024 if (spsr.width && badMode32((OperatingMode)(uint8_t)spsr.mode)) {
1025 new_cpsr.il = 1;
1026 } else if (spsr.width) {
1027 new_cpsr.mode = spsr.mode;
1028 } else {
1029 new_cpsr.el = spsr.el;

--- 40 unchanged lines hidden ---