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)
Thu, Jan 22, 6:03 PM
Unknown Object (File)
Wed, Jan 21, 1:17 AM
Unknown Object (File)
Sun, Jan 18, 3:18 AM
Unknown Object (File)
Tue, Jan 13, 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
Unknown Object (File)
Nov 17 2025, 4:27 AM
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