- Use a constant for the offset instead of a magic number.
- Use an addi instruction that writes to tp directly instead of a mv that writes the result of a compiler-generated addi.
Details
Details
- Reviewers
mhorne jrtc27 - Commits
- rS357643: Tidy the _set_tp function for RISC-V.
- booted a new world in qemu, ran /usr/tests/lib/libc/tls/* tests
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable