]> granicus.if.org Git - musl/commit
add powerpc soft-float support
authorFelix Fietkau <nbd@openwrt.org>
Mon, 25 Jan 2016 12:20:52 +0000 (13:20 +0100)
committerRich Felker <dalias@aerifal.cx>
Sun, 6 Mar 2016 22:03:01 +0000 (17:03 -0500)
commit5a92dd95c77cee81755f1a441ae0b71e3ae2bcdb
treea7a12a71e2a505ed4a5c20c1356fc2d7cf2cb2f1
parent9543656cc32fda48fc463f332ee20e91eed2b768
add powerpc soft-float support

Some PowerPC CPUs (e.g. Freescale MPC85xx) have a completely different
instruction set for floating point operations (SPE).
Executing regular PowerPC floating point instructions results in
"Illegal instruction" errors.

Make it possible to run these devices in soft-float mode.
arch/powerpc/bits/fenv.h
arch/powerpc/reloc.h
configure
src/fenv/powerpc/fenv-sf.c [new file with mode: 0644]
src/fenv/powerpc/fenv.S [moved from src/fenv/powerpc/fenv.s with 68% similarity]
src/setjmp/powerpc/longjmp.S [moved from src/setjmp/powerpc/longjmp.s with 63% similarity]
src/setjmp/powerpc/setjmp.S [moved from src/setjmp/powerpc/setjmp.s with 79% similarity]