PC-relative instructions are added in ISA-3.1 implemented by pwr10. This patch adds basic pc-relative relocation.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/include/llvm/ExecutionEngine/JITLink/ppc64.h | ||
---|---|---|
222–234 | Could you add a comment to these? It looks like they read/write 64-bits, masking out the high 32-bits iff little-endian? |
Comment Actions
Add comment to explain how prefixed instruction is formed.
llvm/include/llvm/ExecutionEngine/JITLink/ppc64.h | ||
---|---|---|
222–234 | When it's little-endian, swap the high 32 bits and the low 32 bits. I've added the comment, please let me know if it's still a puzzle. |
Could you add a comment to these?
It looks like they read/write 64-bits, masking out the high 32-bits iff little-endian?