[PATCH] ARM: thumb stores cannot use PC as dest register

Amaury de la Vieuville amaury.dlv at gmail.com
Mon Jun 17 03:41:36 PDT 2013



================
Comment at: lib/Target/ARM/Disassembler/ARMDisassembler.cpp:3309
@@ +3308,3 @@
+  case ARM::t2STRHT:
+  case ARM::t2STRi8:
+  case ARM::t2STRHi8:
----------------
Renato Golin wrote:
> In A8.8.203, I'm guessing this is T4, right?
> 
> Which ARM::t2* refers to the T2?
Yes, this is the T4 encoding.
The T2 encoding is not explicitly affected by this restriction (opcode tSTRspi). I should clarify that not *all* stores are unable use PC.


http://llvm-reviews.chandlerc.com/D972



More information about the llvm-commits mailing list