[PATCH 002/120] MIPS: R5900: Trap the RDHWR instruction as an SQ address exception

Maciej W. Rozycki macro@linux-mips.org
Thu Nov 19 13:42:18 GMT 2020


On Thu, 19 Nov 2020, Maciej W. Rozycki wrote:

>  Consequently an AdES exception is triggered which we can trap and handle, 
> reinterpreting the encoding according to our needs and return the TLS 
> pointer in $v1 rather than issuing a SIGBUS.

 ... while keeping regular SQ instruction use intact, I should have added.

  Maciej


More information about the Libc-help mailing list