ScarletNX / ScarletNX documentation / Cortex-A57 / AArch64 divergences · ← previous · next →
Public PDF references and profile selection
Primary architecture reference:
- ARM DDI0487A.k, ARM Architecture Reference Manual, ARMv8, for ARMv8-A
architecture profile, 2016, non-confidential, 5,732 PDF pages.
- Official PDF
- SHA-256:
4c01cf306ad32433742c0450691dd93f12bf0d0dd4dd97eabfa848c510aa1e8b
- C4: allocation; C5: system instructions; C6.2: base instructions;
C7.2: SIMD/FP instructions; shared pseudocode supplies FP and memory rules.
- C2.2.1 is important: parenthesized encoding bits are SBZ/SBO constraints,
not unconditional fixed-bit allocation rules. Violating them can permit
UNDEFINED, NOP, execution with the prescribed bit, or UNKNOWN destinations.
Implementation reference:
- ARM DDI0488H, Cortex-A57 MPCore Processor Technical Reference Manual,
577 PDF pages.
- Official PDF
- SHA-256:
30c47dac07e432b706e1d938dbab9668a1cab461bce2340007a612df1042e8e5
- Section 3.1: features and optional Cryptography Extension.
- Table 4-34,
ID_AA64ISAR0_EL1: CRC32 is implemented in AArch64 on A57.
- Tables 14-3/14-4: FPCR/FPSR fields and RES0 bits.
An older DDI0487A.a beta was used for the initial investigation; the ledger and
final architectural references use the released A.k edition above. PDFs are
not redistributed with this patch.
Not available on the base Cortex-A57
- Optional Cryptography Extension: AESE, AESD, AESMC, AESIMC; SHA1C,
SHA1M, SHA1P, SHA1H, SHA1SU0, SHA1SU1; SHA256H, SHA256H2, SHA256SU0,
SHA256SU1; and the 64-bit-element PMULL/PMULL2 forms. ScarletNX implements
these and does not currently feature-gate them. They are outside the requested
base profile, not missing base instructions. A strict base-only CPU mode would
have to reject them. The 8-bit polynomial PMULL/PMULL2 forms are base SIMD
and must not be disabled with the optional crypto forms.
- FP16 arithmetic/general-register FP16 moves: not A57. The four general
FMOV W/X,H / FMOV H,W/X encodings previously accepted here are now rejected.
This does not remove the base half/single/double format conversions, nor
integer operations and bitwise moves on 16-bit vector elements.
- ARMv8.1 Limited Ordering Regions: LDLAR/STLLR and their byte/halfword
forms are not A57. The decoder previously treated their words as ordinary
acquire/release loads/stores; it now rejects them.
- LSE atomics (CAS/SWP/LDADD families), RDM, RCpc loads, dot-product extensions,
FRINT32Z/FRINT32X/FRINT64Z/FRINT64X, SHA512/SHA3, pointer authentication,
SVE and SME are not base A57 requirements. Selected later-ISA probes are in
the harness; this is not an exhaustive catalogue of later encodings.
- FP exception-enable traps and FZ16 are not implemented by A57. Their FPCR
bits are RES0, so absent FP trapping is not a missing base-A57 feature.
A later instruction assigned to the backward-compatible HINT space can legally
behave as a hint/NOP on A57. Do not infer implementation of its later feature
merely from execution without an undefined-instruction exception.
← previous · next →