HomeFreeBSD

MFC 357643: Tidy the _set_tp function for RISC-V.

Description

MFC 357643: Tidy the _set_tp function for RISC-V.

  • 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

Provenance
jhbAuthored on
Parents
rS360931: Remove support for the Blowfish algorithm from OCF.
Branches
Unknown
Tags
Unknown