isa.hh (12972:832a2d71a6cf) isa.hh (13020:b5f05a988593)
1/*
2 * Copyright (c) 2010, 2012-2018 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

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

456 case EL2:
457 return INTREG_SP2;
458 case EL1:
459 return INTREG_SP1;
460 case EL0:
461 return INTREG_SP0;
462 default:
463 panic("Invalid exception level");
1/*
2 * Copyright (c) 2010, 2012-2018 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

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

456 case EL2:
457 return INTREG_SP2;
458 case EL1:
459 return INTREG_SP1;
460 case EL0:
461 return INTREG_SP0;
462 default:
463 panic("Invalid exception level");
464 break;
464 return 0; // Never happens.
465 }
466 } else {
467 return flattenIntRegModeIndex(reg);
468 }
469 }
470
471 int
472 flattenFloatIndex(int reg) const

--- 224 unchanged lines hidden ---
465 }
466 } else {
467 return flattenIntRegModeIndex(reg);
468 }
469 }
470
471 int
472 flattenFloatIndex(int reg) const

--- 224 unchanged lines hidden ---