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)
Mon, Nov 24, 10:40 PM
Unknown Object (File)
Mon, Nov 24, 8:43 AM
Unknown Object (File)
Wed, Nov 19, 3:11 PM
Unknown Object (File)
Mon, Nov 17, 4:27 AM
Unknown Object (File)
Mon, Nov 17, 4:23 AM
Unknown Object (File)
Sun, Nov 16, 9:17 PM
Unknown Object (File)
Sun, Nov 16, 8:00 PM
Unknown Object (File)
Sun, Nov 16, 5:36 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