1.. _Arm Emulation: 2 3A-profile CPU architecture support 4================================== 5 6QEMU's TCG emulation includes support for the Armv5, Armv6, Armv7 and 7Armv8 versions of the A-profile architecture. It also has support for 8the following architecture extensions: 9 10- FEAT_AA32BF16 (AArch32 BFloat16 instructions) 11- FEAT_AA32HPD (AArch32 hierarchical permission disables) 12- FEAT_AA32I8MM (AArch32 Int8 matrix multiplication instructions) 13- FEAT_AES (AESD and AESE instructions) 14- FEAT_BBM at level 2 (Translation table break-before-make levels) 15- FEAT_BF16 (AArch64 BFloat16 instructions) 16- FEAT_BTI (Branch Target Identification) 17- FEAT_CRC32 (CRC32 instructions) 18- FEAT_CSV2 (Cache speculation variant 2) 19- FEAT_CSV2_1p1 (Cache speculation variant 2, version 1.1) 20- FEAT_CSV2_1p2 (Cache speculation variant 2, version 1.2) 21- FEAT_CSV2_2 (Cache speculation variant 2, version 2) 22- FEAT_CSV3 (Cache speculation variant 3) 23- FEAT_DGH (Data gathering hint) 24- FEAT_DIT (Data Independent Timing instructions) 25- FEAT_DPB (DC CVAP instruction) 26- FEAT_Debugv8p2 (Debug changes for v8.2) 27- FEAT_Debugv8p4 (Debug changes for v8.4) 28- FEAT_DotProd (Advanced SIMD dot product instructions) 29- FEAT_DoubleFault (Double Fault Extension) 30- FEAT_E0PD (Preventing EL0 access to halves of address maps) 31- FEAT_EPAC (Enhanced pointer authentication) 32- FEAT_ETS (Enhanced Translation Synchronization) 33- FEAT_EVT (Enhanced Virtualization Traps) 34- FEAT_FCMA (Floating-point complex number instructions) 35- FEAT_FGT (Fine-Grained Traps) 36- FEAT_FHM (Floating-point half-precision multiplication instructions) 37- FEAT_FP16 (Half-precision floating-point data processing) 38- FEAT_FPAC (Faulting on AUT* instructions) 39- FEAT_FPACCOMBINE (Faulting on combined pointer authentication instructions) 40- FEAT_FRINTTS (Floating-point to integer instructions) 41- FEAT_FlagM (Flag manipulation instructions v2) 42- FEAT_FlagM2 (Enhancements to flag manipulation instructions) 43- FEAT_GTG (Guest translation granule size) 44- FEAT_HAFDBS (Hardware management of the access flag and dirty bit state) 45- FEAT_HBC (Hinted conditional branches) 46- FEAT_HCX (Support for the HCRX_EL2 register) 47- FEAT_HPDS (Hierarchical permission disables) 48- FEAT_HPDS2 (Translation table page-based hardware attributes) 49- FEAT_I8MM (AArch64 Int8 matrix multiplication instructions) 50- FEAT_IDST (ID space trap handling) 51- FEAT_IESB (Implicit error synchronization event) 52- FEAT_JSCVT (JavaScript conversion instructions) 53- FEAT_LOR (Limited ordering regions) 54- FEAT_LPA (Large Physical Address space) 55- FEAT_LPA2 (Large Physical and virtual Address space v2) 56- FEAT_LRCPC (Load-acquire RCpc instructions) 57- FEAT_LRCPC2 (Load-acquire RCpc instructions v2) 58- FEAT_LSE (Large System Extensions) 59- FEAT_LSE2 (Large System Extensions v2) 60- FEAT_LVA (Large Virtual Address space) 61- FEAT_MOPS (Standardization of memory operations) 62- FEAT_MTE (Memory Tagging Extension) 63- FEAT_MTE2 (Memory Tagging Extension) 64- FEAT_MTE3 (MTE Asymmetric Fault Handling) 65- FEAT_PACIMP (Pointer authentication - IMPLEMENTATION DEFINED algorithm) 66- FEAT_PACQARMA3 (Pointer authentication - QARMA3 algorithm) 67- FEAT_PACQARMA5 (Pointer authentication - QARMA5 algorithm) 68- FEAT_PAN (Privileged access never) 69- FEAT_PAN2 (AT S1E1R and AT S1E1W instruction variants affected by PSTATE.PAN) 70- FEAT_PAN3 (Support for SCTLR_ELx.EPAN) 71- FEAT_PAuth (Pointer authentication) 72- FEAT_PAuth2 (Enhacements to pointer authentication) 73- FEAT_PMULL (PMULL, PMULL2 instructions) 74- FEAT_PMUv3p1 (PMU Extensions v3.1) 75- FEAT_PMUv3p4 (PMU Extensions v3.4) 76- FEAT_PMUv3p5 (PMU Extensions v3.5) 77- FEAT_RAS (Reliability, availability, and serviceability) 78- FEAT_RASv1p1 (RAS Extension v1.1) 79- FEAT_RDM (Advanced SIMD rounding double multiply accumulate instructions) 80- FEAT_RME (Realm Management Extension) (NB: support status in QEMU is experimental) 81- FEAT_RNG (Random number generator) 82- FEAT_S2FWB (Stage 2 forced Write-Back) 83- FEAT_SB (Speculation Barrier) 84- FEAT_SEL2 (Secure EL2) 85- FEAT_SHA1 (SHA1 instructions) 86- FEAT_SHA256 (SHA256 instructions) 87- FEAT_SHA3 (Advanced SIMD SHA3 instructions) 88- FEAT_SHA512 (Advanced SIMD SHA512 instructions) 89- FEAT_SM3 (Advanced SIMD SM3 instructions) 90- FEAT_SM4 (Advanced SIMD SM4 instructions) 91- FEAT_SME (Scalable Matrix Extension) 92- FEAT_SME_FA64 (Full A64 instruction set in Streaming SVE mode) 93- FEAT_SME_F64F64 (Double-precision floating-point outer product instructions) 94- FEAT_SME_I16I64 (16-bit to 64-bit integer widening outer product instructions) 95- FEAT_SPECRES (Speculation restriction instructions) 96- FEAT_SSBS (Speculative Store Bypass Safe) 97- FEAT_TIDCP1 (EL0 use of IMPLEMENTATION DEFINED functionality) 98- FEAT_TLBIOS (TLB invalidate instructions in Outer Shareable domain) 99- FEAT_TLBIRANGE (TLB invalidate range instructions) 100- FEAT_TTCNP (Translation table Common not private translations) 101- FEAT_TTL (Translation Table Level) 102- FEAT_TTST (Small translation tables) 103- FEAT_UAO (Unprivileged Access Override control) 104- FEAT_VHE (Virtualization Host Extensions) 105- FEAT_VMID16 (16-bit VMID) 106- FEAT_XNX (Translation table stage 2 Unprivileged Execute-never) 107- SVE (The Scalable Vector Extension) 108- SVE2 (The Scalable Vector Extension v2) 109 110For information on the specifics of these extensions, please refer 111to the `Armv8-A Arm Architecture Reference Manual 112<https://developer.arm.com/documentation/ddi0487/latest>`_. 113 114When a specific named CPU is being emulated, only those features which 115are present in hardware for that CPU are emulated. (If a feature is 116not in the list above then it is not supported, even if the real 117hardware should have it.) The ``max`` CPU enables all features. 118 119R-profile CPU architecture support 120================================== 121 122QEMU's TCG emulation support for R-profile CPUs is currently limited. 123We emulate only the Cortex-R5 and Cortex-R5F CPUs. 124 125M-profile CPU architecture support 126================================== 127 128QEMU's TCG emulation includes support for Armv6-M, Armv7-M, Armv8-M, and 129Armv8.1-M versions of the M-profile architucture. It also has support 130for the following architecture extensions: 131 132- FP (Floating-point Extension) 133- FPCXT (FPCXT access instructions) 134- HP (Half-precision floating-point instructions) 135- LOB (Low Overhead loops and Branch future) 136- M (Main Extension) 137- MPU (Memory Protection Unit Extension) 138- PXN (Privileged Execute Never) 139- RAS (Reliability, Serviceability and Availability): "minimum RAS Extension" only 140- S (Security Extension) 141- ST (System Timer Extension) 142 143For information on the specifics of these extensions, please refer 144to the `Armv8-M Arm Architecture Reference Manual 145<https://developer.arm.com/documentation/ddi0553/latest>`_. 146 147When a specific named CPU is being emulated, only those features which 148are present in hardware for that CPU are emulated. (If a feature is 149not in the list above then it is not supported, even if the real 150hardware should have it.) There is no equivalent of the ``max`` CPU for 151M-profile. 152