On Tue, May 29, 2018 at 3:27 AM, Tommy Murphy <
tommy_...@hotmail.com> wrote:
> On Tuesday, 29 May 2018 11:00:50 UTC+1, Sebastian Huber wrote:
>>
>> The "lla" pseudo instruction is emitted by GCC and not documented in "The
>> RISC-V Instruction Set Manual, Volume I: User-Level ISA, Document Version
>> 2.2".
Our assembler documentation could use some work, but it is hard to
find volunteers for such a task. lla is mentioned in the RISC-V
reader, and in the gas sources (search for M_LLA im
config/tc-riscv.c).
lla is "load local address". It expands to auipc/addi, where auipc
gets the upper bits of the address and addi gets the lower bits of the
address. la is "load address". la expands to auipc/l[wd] for a got
load when pic, and expands to auipc/addi same as lla when non-pic.
Jim