29.12.2014 Views

RealView Compilation Tools Compiler Reference Guide - ARM ...

RealView Compilation Tools Compiler Reference Guide - ARM ...

RealView Compilation Tools Compiler Reference Guide - ARM ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>Compiler</strong>-specific Features<br />

See also<br />

• __enable_irq.<br />

4.7.15 __enable_fiq<br />

This intrinsic enables FIQ interrupts.<br />

Syntax<br />

void __enable_fiq(void)<br />

Restrictions<br />

The __enable_fiq intrinsic can only be executed in privileged modes, that is, in non user<br />

modes. In User mode this intrinsic does not change the interrupt flags in the CPSR.<br />

See also<br />

• __disable_fiq on page 4-71.<br />

4.7.16 __enable_irq<br />

This intrinsic enables IRQ interrupts.<br />

Syntax<br />

void __enable_irq(void)<br />

Restrictions<br />

The __enable_irq intrinsic can only be executed in privileged modes, that is, in non user<br />

modes. In User mode this intrinsic does not change the interrupt flags in the CPSR.<br />

See also<br />

• __disable_irq on page 4-72.<br />

4.7.17 __fabs<br />

This intrinsic inserts a VABS instruction or an equivalent code sequence into the<br />

instruction stream generated by the compiler. It enables you to obtain the absolute value<br />

of a double-precision floating-point value from within your C or C++ code.<br />

<strong>ARM</strong> DUI 0348A Copyright © 2007, 2010 <strong>ARM</strong> Limited. All rights reserved. 4-73<br />

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!