Squashed 'externals/oaknut/' changes from c0c715505..72f7ccd94

72f7ccd94 oaknut: 1.1.3
0b5745e4e oaknut: Add Windows on Arm support (#1)
5de40335d oaknut: 1.1.2
2952b759f oaknut: Correct MOV (UMOV alias)
c90eb31ca oaknut: 1.1.1
7c777a28f oaknut: Fix ADR and ADRP
7470c7611 oaknut: Add ARMv8.2 instructions
9eb7cca88 oaknut: Update README
3fe32849a oaknut: 1.1.0
542128b51 oaknut: Add ARMv8.1 instructions
9acafdcdd oaknut: fpsimd MOV and UMOV corrections
636f91bac oaknut: MOV: Fix MOVN case
9cb332621 oaknut: Implement arranged accessors from DReg and QReg
ba2dc2afe oaknut: dx
94bf56b08 oaknut: align
aa7a3519f oaknut: Add dw
898f666ec oaknut: Add common system registers

git-subtree-dir: externals/oaknut
git-subtree-split: 72f7ccd9409dadf6a4ab98bad1fb11fbf0ca4d74
This commit is contained in:
Merry 2022-11-15 15:36:04 +00:00
parent 4e89756169
commit cb8abc3ae5
16 changed files with 2331 additions and 82 deletions

View file

@ -85,6 +85,15 @@ enum class PstateField {
};
enum class SystemReg {
CNTFRQ_EL0 = 0b11'011'1110'0000'000,
CNTPCT_EL0 = 0b11'011'1110'0000'001,
CTR_EL0 = 0b11'011'0000'0000'001,
DCZID_EL0 = 0b11'011'0000'0000'111,
FPCR = 0b11'011'0100'0100'000,
FPSR = 0b11'011'0100'0100'001,
NZCV = 0b11'011'0100'0010'000,
TPIDR_EL0 = 0b11'011'1101'0000'010,
TPIDRRO_EL0 = 0b11'011'1101'0000'011,
};
enum class AtOp {