xref: /qemu/docs/system/arm/emulation.rst (revision 7a928f43d8724bdf0777d7fc67a5ad973a0bf4bf)
1741292faSPeter MaydellA-profile CPU architecture support
2741292faSPeter Maydell==================================
3741292faSPeter Maydell
4741292faSPeter MaydellQEMU's TCG emulation includes support for the Armv5, Armv6, Armv7 and
5741292faSPeter MaydellArmv8 versions of the A-profile architecture. It also has support for
6741292faSPeter Maydellthe following architecture extensions:
7741292faSPeter Maydell
8741292faSPeter Maydell- FEAT_AA32BF16 (AArch32 BFloat16 instructions)
9741292faSPeter Maydell- FEAT_AA32HPD (AArch32 hierarchical permission disables)
10741292faSPeter Maydell- FEAT_AA32I8MM (AArch32 Int8 matrix multiplication instructions)
11741292faSPeter Maydell- FEAT_AES (AESD and AESE instructions)
12741292faSPeter Maydell- FEAT_BF16 (AArch64 BFloat16 instructions)
13741292faSPeter Maydell- FEAT_BTI (Branch Target Identification)
14741292faSPeter Maydell- FEAT_DIT (Data Independent Timing instructions)
15741292faSPeter Maydell- FEAT_DPB (DC CVAP instruction)
16741292faSPeter Maydell- FEAT_DotProd (Advanced SIMD dot product instructions)
17741292faSPeter Maydell- FEAT_FCMA (Floating-point complex number instructions)
18741292faSPeter Maydell- FEAT_FHM (Floating-point half-precision multiplication instructions)
19741292faSPeter Maydell- FEAT_FP16 (Half-precision floating-point data processing)
20741292faSPeter Maydell- FEAT_FRINTTS (Floating-point to integer instructions)
21741292faSPeter Maydell- FEAT_FlagM (Flag manipulation instructions v2)
22741292faSPeter Maydell- FEAT_FlagM2 (Enhancements to flag manipulation instructions)
23741292faSPeter Maydell- FEAT_HPDS (Hierarchical permission disables)
24741292faSPeter Maydell- FEAT_I8MM (AArch64 Int8 matrix multiplication instructions)
25741292faSPeter Maydell- FEAT_JSCVT (JavaScript conversion instructions)
26741292faSPeter Maydell- FEAT_LOR (Limited ordering regions)
27*7a928f43SRichard Henderson- FEAT_LPA (Large Physical Address space)
28741292faSPeter Maydell- FEAT_LRCPC (Load-acquire RCpc instructions)
29741292faSPeter Maydell- FEAT_LRCPC2 (Load-acquire RCpc instructions v2)
30741292faSPeter Maydell- FEAT_LSE (Large System Extensions)
310af312b6SRichard Henderson- FEAT_LVA (Large Virtual Address space)
32741292faSPeter Maydell- FEAT_MTE (Memory Tagging Extension)
33741292faSPeter Maydell- FEAT_MTE2 (Memory Tagging Extension)
3486f0d4c7SPeter Collingbourne- FEAT_MTE3 (MTE Asymmetric Fault Handling)
35741292faSPeter Maydell- FEAT_PAN (Privileged access never)
36741292faSPeter Maydell- FEAT_PAN2 (AT S1E1R and AT S1E1W instruction variants affected by PSTATE.PAN)
37741292faSPeter Maydell- FEAT_PAuth (Pointer authentication)
38741292faSPeter Maydell- FEAT_PMULL (PMULL, PMULL2 instructions)
39741292faSPeter Maydell- FEAT_PMUv3p1 (PMU Extensions v3.1)
40741292faSPeter Maydell- FEAT_PMUv3p4 (PMU Extensions v3.4)
41741292faSPeter Maydell- FEAT_RDM (Advanced SIMD rounding double multiply accumulate instructions)
42741292faSPeter Maydell- FEAT_RNG (Random number generator)
43741292faSPeter Maydell- FEAT_SB (Speculation Barrier)
44741292faSPeter Maydell- FEAT_SEL2 (Secure EL2)
45741292faSPeter Maydell- FEAT_SHA1 (SHA1 instructions)
46741292faSPeter Maydell- FEAT_SHA256 (SHA256 instructions)
47741292faSPeter Maydell- FEAT_SHA3 (Advanced SIMD SHA3 instructions)
48741292faSPeter Maydell- FEAT_SHA512 (Advanced SIMD SHA512 instructions)
49741292faSPeter Maydell- FEAT_SM3 (Advanced SIMD SM3 instructions)
50741292faSPeter Maydell- FEAT_SM4 (Advanced SIMD SM4 instructions)
51741292faSPeter Maydell- FEAT_SPECRES (Speculation restriction instructions)
52741292faSPeter Maydell- FEAT_SSBS (Speculative Store Bypass Safe)
53741292faSPeter Maydell- FEAT_TLBIOS (TLB invalidate instructions in Outer Shareable domain)
54741292faSPeter Maydell- FEAT_TLBIRANGE (TLB invalidate range instructions)
55741292faSPeter Maydell- FEAT_TTCNP (Translation table Common not private translations)
56741292faSPeter Maydell- FEAT_TTST (Small translation tables)
57741292faSPeter Maydell- FEAT_UAO (Unprivileged Access Override control)
58741292faSPeter Maydell- FEAT_VHE (Virtualization Host Extensions)
59741292faSPeter Maydell- FEAT_VMID16 (16-bit VMID)
60741292faSPeter Maydell- FEAT_XNX (Translation table stage 2 Unprivileged Execute-never)
61741292faSPeter Maydell- SVE (The Scalable Vector Extension)
62741292faSPeter Maydell- SVE2 (The Scalable Vector Extension v2)
63741292faSPeter Maydell
64741292faSPeter MaydellFor information on the specifics of these extensions, please refer
65741292faSPeter Maydellto the `Armv8-A Arm Architecture Reference Manual
66741292faSPeter Maydell<https://developer.arm.com/documentation/ddi0487/latest>`_.
67741292faSPeter Maydell
68741292faSPeter MaydellWhen a specific named CPU is being emulated, only those features which
69741292faSPeter Maydellare present in hardware for that CPU are emulated. (If a feature is
70741292faSPeter Maydellnot in the list above then it is not supported, even if the real
71741292faSPeter Maydellhardware should have it.) The ``max`` CPU enables all features.
72741292faSPeter Maydell
73741292faSPeter MaydellR-profile CPU architecture support
74741292faSPeter Maydell==================================
75741292faSPeter Maydell
76741292faSPeter MaydellQEMU's TCG emulation support for R-profile CPUs is currently limited.
77741292faSPeter MaydellWe emulate only the Cortex-R5 and Cortex-R5F CPUs.
78741292faSPeter Maydell
79741292faSPeter MaydellM-profile CPU architecture support
80741292faSPeter Maydell==================================
81741292faSPeter Maydell
82741292faSPeter MaydellQEMU's TCG emulation includes support for Armv6-M, Armv7-M, Armv8-M, and
83741292faSPeter MaydellArmv8.1-M versions of the M-profile architucture.  It also has support
84741292faSPeter Maydellfor the following architecture extensions:
85741292faSPeter Maydell
86741292faSPeter Maydell- FP (Floating-point Extension)
87741292faSPeter Maydell- FPCXT (FPCXT access instructions)
88741292faSPeter Maydell- HP (Half-precision floating-point instructions)
89741292faSPeter Maydell- LOB (Low Overhead loops and Branch future)
90741292faSPeter Maydell- M (Main Extension)
91741292faSPeter Maydell- MPU (Memory Protection Unit Extension)
92741292faSPeter Maydell- PXN (Privileged Execute Never)
93741292faSPeter Maydell- RAS (Reliability, Serviceability and Availability): "minimum RAS Extension" only
94741292faSPeter Maydell- S (Security Extension)
95741292faSPeter Maydell- ST (System Timer Extension)
96741292faSPeter Maydell
97741292faSPeter MaydellFor information on the specifics of these extensions, please refer
98741292faSPeter Maydellto the `Armv8-M Arm Architecture Reference Manual
99741292faSPeter Maydell<https://developer.arm.com/documentation/ddi0553/latest>`_.
100741292faSPeter Maydell
101741292faSPeter MaydellWhen a specific named CPU is being emulated, only those features which
102741292faSPeter Maydellare present in hardware for that CPU are emulated. (If a feature is
103741292faSPeter Maydellnot in the list above then it is not supported, even if the real
104741292faSPeter Maydellhardware should have it.) There is no equivalent of the ``max`` CPU for
105741292faSPeter MaydellM-profile.
106