4.6.2. Scalar register sizes

In AArch64, the mapping for the integer scalars has changed from what is used in ARMv7-A to the mapping shown in Figure 4.11:

Figure 4.11. Arrangement of ARMv8 registers when holding scalar values

To view this graphic, your browser must support the SVG format. Either install a browser with native support, or install an appropriate plugin such as Adobe SVG Viewer.

In Figure 4.11 S0 is the bottom half of D0, which is the bottom half of Q0. S1 is the bottom half of D1, which is the bottom half of Q1, and so on. This eliminates many of the problems compilers have in auto-vectorizing high-level code.


Only the bottom bits of each register set are used in each case. The rest of the register space is ignored when read, and filled with zeros when written.

A consequence of this mapping is that if a program executing in AArch64 is interpreting D or S registers from AArch32 execution. Then the program must unpack the D or S registers from the V registers before using them.

For the scalar ADD instruction:

  ADD Vd, Vn, Vm

If the size was, for example, 32 bits, the instruction would be:

  ADD Sd, Sn, Sm

Table 4.8. Operand name for differently sized scalars

Word sizeSize (bits)Name

Copyright © 2015 ARM. All rights reserved.ARM DEN0024A