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)
Sun, Dec 8, 5:32 PM
Unknown Object (File)
Mon, Dec 2, 8:00 PM
Unknown Object (File)
Nov 12 2024, 1:06 AM
Unknown Object (File)
Nov 1 2024, 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
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