Page MenuHomeFreeBSD

powerpc: Fix powerpcspe WRT FPSCR
ClosedPublic

Authored by jhibbits on Mar 27 2021, 9:49 PM.
Tags
None
Referenced Files
F145949154: D29452.id86422.diff
Thu, Feb 26, 11:05 AM
Unknown Object (File)
Jan 22 2026, 6:03 PM
Unknown Object (File)
Jan 21 2026, 1:17 AM
Unknown Object (File)
Jan 18 2026, 3:18 AM
Unknown Object (File)
Jan 13 2026, 2:04 PM
Unknown Object (File)
Nov 24 2025, 10:40 PM
Unknown Object (File)
Nov 24 2025, 8:43 AM
Unknown Object (File)
Nov 19 2025, 3:11 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