HomeFreeBSD

msun fixes for SPE

Description

msun fixes for SPE

Summary:
Fix FPU exception management for powerpcspe. Bits are in a different place from
the standard FPSCR, so we need to handle the shifting differences. Also,
there's no concept of a "software exception" raise, so we need to do exceptional
math to trigger the exception from software.

Reviewed By: alfredo
Differential Revision: https://reviews.freebsd.org/D22824

(cherry picked from commit 6640579610856168a64e12c097ce012c46648e00)

Details

Provenance
jhibbitsAuthored on May 5 2021, 2:20 PM
Reviewer
alfredo
Differential Revision
D22824: msun fixes for SPE
Parents
rG0e86854450b4: Don't panic when tasting a disk with sectorsize=0
Branches
Unknown
Tags
Unknown