05.02.2013 Views

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Note<br />

Common VFP Subarchitecture Specification<br />

In version 1 of the Common VFP subarchitecture, the meaning of the FPEXC.EX bit<br />

changes when the FPSCR.IXE bit is set to 1. The FPSCR.IXE bit can be checked only<br />

after the FPEXC.EX bit is cleared to 0. If FPSCR.IXE is 0, go to step 2 below. If<br />

FPSCR.IXE is set to 1:<br />

the information collected from the VFP registers <strong>and</strong> the calculated return address<br />

are ignored<br />

the exception-generating instruction is the instruction that bounced, <strong>and</strong> the<br />

iteration count is the FPSCR.LEN value, as for the FPEXC.DEX == 1 case.<br />

set the return address to the instruction following the bounced instruction.<br />

2. Packages up the information about the VFP instruction <strong>and</strong> iteration count into pairs in a form<br />

suitable to pass to the Computation Engine, described in step 3.<br />

At this point the packaged information can be sent as a signal to another exception h<strong>and</strong>ler in the application,<br />

where the support code continues. Continuing in the application context makes it possible for the support<br />

code to call trap h<strong>and</strong>lers directly, in the application.<br />

3. Executes in software the instruction iterations described in step 2. All configuration information<br />

except vector length is read from the FPSCR.<br />

In previous support code implementations by <strong>ARM</strong>, this execution is performed by the VFP<br />

Computation Engine function.<br />

If trapped floating-point exceptions are enabled, the Computation Engine calls trap h<strong>and</strong>lers as<br />

required.<br />

If the exceptional condition is an unallocated instruction, the Computation Engine will call a suitable<br />

error routine.<br />

4. Returns to the appropriate return address.<br />

<strong>ARM</strong> DDI 0406B Copyright © 1996-1998, 2000, 2004-2008 <strong>ARM</strong> Limited. All rights reserved. AppxB-13

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

Saved successfully!

Ooh no, something went wrong!