HomeFreeBSD

Introduce SPE ABI for PowerPC Book-E

Description

Introduce SPE ABI for PowerPC Book-E

Changes include:

  • New MACHINE_ARCH (powerpcspe)
  • Makefile changes to support the new MACHINE_ARCH
  • libc changes for fp* and setjmp
  • lim changes for fenv.h.
    • Hard-coded the SPEFSCR SPR definition (512), to avoid #include-ing machine/spr.h
  • Toolchain changes to enable the ABI.

There is currently one gotcha -- when using -mspe, -mcpu=8540 is required, else
an internal compiler error is generated in gcc.

This ABI is incompatible with the standard 32-bit PowerPC ABI.

Details

Provenance
jhibbitsAuthored on
Parents
rS296679: Pull in r246280 from upstream libc++ trunk (by Eric Fiselier):
Branches
Unknown
Tags
Unknown