xref: /qemu/docs/system/arm/emulation.rst (revision 741292face087213b846faed7055ff51b7fee2dd)
1*741292faSPeter MaydellA-profile CPU architecture support
2*741292faSPeter Maydell==================================
3*741292faSPeter Maydell
4*741292faSPeter MaydellQEMU's TCG emulation includes support for the Armv5, Armv6, Armv7 and
5*741292faSPeter MaydellArmv8 versions of the A-profile architecture. It also has support for
6*741292faSPeter Maydellthe following architecture extensions:
7*741292faSPeter Maydell
8*741292faSPeter Maydell- FEAT_AA32BF16 (AArch32 BFloat16 instructions)
9*741292faSPeter Maydell- FEAT_AA32HPD (AArch32 hierarchical permission disables)
10*741292faSPeter Maydell- FEAT_AA32I8MM (AArch32 Int8 matrix multiplication instructions)
11*741292faSPeter Maydell- FEAT_AES (AESD and AESE instructions)
12*741292faSPeter Maydell- FEAT_BF16 (AArch64 BFloat16 instructions)
13*741292faSPeter Maydell- FEAT_BTI (Branch Target Identification)
14*741292faSPeter Maydell- FEAT_DIT (Data Independent Timing instructions)
15*741292faSPeter Maydell- FEAT_DPB (DC CVAP instruction)
16*741292faSPeter Maydell- FEAT_DotProd (Advanced SIMD dot product instructions)
17*741292faSPeter Maydell- FEAT_FCMA (Floating-point complex number instructions)
18*741292faSPeter Maydell- FEAT_FHM (Floating-point half-precision multiplication instructions)
19*741292faSPeter Maydell- FEAT_FP16 (Half-precision floating-point data processing)
20*741292faSPeter Maydell- FEAT_FRINTTS (Floating-point to integer instructions)
21*741292faSPeter Maydell- FEAT_FlagM (Flag manipulation instructions v2)
22*741292faSPeter Maydell- FEAT_FlagM2 (Enhancements to flag manipulation instructions)
23*741292faSPeter Maydell- FEAT_HPDS (Hierarchical permission disables)
24*741292faSPeter Maydell- FEAT_I8MM (AArch64 Int8 matrix multiplication instructions)
25*741292faSPeter Maydell- FEAT_JSCVT (JavaScript conversion instructions)
26*741292faSPeter Maydell- FEAT_LOR (Limited ordering regions)
27*741292faSPeter Maydell- FEAT_LRCPC (Load-acquire RCpc instructions)
28*741292faSPeter Maydell- FEAT_LRCPC2 (Load-acquire RCpc instructions v2)
29*741292faSPeter Maydell- FEAT_LSE (Large System Extensions)
30*741292faSPeter Maydell- FEAT_MTE (Memory Tagging Extension)
31*741292faSPeter Maydell- FEAT_MTE2 (Memory Tagging Extension)
32*741292faSPeter Maydell- FEAT_PAN (Privileged access never)
33*741292faSPeter Maydell- FEAT_PAN2 (AT S1E1R and AT S1E1W instruction variants affected by PSTATE.PAN)
34*741292faSPeter Maydell- FEAT_PAuth (Pointer authentication)
35*741292faSPeter Maydell- FEAT_PMULL (PMULL, PMULL2 instructions)
36*741292faSPeter Maydell- FEAT_PMUv3p1 (PMU Extensions v3.1)
37*741292faSPeter Maydell- FEAT_PMUv3p4 (PMU Extensions v3.4)
38*741292faSPeter Maydell- FEAT_RDM (Advanced SIMD rounding double multiply accumulate instructions)
39*741292faSPeter Maydell- FEAT_RNG (Random number generator)
40*741292faSPeter Maydell- FEAT_SB (Speculation Barrier)
41*741292faSPeter Maydell- FEAT_SEL2 (Secure EL2)
42*741292faSPeter Maydell- FEAT_SHA1 (SHA1 instructions)
43*741292faSPeter Maydell- FEAT_SHA256 (SHA256 instructions)
44*741292faSPeter Maydell- FEAT_SHA3 (Advanced SIMD SHA3 instructions)
45*741292faSPeter Maydell- FEAT_SHA512 (Advanced SIMD SHA512 instructions)
46*741292faSPeter Maydell- FEAT_SM3 (Advanced SIMD SM3 instructions)
47*741292faSPeter Maydell- FEAT_SM4 (Advanced SIMD SM4 instructions)
48*741292faSPeter Maydell- FEAT_SPECRES (Speculation restriction instructions)
49*741292faSPeter Maydell- FEAT_SSBS (Speculative Store Bypass Safe)
50*741292faSPeter Maydell- FEAT_TLBIOS (TLB invalidate instructions in Outer Shareable domain)
51*741292faSPeter Maydell- FEAT_TLBIRANGE (TLB invalidate range instructions)
52*741292faSPeter Maydell- FEAT_TTCNP (Translation table Common not private translations)
53*741292faSPeter Maydell- FEAT_TTST (Small translation tables)
54*741292faSPeter Maydell- FEAT_UAO (Unprivileged Access Override control)
55*741292faSPeter Maydell- FEAT_VHE (Virtualization Host Extensions)
56*741292faSPeter Maydell- FEAT_VMID16 (16-bit VMID)
57*741292faSPeter Maydell- FEAT_XNX (Translation table stage 2 Unprivileged Execute-never)
58*741292faSPeter Maydell- SVE (The Scalable Vector Extension)
59*741292faSPeter Maydell- SVE2 (The Scalable Vector Extension v2)
60*741292faSPeter Maydell
61*741292faSPeter MaydellFor information on the specifics of these extensions, please refer
62*741292faSPeter Maydellto the `Armv8-A Arm Architecture Reference Manual
63*741292faSPeter Maydell<https://developer.arm.com/documentation/ddi0487/latest>`_.
64*741292faSPeter Maydell
65*741292faSPeter MaydellWhen a specific named CPU is being emulated, only those features which
66*741292faSPeter Maydellare present in hardware for that CPU are emulated. (If a feature is
67*741292faSPeter Maydellnot in the list above then it is not supported, even if the real
68*741292faSPeter Maydellhardware should have it.) The ``max`` CPU enables all features.
69*741292faSPeter Maydell
70*741292faSPeter MaydellR-profile CPU architecture support
71*741292faSPeter Maydell==================================
72*741292faSPeter Maydell
73*741292faSPeter MaydellQEMU's TCG emulation support for R-profile CPUs is currently limited.
74*741292faSPeter MaydellWe emulate only the Cortex-R5 and Cortex-R5F CPUs.
75*741292faSPeter Maydell
76*741292faSPeter MaydellM-profile CPU architecture support
77*741292faSPeter Maydell==================================
78*741292faSPeter Maydell
79*741292faSPeter MaydellQEMU's TCG emulation includes support for Armv6-M, Armv7-M, Armv8-M, and
80*741292faSPeter MaydellArmv8.1-M versions of the M-profile architucture.  It also has support
81*741292faSPeter Maydellfor the following architecture extensions:
82*741292faSPeter Maydell
83*741292faSPeter Maydell- FP (Floating-point Extension)
84*741292faSPeter Maydell- FPCXT (FPCXT access instructions)
85*741292faSPeter Maydell- HP (Half-precision floating-point instructions)
86*741292faSPeter Maydell- LOB (Low Overhead loops and Branch future)
87*741292faSPeter Maydell- M (Main Extension)
88*741292faSPeter Maydell- MPU (Memory Protection Unit Extension)
89*741292faSPeter Maydell- PXN (Privileged Execute Never)
90*741292faSPeter Maydell- RAS (Reliability, Serviceability and Availability): "minimum RAS Extension" only
91*741292faSPeter Maydell- S (Security Extension)
92*741292faSPeter Maydell- ST (System Timer Extension)
93*741292faSPeter Maydell
94*741292faSPeter MaydellFor information on the specifics of these extensions, please refer
95*741292faSPeter Maydellto the `Armv8-M Arm Architecture Reference Manual
96*741292faSPeter Maydell<https://developer.arm.com/documentation/ddi0553/latest>`_.
97*741292faSPeter Maydell
98*741292faSPeter MaydellWhen a specific named CPU is being emulated, only those features which
99*741292faSPeter Maydellare present in hardware for that CPU are emulated. (If a feature is
100*741292faSPeter Maydellnot in the list above then it is not supported, even if the real
101*741292faSPeter Maydellhardware should have it.) There is no equivalent of the ``max`` CPU for
102*741292faSPeter MaydellM-profile.
103