HomeFreeBSD

powerpc: Fix powerpcspe WRT FPSCR

Description

powerpc: Fix powerpcspe WRT FPSCR

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.

Reviewed By: bdragon
Differential Revision: https://reviews.freebsd.org/D29452

Details

Provenance
jhibbitsAuthored on Mar 28 2021, 12:24 AM
Reviewer
bdragon
Differential Revision
D29452: powerpc: Fix powerpcspe WRT FPSCR
Parents
rGa94d15af26b5: ichsmb: Add PCI IDs for Intel Comet Lake and Tiger Lake
Branches
Unknown
Tags
Unknown