Page MenuHomeFreeBSD

Set the 'FR' bit in the status register for N32 kernels.
ClosedPublic

Authored by jhb on Jan 10 2018, 7:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 3, 12:09 PM
Unknown Object (File)
Fri, Sep 26, 11:12 PM
Unknown Object (File)
Aug 21 2025, 5:27 AM
Unknown Object (File)
Aug 13 2025, 4:38 AM
Unknown Object (File)
Aug 12 2025, 3:17 AM
Unknown Object (File)
Aug 9 2025, 12:39 AM
Unknown Object (File)
Jul 22 2025, 11:00 AM
Unknown Object (File)
Jul 17 2025, 12:33 AM
Subscribers

Details

Summary

This permits N32 hard-float binaries to use 64-bit floating point
registers (which is what N32 binaries expect) matching the N64 ABI.

Test Plan
  • boot a mipsn32hf world under qemu

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jan 10 2018, 7:46 PM
jmallett added a subscriber: jmallett.

This seems acceptable and correct within what's currently present. I feel like a unified macro for these sets of flags is really needed, to simplify the code and ensure consistency in checks, but as an incremental improvement this looks good. Thanks!

This revision was automatically updated to reflect the committed changes.