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)
Sat, Apr 6, 2:58 AM
Unknown Object (File)
Thu, Apr 4, 9:53 PM
Unknown Object (File)
Feb 5 2024, 7:44 PM
Unknown Object (File)
Dec 23 2023, 1:52 AM
Unknown Object (File)
Dec 20 2023, 2:12 AM
Unknown Object (File)
Dec 12 2023, 1:53 PM
Unknown Object (File)
Nov 17 2023, 7:06 AM
Unknown Object (File)
Nov 9 2023, 10:43 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