The use of 'volatile' on the asm blocks used by getCurrentCPUIndex resulted in an inability for the compiler to elide repeated invocations of getCurrentCPUIndex when inlining. The volatile is not needed as we already want to claim that these functions are CONST and so the asm block can be move/reordered/deleted as the compiler wishes |
||
|---|---|---|
| .. | ||
| arm | ||
| x86/arch | ||