qemu

FORK: QEMU emulator
git clone https://git.neptards.moe/neptards/qemu.git
Log | Files | Refs | Submodules | LICENSE

emulation.rst (6009B)


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