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

Create successful ePaper yourself

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

Compiler-specific Features<br />

Restrictions<br />

If the target architecture does not support data prefetching, this intrinsic has no effect.<br />

This intrinsic only takes effect in <strong>ARM</strong>v7 architectures and above that provide<br />

Multiprocessing Extensions. That is, when the predefined macro<br />

__TARGET_FEATURE_MULTIPROCESSING is defined.<br />

Example<br />

void foo(int *bar)<br />

{<br />

__pldw(bar);<br />

}<br />

See also<br />

• Compiler predefines on page 4-198<br />

• __pld on page 4-89<br />

• __pli<br />

• PLD, PLDW, and PLI on page 4-25 in the Assembler Guide.<br />

4.7.21 __pli<br />

This intrinsic inserts an instruction prefetch, for example PLI, into the instruction stream<br />

generated by the compiler. It enables you to signal to the memory system from your C<br />

or C++ program that an instruction load from an address is likely in the near future.<br />

Syntax<br />

void __pli(...)<br />

Where:<br />

... denotes any number of pointer or integer arguments specifying addresses<br />

of instructions to prefetch.<br />

Restrictions<br />

If the target architecture does not support instruction prefetching, this intrinsic has no<br />

effect.<br />

See also<br />

• __pld on page 4-89<br />

• __pldw on page 4-90<br />

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

ID101213<br />

Non-Confidential,

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

Saved successfully!

Ooh no, something went wrong!