These are the compressed equivalents of the relocations R_RISCV_BRANCH
and R_RISCV_JAL with slightly more complex immediate handling.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/ExecutionEngine/JITLink/RISCV/ELF_rvc.s | ||
---|---|---|
20 | I tried to use decode_operand as the other tests do, but it doesn't work - probably because we'd have to tell the disassembler to enable the compressed instructions. Not sure how to do this via llvm-jitlink... On the other hand, it was a nice exercise to compute the encoded instructions by hand :-) |
I tried to use decode_operand as the other tests do, but it doesn't work - probably because we'd have to tell the disassembler to enable the compressed instructions. Not sure how to do this via llvm-jitlink... On the other hand, it was a nice exercise to compute the encoded instructions by hand :-)