Declspecs (Windows CE 5.0)
ARM and THUMB support interworking-related declspecs. The iwcall, iw16, and iw32 declspecs allow you to select which function calls are interworking.
Compared to a linker-generated thunking routine, the iwcall or iw16 declspecs always result in faster code for interworking calls. The declspecs add only a single MOV instruction to the execution path, while the linker-generated thunking routine adds two instructions: a load from memory, and a branch.
See Also
THUMB-enabled ARM Implementation
Send Feedback on this topic to the authors