miscregs.hh (12713:8bd811411ed7) miscregs.hh (12762:f73d3a4aaf03)
1/*
2 * Copyright (c) 2010-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

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

1418 Bitfield<0> sp; // AArch64
1419 EndBitUnion(CPSR)
1420
1421 // This mask selects bits of the CPSR that actually go in the CondCodes
1422 // integer register to allow renaming.
1423 static const uint32_t CondCodesMask = 0xF00F0000;
1424 static const uint32_t CpsrMaskQ = 0x08000000;
1425
1/*
2 * Copyright (c) 2010-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

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

1418 Bitfield<0> sp; // AArch64
1419 EndBitUnion(CPSR)
1420
1421 // This mask selects bits of the CPSR that actually go in the CondCodes
1422 // integer register to allow renaming.
1423 static const uint32_t CondCodesMask = 0xF00F0000;
1424 static const uint32_t CpsrMaskQ = 0x08000000;
1425
1426 // APSR (Application Program Status Register Mask). It is the user level
1427 // alias for the CPSR. The APSR is a subset of the CPSR. Although
1428 // bits[15:0] are UNKNOWN on reads, it is permitted that, on a read of
1429 // APSR:
1430 // Bit[9] returns the value of CPSR.E.
1431 // Bits[8:6] return the value of CPSR.{A,I, F}, the mask bits.
1432 static const uint32_t ApsrMask = CpsrMaskQ | CondCodesMask | 0x000001D0;
1433
1434 // CPSR (Current Program Status Register Mask).
1435 static const uint32_t CpsrMask = ApsrMask | 0x00F003DF;
1436
1426 BitUnion32(HDCR)
1427 Bitfield<11> tdra;
1428 Bitfield<10> tdosa;
1429 Bitfield<9> tda;
1430 Bitfield<8> tde;
1431 Bitfield<7> hpme;
1432 Bitfield<6> tpm;
1433 Bitfield<5> tpmcr;

--- 513 unchanged lines hidden ---
1437 BitUnion32(HDCR)
1438 Bitfield<11> tdra;
1439 Bitfield<10> tdosa;
1440 Bitfield<9> tda;
1441 Bitfield<8> tde;
1442 Bitfield<7> hpme;
1443 Bitfield<6> tpm;
1444 Bitfield<5> tpmcr;

--- 513 unchanged lines hidden ---