[LLVMdev] Instruction dependency in ARM backend
pmon mail
pmon.mail at gmail.com
Sun Apr 6 06:56:21 PDT 2014
Hi
I'm working on a POC adding Windows Phone (ARM) support to the ARM backend.
I've encountered the following problem.
Microsoft's COFF linker/loader supports a single relocation type (
IMAGE_REL_ARM_MOV32T) on continuous movw/movt Thumb2 instructions opposed
to ELF and Mach-O which support relocation per instruction (one for movw
and movt).
I need to make sure that in case of immediate operands which needs fix-up
for these instructions they will grouped together with no other instruction
inserted between them. Also they need to be emitted in the correct order.
What should be the right approach to implement this?
Is this something I can describe in target description for ARM?
thx
pM0n
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140406/0ea5b1ea/attachment.html>
More information about the llvm-dev
mailing list