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.

For scalar CDP instructions:<br />

Common VFP Subarchitecture Specification<br />

All the oper<strong>and</strong> registers to the instruction are restored to their original values, so that the instruction<br />

can be re-executed in support code.<br />

It is IMPLEMENTATION DEFINED whether the FPEXC.VV bit is set to 1. If it is, the FPEXC.VECITR<br />

field will contain 0b111.<br />

If the execution of the instruction would set the cumulative exception flags for any exception,<br />

hardware might or might not set these flags.<br />

Note<br />

Because the cumulative exception flags are cumulative, it is always acceptable for the support code<br />

to set the exception flags to 1 as a result of emulating the instruction, even if the hardware has set<br />

them.<br />

For short vector instructions, any iteration might be exceptional. When an exceptional condition is detected<br />

for a vector iteration, previous iterations can complete. For the exceptional iteration:<br />

The FPEXC.VECITR field is written with a value that encodes the number of iterations remaining<br />

after the exceptional iteration. For details of the encoding see Subarchitecture additions to the VFP<br />

system registers on page AppxB-15.<br />

The FPEXC.VV bit is set to 1.<br />

The input oper<strong>and</strong> registers to that iteration, <strong>and</strong> subsequent iterations, are restored to their original<br />

values.<br />

If the execution of the exception iteration, or subsequent iterations, would set the cumulative<br />

exception flags for any exception, hardware might or might not set these flags.<br />

Note<br />

Because the cumulative exception flags are cumulative, it is always acceptable for the support code<br />

to set the exception flags to 1 as a result of emulating the iterations of the instruction, even if the<br />

hardware has set them.<br />

Note<br />

In version 1 of the Common VFP subarchitecture, all exceptions are signaled synchronously when<br />

the FPSCR.IXE bit is set to 1, see Floating-point Status <strong>and</strong> Control Register (FPSCR) on<br />

page A2-28. The FPEXC.DEX bit is RAZ/WI. For more information, see Subarchitecture v1<br />

exception h<strong>and</strong>ling when FPSCR.IXE == 1 on page AppxB-23.<br />

In version 2 of the Common VFP subarchitecture, exceptional conditions that cause synchronous<br />

exceptions are signaled by setting FPEXC.DEX to 1. For more information, see Version 2 of the<br />

Common VFP subarchitecture on page AppxB-24.<br />

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

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

Saved successfully!

Ooh no, something went wrong!