Why Thumb-2 only allows very limited access to the PC?

Paul Brook paul@codesourcery.com
Wed Jan 6 18:27:00 GMT 2010


On Wednesday 06 January 2010, Carrot Wei wrote:
> So thumb2 can also use the instructions similar to thumb1, right? It
> potentially has better performance and smaller code size.

Technically yes, however in ARMv7 the relevant instruction (add.n <reg>, pc) 
is deprecated.

Paul



More information about the Gcc mailing list