HomeFreeBSD

powerpc: Fix FPU fsqrt emulation special case results

Description

powerpc: Fix FPU fsqrt emulation special case results

If fsqrts is emulated with +INF as its argument, the 0 return value causes a
NULL pointer dereference, panicking the system. Follow the PowerISA and
return +INF with no FP exception.

MFC after: 1 week

Details

Provenance
jhibbitsAuthored on
Parents
rS343077: Fix broken uart on Win2016 guest.
Branches
Unknown
Tags
Unknown