Virtual Event
June 2
Learn More and Register to Attend
Back To Schedule
Wednesday, June 2 • 17:45 - 18:05
Linker Relaxation in LLD - Chih-Mao Chen, Andes Technology

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
Linker relaxation is an important link-time optimization in RISC-V. By marking code sequences with relaxation hints and rewriting them with shorter ones at link time when the final addresses are known, the linker can create smaller and more efficient programs. However such optimization isn't available in LLD (LLVM's linker), leading to larger programs and compatibility issues with other toolchains that assume relaxation.

This talk will provide a brief overview on how linker relaxation works in RISC-V, describe our relaxation implementation and alignment handling in LLD, and present benchmarking results after enabling relaxation.


Chih-Mao Chen

Toolchain Engineer, Andes Technology
Chih-Mao Chen is a software developer at Andes Technology, where he is responsible at developing RISC-V toolchain based on the LLVM compiler infrastructure.

Wednesday June 2, 2021 17:45 - 18:05 CEST