ArticleslgStudy

computer science

AArch64

AArch64 is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand AArch64 rather than just read about it. In short: AArch64, also known as ARM64, is a 64-bit version of the ARM architecture family, a widely used set of computer processor designs. It was introduced in 2011 with the ARMv8 architecture and later became part of the ARMv9 series.

AArch64 — main illustration
AArch64 — illustration

Key takeaways

  • AArch64 belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect AArch64 to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of AArch64 from memory before moving on to harder problems.

Reference excerpt

AArch64, also known as ARM64, is a 64-bit version of the ARM architecture family, a widely used set of computer processor designs. It was introduced in 2011 with the ARMv8 architecture and later became part of the ARMv9 series. AArch64 allows processors to handle more memory and perform faster calculations than earlier 32-bit versions. It is designed to work alongside the older 32-bit mode, known as AArch32, allowing compatibility with a wide range of software. Devices that use AArch64 include smartphones, tablets, personal computers, and servers. The AArch64 architecture has continued to evolve through updates that improve performance, security, and support for advanced computing tasks.

AArch64 Execution state In ARMv8-A, ARMv8-R, and ARMv9-A, an "Execution state" defines key characteristics of the processor’s environment. This includes the number of bits used in the primary processor registers, the supported instruction sets, and other aspects of the processor's execution environment. These versions of the ARM architecture support two Execution states: the 64-bit AArch64 state and the 32-bit AArch32 state.

Naming conventions 64-bit: Execution state: AArch64 Instruction sets: A64 32-bit: Execution state: AArch32 Instruction sets: A32 + T32 Example: ARMv8-R, Cortex-A32

AArch64 features New instruction set, A64: Has 31 general-purpose 64-bit registers Has dedicated zero or stack pointer (SP) register (depending on instruction) The program counter (PC) is no longer directly accessible as a register Instructions are still 32 bits long and mostly the same as A32 (with LDM/STM instructions and most conditional execution dropped) Has paired loads/stores (in place of LDM/STM) No predication for most instructions (except branches) Most instructions can take 32-bit or 64-bit arguments Addresses assumed to be 64-bit Advanced SIMD (Neon) enhanced: Has 32 × 128-bit registers (up from 16), also accessible via VFPv4 Supports double-precision floating-point format Fully IEEE 754 compliant AES encrypt/decrypt and SHA-1/SHA-2 hashing instructions also use these registers A new exception system: Fewer banked registers and modes Memory translation from 48-bit virtual addresses based on the existing Large Physical Address Extension (LPAE), which was designed to be easily extended to 64-bit Extension: Data gathering hint (ARMv8.0-DGH). AArch64 was introduced in ARMv8-A and is included in subsequent versions of ARMv8-A, and in all versions of ARMv9-A. It was also introduced in ARMv8-R as an option, after its introduction in ARMv8-A; it is not included in ARMv8-M.

A64 instruction formats The main opcode for selecting which group an A64 instruction belongs to is at bits 25–28.

ARM-A (application architecture)

Announced in October 2011, ARMv8-A represents a fundamental change to the ARM architecture. It adds an optional 64-bit Execution state, named "AArch64", and the associated new "A64" instruction set, in addition to a 32-bit Execution state, "AArch32", supporting the 32-bit "A32" (original 32-bit ARM) and "T32" (Thumb/Thumb-2) instruction sets. The latter instruction sets provide user-space compatibility with the existing 32-bit ARMv7-A architecture. ARMv8-A allows 32-bit applications to be executed in a 64-bit OS, and a 32-bit OS to be under the control of a 64-bit hypervisor. ARM announced their Cortex-A53 and Cortex-A57 cores on 30 October 2012. Apple was the first to release an ARMv8-A compatible core (Cyclone) in a consumer product (iPhone 5S). AppliedMicro, using an FPGA, was the first to demo ARMv8-A. The first ARMv8-A SoC from Samsung is the Exynos 5433 used in the Galaxy Note 4, which features two clusters of four Cortex-A57 and Cortex-A53 cores in a big.LITTLE configuration; but it only runs in AArch32 mode. ARMv8-A includes VFPv3/v4 and advanced SIMD (Neon) as standard features in both AArch32 and AArch64. It also adds cryptography instructions supporting AES, SHA-1/SHA-256 and finite field arithmetic. An ARMv8-A processor can support one or both of AArch32 and AArch64; it may support AArch32 and AArch64 at lower Exception levels and only AArch64 at higher Exception levels. For example, the ARM Cortex-A32 supports only AArch32, the ARM Cortex-A34 supports only AArch64, and the ARM Cortex-A72 supports both AArch64 and AArch32. An ARMv9-A processor must support AArch64 at all Exception levels, and may support AArch32 at EL0.

ARMv8.1-A In December 2014, ARMv8.1-A, an update with "incremental benefits over v8.0", was announced. The enhancements fell into two categories: changes to the instruction set, and changes to the exception model and memory translation. Instruction set enhancements included the following:

A set of AArch64 atomic read-write instructions. Additions to the Advanced SIMD instruction set for both AArch32 and AArch64 to enable opportunities for some library optimizations: Signed Saturating Rounding Doubling Multiply Accumulate, Returning High Half. Signed Saturating Rounding Doubling Multiply Subtract, Returning High Half. The instructions are added in vector and scalar forms. A set of AArch64 load and store instructions that can provide a memory access order that is limited to configurable address regions. The optional CRC instructions in v8.0 become a requirement in ARMv8.1. Enhancements for the exception model and memory translation system included the following:

A new Privileged Access Never (PAN) state bit provides control that prevents privileged access to user data unless explicitly enabled. An increased VMID range for virtualization; supports a larger number of virtual machines. Optional support for hardware update of the page table access flag, and the standardization of an optional, hardware updated, dirty bit mechanism. The Virtualization Host Extensions (VHE). These enhancements improve the performance of Type 2 hypervisors by reducing the software overhead associated when transitioning between the Host and Guest operating systems. The extensions allow the Host OS to execute at EL2, as opposed to EL1, without substantial modification. A mechanism to free up some translation table bits for operating system use, where the hardware support is not needed by the OS. Top byte ignore for memory tagging.

ARMv8.2-A ARMv8.2-A was announced in January 2016. Its enhancements fall into four categories:

… excerpt ends here. Continue reading the full article.

Illustrations

AArch64 illustration
AArch64: Armv8-A platform with Cortex-A57/A53 MPCore big.LITTLE CPU chip
Armv8-A platform with Cortex-A57/A53 MPCore big.LITTLE CPU chip

Worked examples

Example 1 — a first encounter with AArch64

Start with the simplest possible case. Write down what AArch64 claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to AArch64 before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about AArch64 ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of AArch64

In research
AArch64 appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses AArch64 in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
AArch64 is common in secondary-school and first-year university syllabi. It links to neighbouring topics 64-bit computers, ARM architecture, Computer-related introductions in 2011, so understanding it makes those chapters shorter.
In everyday life
Look for AArch64 outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “AArch64” →

How to study AArch64 in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what AArch64 means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain AArch64 out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is AArch64 in simple terms?

AArch64, also known as ARM64, is a 64-bit version of the ARM architecture family, a widely used set of computer processor designs. It was introduced in 2011 with the ARMv8 architecture and later became part of the ARMv9 series.

Why does AArch64 matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study AArch64?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on AArch64.

Tags

  • 64-bit computers
  • ARM architecture
  • Computer-related introductions in 2011

Keep exploring