[LLVMdev] Add support for ldr pseudo instruction in ARM integrated assembler

JF Bastien jfb at google.com
Sat Oct 26 17:45:08 PDT 2013


>> 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.




More information about the llvm-dev mailing list