09.12.2012 Views

Cortex-A8 Technical Reference Manual - ARM Information Center

Cortex-A8 Technical Reference Manual - ARM Information Center

Cortex-A8 Technical Reference Manual - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

13.2 General-purpose registers<br />

13.2.1 NEON views of the register bank<br />

13.2.2 VFP views of the register bank<br />

NEON and VFP Programmers Model<br />

The NEON and VFP coprocessor shares the same register bank. This is distinct from the <strong>ARM</strong><br />

register bank.<br />

You can reference the NEON and VFP register bank using three explicitly aliased views, as<br />

described in the following sections.<br />

Figure 13-1 shows the three views of the register bank and the way the word, doubleword, and<br />

quadword registers overlap.<br />

NEON views the register bank as:<br />

• Sixteen 128-bit quadword registers, Q0-Q15.<br />

• Thirty-two 64-bit doubleword registers, D0-D31. This view is also available in VFP.<br />

• A combination of these 128-bit and 64-bit registers, Q0-Q15 and D0-D31.<br />

In VFP, you can view the register bank as:<br />

• Thirty-two 64-bit doubleword registers, D0-D31. This view is also available in NEON.<br />

• Thirty-two 32-bit single word registers, S0-S31. Only half of the register bank is accessible<br />

in this view.<br />

• A combination of these 128-bit and 64-bit registers, D0-D31 and S0-S31.<br />

The mapping between the registers is as follows:<br />

• S maps to the least significant half of D<br />

Figure 13-1 NEON and VFP register bank<br />

<strong>ARM</strong> DDI 0344K Copyright © 2006-2010 <strong>ARM</strong> Limited. All rights reserved. 13-3<br />

ID060510 Non-Confidential<br />

S0<br />

S1<br />

S2<br />

S3<br />

S4<br />

S5<br />

S6<br />

S7<br />

S28<br />

S29<br />

S30<br />

S31<br />

D0<br />

D1<br />

D2<br />

D3<br />

D14<br />

D15<br />

D16<br />

D17<br />

D30<br />

D31<br />

Q0<br />

Q1<br />

Q7<br />

Q8<br />

Q15

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!