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.

Common VFP Subarchitecture Specification<br />

FPEXC.TFV == 1<br />

This bit is the Invalid Operation trapped exception flag. It indicates whether an<br />

Invalid Operation exception occurred while FPSCR.IOE was 1.<br />

In this case, the meaning of this bit is:<br />

0 Invalid Operation exception has not occurred.<br />

1 Invalid Operation exception has occurred.<br />

In both cases this bit must be cleared to 0 by the exception h<strong>and</strong>ling routine.<br />

B.6.2 The Floating-Point Instruction Registers, FPINST <strong>and</strong> FPINST2<br />

The Floating-Point Instruction Registers hold floating-point instructions relating to floating-point exception<br />

h<strong>and</strong>ling in a system that implements the Common VFP subarchitecture:<br />

FPINST contains the exception-generating instruction<br />

FPINST2 contains the bypassed instruction.<br />

FPINST <strong>and</strong> FPINST2 are:<br />

In the CP10 <strong>and</strong> CP11 register space.<br />

Present only when the Common VFP subarchitecture is implemented. A Common VFP<br />

subarchitecture implementation can support:<br />

— both FPINST <strong>and</strong> FPINST2<br />

— FPINST but not FPINST2<br />

— neither of the Floating-Point Instruction Registers.<br />

32-bit read/write registers.<br />

If the Security Extensions are implemented, Configurable access registers. FPINST <strong>and</strong> FPINST2 are<br />

only accessible in the Non-secure state if the CP10 <strong>and</strong> CP11 bits in the NSACR are set to 1, see c1,<br />

Non-Secure Access Control Register (NSACR) on page B3-110.<br />

Accessible only in privileged modes, <strong>and</strong> only if both:<br />

— access to coprocessors CP10 <strong>and</strong> CP11 is enabled in the Coprocessor Access Control Register,<br />

see c1, Coprocessor Access Control Register (CPACR) on page B3-104 (VMSA<br />

implementation), or c1, Coprocessor Access Control Register (CPACR) on page B4-51<br />

(PMSA implementation)<br />

— the VFP coprocessor is enabled by setting the FPEXC.EN bit to 1.<br />

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

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

Saved successfully!

Ooh no, something went wrong!