- 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
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 29190 Build 27121: arc lint + arc unit