04.01.2015 Views

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

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.

Compiler-specific Features<br />

4.8 VFP status intrinsic<br />

The compiler provides an intrinsic for reading the Floating Point and Status Control<br />

Register (FPSCR).<br />

Note<br />

It is preferable to use a named register variable as an alternative method of reading this<br />

register. This provides a more efficient method of access. See Named register variables<br />

on page 4-192.<br />

4.8.1 __vfp_status<br />

This intrinsic reads the FPSCR.<br />

Syntax<br />

unsigned int __vfp_status(unsigned int mask, unsigned int flags);<br />

Errors<br />

The compiler generates an error if you attempt to use this intrinsic when compiling for<br />

a target that does not have VFP.<br />

See also<br />

• the <strong>ARM</strong> Architecture Reference Manual for information about the FPSCR register.<br />

<strong>ARM</strong> DUI 0348C Copyright © 2007-2010 <strong>ARM</strong>. All rights reserved. 4-191<br />

ID101213<br />

Non-Confidential,

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

Saved successfully!

Ooh no, something went wrong!