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 11, 5:10 AM
Unknown Object (File)
Tue, Sep 8, 12:10 AM
Unknown Object (File)
Fri, Sep 4, 5:08 PM
Unknown Object (File)
Fri, Sep 4, 3:08 PM
Unknown Object (File)
Wed, Sep 2, 2:01 PM
Unknown Object (File)
Mon, Aug 31, 2:14 PM
Unknown Object (File)
Wed, Aug 26, 5:51 AM
Unknown Object (File)
Thu, Aug 20, 7:12 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