[LLVMdev] Implementing the ldr pseudo instruction in ARM integrated assembler

David Peixotto
Fri, 01 Nov 2013 19:00:30 -0000

Hi Tim,

> > 8. Check that an error is issued when the constant pool would be
> > placed too far away
>
> I'd say this one is actually the most involved constraint but there
don't
> actually seem to be any tests in the attached file for it.

I put the test in a separate file and forgot to attach it earlier. I've
attached it to this email. I can't say how difficult this will be to
implement, but Jim also indicated it could be tricky so I believe you both
:). I only have a simple test for this now, but I'd welcome suggestions on
improving it or any hits on the implementation.


> And I believe the directive Jim's referring to is ".ltorg".
It's
> presumably going to have some interesting quirks of its own.

Yes, I replied to Jim saying that I was planning to implement .ltorg in a
separate step.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldr_pseudo_errors.s
Type: application/octet-stream
Size: 17617 bytes
Desc: not available
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20131101/2215fd20/attachment.obj>