HomeFreeBSD

[PowerPC] Fix SPE floating point environment manipulation

Description

[PowerPC] Fix SPE floating point environment manipulation

Fix multiple problems in the powerpcspe floating point code.

  • Endianness handling of the SPEFSCR in fenv.h was completely broken.
  • Ensure SPEFSCR synchronization requirements are being met.

The r.d -> __r transformations were written by jhibbits.

Reviewed by: jhibbits
Differential Revision: https://reviews.freebsd.org/D22526

Details

Provenance
bdragonAuthored on
Reviewer
jhibbits
Differential Revision
D22526: [PowerPC] Fix floating point environment manipulation
Parents
rS355655: [PowerPC] Fix powerpc 32 bit build in mmu_oea64.c
Branches
Unknown
Tags
Unknown