This is a SoftFloat-3e
library with additional build files targetting Linux armel.
The intent behind this repository is to make building SoftFloat for
OpenJDK on arm-sflt
ABI easier.
Software floating point math implementation on Linux on ARM slightly prefers performance over precision of calculations. This presented an issue for Java JCK - these imprecisions were detected. The solution chosen by Java developers was to use SoftFloat-2b library for the problematic operations.
This repository provides an updated SoftFloat-3e library for new versions of OpenJDK, where SoftFloat support is added once again. (see JDK-8215902).
- Install a suitable Linux ARM compiler and ensure that
arm-linux-gnueabi-gcc
executable exists. - Go to
build/Linux-ARM-VFPv2-GCC-OpenJDK
. - Run
make
- Run
make DESTDIR=... install
- Configure OpenJDK with
--with-sflt=...
pointing to DESTDIR.