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)
Fri, Sep 20, 9:55 AM
Unknown Object (File)
Mon, Sep 16, 3:49 AM
Unknown Object (File)
Sun, Sep 8, 6:43 AM
Unknown Object (File)
Aug 14 2024, 9:25 PM
Unknown Object (File)
Aug 14 2024, 8:45 PM
Unknown Object (File)
Jul 14 2024, 11:53 AM
Unknown Object (File)
Jun 28 2024, 3:27 AM
Unknown Object (File)
Jun 26 2024, 9:41 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