Page MenuHomeFreeBSD

powerpc: Fix powerpcspe WRT FPSCR
ClosedPublic

Authored by jhibbits on Mar 27 2021, 9:49 PM.
Tags
None
Referenced Files
F102420456: D29452.diff
Tue, Nov 12, 1:06 AM
Unknown Object (File)
Fri, Nov 1, 3:57 AM
Unknown Object (File)
Sep 30 2024, 8:36 AM
Unknown Object (File)
Sep 20 2024, 9:55 AM
Unknown Object (File)
Sep 16 2024, 3:49 AM
Unknown Object (File)
Sep 8 2024, 6:43 AM
Unknown Object (File)
Aug 14 2024, 9:25 PM
Unknown Object (File)
Aug 14 2024, 8:45 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