mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 21:40:49 +00:00
target/arm: Define fields of ISAR registers
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20181008212205.17752-3-richard.henderson@linaro.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
9a05f7b674
commit
a62e62af9f
@ -1443,6 +1443,94 @@ FIELD(V7M_CSSELR, LEVEL, 1, 3)
|
||||
*/
|
||||
FIELD(V7M_CSSELR, INDEX, 0, 4)
|
||||
|
||||
/*
|
||||
* System register ID fields.
|
||||
*/
|
||||
FIELD(ID_ISAR0, SWAP, 0, 4)
|
||||
FIELD(ID_ISAR0, BITCOUNT, 4, 4)
|
||||
FIELD(ID_ISAR0, BITFIELD, 8, 4)
|
||||
FIELD(ID_ISAR0, CMPBRANCH, 12, 4)
|
||||
FIELD(ID_ISAR0, COPROC, 16, 4)
|
||||
FIELD(ID_ISAR0, DEBUG, 20, 4)
|
||||
FIELD(ID_ISAR0, DIVIDE, 24, 4)
|
||||
|
||||
FIELD(ID_ISAR1, ENDIAN, 0, 4)
|
||||
FIELD(ID_ISAR1, EXCEPT, 4, 4)
|
||||
FIELD(ID_ISAR1, EXCEPT_AR, 8, 4)
|
||||
FIELD(ID_ISAR1, EXTEND, 12, 4)
|
||||
FIELD(ID_ISAR1, IFTHEN, 16, 4)
|
||||
FIELD(ID_ISAR1, IMMEDIATE, 20, 4)
|
||||
FIELD(ID_ISAR1, INTERWORK, 24, 4)
|
||||
FIELD(ID_ISAR1, JAZELLE, 28, 4)
|
||||
|
||||
FIELD(ID_ISAR2, LOADSTORE, 0, 4)
|
||||
FIELD(ID_ISAR2, MEMHINT, 4, 4)
|
||||
FIELD(ID_ISAR2, MULTIACCESSINT, 8, 4)
|
||||
FIELD(ID_ISAR2, MULT, 12, 4)
|
||||
FIELD(ID_ISAR2, MULTS, 16, 4)
|
||||
FIELD(ID_ISAR2, MULTU, 20, 4)
|
||||
FIELD(ID_ISAR2, PSR_AR, 24, 4)
|
||||
FIELD(ID_ISAR2, REVERSAL, 28, 4)
|
||||
|
||||
FIELD(ID_ISAR3, SATURATE, 0, 4)
|
||||
FIELD(ID_ISAR3, SIMD, 4, 4)
|
||||
FIELD(ID_ISAR3, SVC, 8, 4)
|
||||
FIELD(ID_ISAR3, SYNCHPRIM, 12, 4)
|
||||
FIELD(ID_ISAR3, TABBRANCH, 16, 4)
|
||||
FIELD(ID_ISAR3, T32COPY, 20, 4)
|
||||
FIELD(ID_ISAR3, TRUENOP, 24, 4)
|
||||
FIELD(ID_ISAR3, T32EE, 28, 4)
|
||||
|
||||
FIELD(ID_ISAR4, UNPRIV, 0, 4)
|
||||
FIELD(ID_ISAR4, WITHSHIFTS, 4, 4)
|
||||
FIELD(ID_ISAR4, WRITEBACK, 8, 4)
|
||||
FIELD(ID_ISAR4, SMC, 12, 4)
|
||||
FIELD(ID_ISAR4, BARRIER, 16, 4)
|
||||
FIELD(ID_ISAR4, SYNCHPRIM_FRAC, 20, 4)
|
||||
FIELD(ID_ISAR4, PSR_M, 24, 4)
|
||||
FIELD(ID_ISAR4, SWP_FRAC, 28, 4)
|
||||
|
||||
FIELD(ID_ISAR5, SEVL, 0, 4)
|
||||
FIELD(ID_ISAR5, AES, 4, 4)
|
||||
FIELD(ID_ISAR5, SHA1, 8, 4)
|
||||
FIELD(ID_ISAR5, SHA2, 12, 4)
|
||||
FIELD(ID_ISAR5, CRC32, 16, 4)
|
||||
FIELD(ID_ISAR5, RDM, 24, 4)
|
||||
FIELD(ID_ISAR5, VCMA, 28, 4)
|
||||
|
||||
FIELD(ID_ISAR6, JSCVT, 0, 4)
|
||||
FIELD(ID_ISAR6, DP, 4, 4)
|
||||
FIELD(ID_ISAR6, FHM, 8, 4)
|
||||
FIELD(ID_ISAR6, SB, 12, 4)
|
||||
FIELD(ID_ISAR6, SPECRES, 16, 4)
|
||||
|
||||
FIELD(ID_AA64ISAR0, AES, 4, 4)
|
||||
FIELD(ID_AA64ISAR0, SHA1, 8, 4)
|
||||
FIELD(ID_AA64ISAR0, SHA2, 12, 4)
|
||||
FIELD(ID_AA64ISAR0, CRC32, 16, 4)
|
||||
FIELD(ID_AA64ISAR0, ATOMIC, 20, 4)
|
||||
FIELD(ID_AA64ISAR0, RDM, 28, 4)
|
||||
FIELD(ID_AA64ISAR0, SHA3, 32, 4)
|
||||
FIELD(ID_AA64ISAR0, SM3, 36, 4)
|
||||
FIELD(ID_AA64ISAR0, SM4, 40, 4)
|
||||
FIELD(ID_AA64ISAR0, DP, 44, 4)
|
||||
FIELD(ID_AA64ISAR0, FHM, 48, 4)
|
||||
FIELD(ID_AA64ISAR0, TS, 52, 4)
|
||||
FIELD(ID_AA64ISAR0, TLB, 56, 4)
|
||||
FIELD(ID_AA64ISAR0, RNDR, 60, 4)
|
||||
|
||||
FIELD(ID_AA64ISAR1, DPB, 0, 4)
|
||||
FIELD(ID_AA64ISAR1, APA, 4, 4)
|
||||
FIELD(ID_AA64ISAR1, API, 8, 4)
|
||||
FIELD(ID_AA64ISAR1, JSCVT, 12, 4)
|
||||
FIELD(ID_AA64ISAR1, FCMA, 16, 4)
|
||||
FIELD(ID_AA64ISAR1, LRCPC, 20, 4)
|
||||
FIELD(ID_AA64ISAR1, GPA, 24, 4)
|
||||
FIELD(ID_AA64ISAR1, GPI, 28, 4)
|
||||
FIELD(ID_AA64ISAR1, FRINTTS, 32, 4)
|
||||
FIELD(ID_AA64ISAR1, SB, 36, 4)
|
||||
FIELD(ID_AA64ISAR1, SPECRES, 40, 4)
|
||||
|
||||
QEMU_BUILD_BUG_ON(ARRAY_SIZE(((ARMCPU *)0)->ccsidr) <= R_V7M_CSSELR_INDEX_MASK);
|
||||
|
||||
/* If adding a feature bit which corresponds to a Linux ELF
|
||||
|
Loading…
Reference in New Issue
Block a user