From WikiChip
Editing arm/armv8

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.

Latest revision Your text
Line 1: Line 1:
 
{{arm title|ARMv8}}{{arm isa main}}
 
{{arm title|ARMv8}}{{arm isa main}}
'''ARMv8''' (codename '''Oban''') is the successor to {{\\|ARMv7}}, an [[ARM]] [[instruction set architecture]] announced in [[2011]] which brought a large number of fundamental changes to the instruction set, including the introduction of 64-bit operating capabilities.   
+
'''ARMv8''' is the successor to {{\\|ARMv7}}, an [[ARM]] [[instruction set architecture]] announced in [[2011]] which brought a large number of fundumental changes to the instruction set, including the introduction of 64-bit operating capabilities.   
  
 
== Overview ==
 
== Overview ==
 
Work on the ARMv8 started within the R&D group at [[ARM Holding|ARM]] in 2007. First disclosed in late 2011, the ARMv8 is a successor and an extension to the {{\\|ARMv7}} ISA. This architecture introduced new 64-bit operating capabilities, called ''{{arm|AArch64}}'', and defined a relationship to the prior 32-bit operating state, referred to as ''{{arm|AArch32}}'' (covering the {{arm|A32}} and {{arm|T32}} ISAs). Foundationally, ARMv8 extends the old architecture while maintaining compatibility with older revisions and extensions (e.g., {{arm|Thumb}}, {{arm|NEON}}, {{arm|VFP}}) when in AArch32. Additionally, ARMv8 introduced a number of enhancements to AArch32 which still maintains full compatibility with {{\\|ARMv7}}. Generally speaking, ARMv8 was designed such that a well-designed AArch64 [[phsyical core|core]] should also work well as an AArch32 core.
 
Work on the ARMv8 started within the R&D group at [[ARM Holding|ARM]] in 2007. First disclosed in late 2011, the ARMv8 is a successor and an extension to the {{\\|ARMv7}} ISA. This architecture introduced new 64-bit operating capabilities, called ''{{arm|AArch64}}'', and defined a relationship to the prior 32-bit operating state, referred to as ''{{arm|AArch32}}'' (covering the {{arm|A32}} and {{arm|T32}} ISAs). Foundationally, ARMv8 extends the old architecture while maintaining compatibility with older revisions and extensions (e.g., {{arm|Thumb}}, {{arm|NEON}}, {{arm|VFP}}) when in AArch32. Additionally, ARMv8 introduced a number of enhancements to AArch32 which still maintains full compatibility with {{\\|ARMv7}}. Generally speaking, ARMv8 was designed such that a well-designed AArch64 [[phsyical core|core]] should also work well as an AArch32 core.
 
=== AArch32 ===
 
{{main|arm/aarch32|l1=AArch32}}
 
ARMv8 introduced the concept of {{\\|AArch32}} execution state to incorporate what was previously {{\\|ARMv7}}. It covers the {{\\|A32}} and {{\\|T32}} instruction sets along with a number of new instructions. AArch32 keeps the classical ARM exception model and limits the virtual address to 32 bits.
 
 
==== ARMv8 Enhancements ====
 
ARMv8 introduced a set of enhancements to the classic {{\\|A32}} instruction set. The cryptography extensions, enhanced barrier types, and load acquire and store release which were introduced with the {{\\|A64}} were also added to the {{\\|A32}} instruction set.
 
  
 
=== AArch64 ===
 
=== AArch64 ===
 
{{main|arm/aarch64|l1=AArch64}}
 
