Page MenuHomeFreeBSD

powerpc: Fix powerpcspe WRT FPSCR
ClosedPublic

Authored by jhibbits on Mar 27 2021, 9:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Feb 24, 5:03 PM
Unknown Object (File)
Fri, Feb 14, 8:12 AM
Unknown Object (File)
Tue, Feb 11, 6:23 PM
Unknown Object (File)
Tue, Feb 11, 2:57 AM
Unknown Object (File)
Jan 31 2025, 7:58 AM
Unknown Object (File)
Jan 31 2025, 5:36 AM
Unknown Object (File)
Jan 19 2025, 12:07 AM
Unknown Object (File)
Jan 10 2025, 10:29 PM
Subscribers

Details

Summary

Since powerpcspe doesn't have a traditional FPU, there's no FPSCR, and
no FPRs. Attempting to use them triggers an illegal instruction trap.
Fix this unconditional cleanup of FPSCR by conditionalizing it on the
FPU being used in the outgoing thread.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable