[LLVMdev] Add support for ldr pseudo instruction in ARM integrated assembler
Chris Lattner
clattner at apple.com
Sat Oct 26 17:48:56 PDT 2013
On Oct 26, 2013, at 5:45 PM, JF Bastien <jfb at google.com> wrote:
>>> Do the ARM usages include allowing a single pseudo-instruction to expand
>>> to multiple real instructions? For example, a movw/movt pair? If so, I’m
>>> *very* opposed to that part.
>>
>>
>> Why? For people writing assembly manually, having pseudo instructions to
>> encapsulate common patterns is very useful.
>
> Would it be acceptable for this pseudo-instruction to expand to
> movw/movt for some targets, and ldr for others? AFAIK the former
> performs better on some ARM implementations which the OP may have an
> interest in.
I'm not an arm32 expert, so I'll defer to other wiser people :-)
-Chris
More information about the llvm-dev
mailing list