3 ms·
> ARM dudes came up with Thumb-2 I guess I'm nitpicking, but Cortex-M0+ and Cortex-M0 are basically Thumb only. The only Thumb-2 instructions implemented by th
by lgeek 13y ago
> ARM dudes came up with Thumb-2
I guess I'm nitpicking, but Cortex-M0+ and Cortex-M0 are basically Thumb only. The only Thumb-2 instructions implemented by these cores are the ones for barriers and transferring data between general purpose registers and special registers. These are:
1) Without an equivalent Thumb instruction
2) Required on the ARM architecture
3) A tiny, tiny percentage of instructions executed or just not used by typical application code.
Regarding the linked test, the toolchain and optimisation flags are going to make a significant difference. I wonder how GCC (which is free and probably the most popular) and armcc (which generally produces significantly better output) would fit in there.