Why Thumb-2 only allows very limited access to the PC?
Carrot Wei
carrot@google.com
Thu Jan 7 01:10:00 GMT 2010
Does "deprecated" mean it works currently but may not work in future versions?
In chapter A8.6.6 of document
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0406b/index.html
I can't find it is mentioned that (add.n <reg>, pc) is deprecated.
thanks
Carrot
On Thu, Jan 7, 2010 at 2:26 AM, Paul Brook <paul@codesourcery.com> wrote:
> 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