Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

Preload instruction in Intel/C++/XSCALE compiler

klyf
Beginner
334 Views
Hi, I would like know if Intel/C++/XScale compiler to Pocket PC, insert automatic preload instruction? This compiler can to schedule this instruction efficiently? Or a programmer may do it?
Thanks in advance
Mrcio
0 Kudos
1 Reply
Rob_Mueller-Albrecht
334 Views
The Intel C++ Compiler supports the PLD instruction and it provides an intrinsic
void _PreLoad(unsigned long *addr);
that can b eused anfd inserted anywhere in your code.
Currently the Intel C++ Compiler does not automatically insert or schedule PLD's since their use is somewhat dependent on programmer's intent. Also the instruction cache usage analysis required to automate this would not be exactly trivial.
It has however been considered and may make it into one ofthe future compiler releases.
Rgds, Rob
0 Kudos
Reply