{{main|arm/aarch64|l1=AArch64}}
ARMv8 introduced the new {{\\|AArch64}} execution state that operates on a new instruction set called the {{\\|A64}}. This mode reworked the exception handling model in ARM, making it simpler with fewer modes and banked registers. With 64-bit support, up to 48 bits of virtual address was introduced (note that it's actually an extension of the {{arm|LPAE|Large Physical Address Extension}} which was introduced in {{\\|ARMv7}} but was developed concurrently with the ARMv8). Additionally, both security ({{arm|TrustZone}}) and virtualization carries over to AArch64.
+
ARMv8 introduced the new {{\\|AArch64}} execution state that operates on a new instruction set called the {{\\|A64}}. This mode reworked the exception handling model in ARM, making it simpler with fewer modes and banked registers. With 64-bit support, up to 48 bits of virtual address was introduced (note that it's actually an extension of the {{arm|LPAE|Large Physical Address Extension}} which was introduced in {{\\|ARMv7}} but was developed concurrently with the ARMv8). Additionally, both security ({{arm|TrustZone}}) and virtualization carries over to AArch64.  
 
 
=== AArch32/AArch64 Relationship ===
 
The changes between the two states can only occur on an exception entry and exception exit. This means it is not possible to branch and link between the two modes of execution and it is not possible to reduce the register width going from one exception to a higher exception level. Those restrictions allow an AAarch32 application to run alongside another AArch64 application under an AArch64 operating system. Additionally, they also allow an AAarch32 guest OS to run alongside an AArch32 guest OS under an AAarch64 hypervisor and other similar combinations
 
 
 
:[[File:armv8 32-64 movement.svg|600px]]
 
  
 
== Profiles ==
 
== Profiles ==
Line 33: Line 21:
 
|-
 
|-
 
| Microcontroller || ARMv8-M || Optimized for embedded systems with a highly deterministic operation.
 
| Microcontroller || ARMv8-M || Optimized for embedded systems with a highly deterministic operation.
|}
 
 
== ARMv8 Extensions and Processor Features ==
 
ARMv8 has many versions ([[arm/armv8.1|ARMv8.1]], etc), which define mandatory and optional features. The Linux kernel exposes the presence of some of these features via hwcaps. These values are displayed in /proc/cpuinfo.
 
 
{| class="wikitable"
 
|-
 
! Name !! Versions !!  Feature Supported
 
|-
 
| fp || - || Single-precision and double-precision floating point.
 
|-
 
| asimd || - || Advanced SIMD.
 
|-
 
| evtstrm || N/A || Generic timer is configured to generate "events" at frequency of about 100KHz.
 
|-
 
| aes || - || AES instructions (AESE, etc)
 
|-
 
| pmull || - || Polynomial Multiply Long instructions (PMULL/PMULL2)
 
|-
 
| sha1 || - || SHA-1 instructions (SHA1C, etc)
 
|-
 
| sha2 || - || SHA-2 instructions (SHA256H, etc)
 
|-
 
| crc32 || [ARMv8.0], ARMv8.1 ... || CRC32/CRC32C instructions
 
|-
 
| atomics || ARMv8.1 ... || Large System Extensions (LSE) - (CAS/SWP/LD[op])
 
|-
 
| fphp || ARMv8.2-FP16 || Half-precision floating point.
 
|-
 
| cpuid || N/A || Some CPU ID registers readable at user-level.
 
|-
 
| asimdrdm || ARMv8.1 || Rounding Double Multiply Accumulate/Subtract (SQRDMLAH/SQRDMLSH)
 
|-
 
| jscvt || ARMv8.3 || Javascript-style double->int convert (FJCVTZS)
 
|-
 
| lrcpc || ARMv8.3 || Weaker release consistency (LDAPR, etc)
 
|-
 
| dcpop || ARMv8.2 || Data cache clean to Point of Persistence (DC CVAP)
 
|-
 
| sha3 || ARMv8.2-SHA || SHA-3 instructions (EOR3, RAX1, XAR, BCAX)
 
|-
 
| sm3|| ARMv8.2-SM || SM3 instructions
 
|-
 
| sm4|| ARMv8.2-SM || SM4 instructions
 
|-
 
| asimddp|| ARMv8.2-DotProd || SIMD Dot Product
 
|-
 
| sha512 || ARMv8.2-SHA || SHA512 instructions
 
|-
 
| sve || ARMv8.2-SVE || Scalable Vector Extension (SVE)
 
 
|}
 
|}
  
Line 91: Line 29:
 
* Richard Grisenthwaite. (October 26, 2011). ''"Technology Preview: The ARM Architecture - a View of the Future "''.
 
* Richard Grisenthwaite. (October 26, 2011). ''"Technology Preview: The ARM Architecture - a View of the Future "''.
 
* ARM Architecture Group. "Armv8 instruction set overview." vol. PRD03-GENC-010197 (2011).
 
* ARM Architecture Group. "Armv8 instruction set overview." vol. PRD03-GENC-010197 (2011).
* [https://www.kernel.org/doc/Documentation/arm64/elf_hwcaps.txt elf_hwcaps.txt]
 
 
[[category:arm]]
 

Please note that all contributions to WikiChip may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see WikiChip:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)