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, Nov 1, 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
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
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
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 38122
Build 35011: arc lint + arc unit