]> Cypherpunks repositories - gostls13.git/commit
arm: precise float64 software floating point
authorRuss Cox <rsc@golang.org>
Tue, 26 Oct 2010 00:55:50 +0000 (17:55 -0700)
committerRuss Cox <rsc@golang.org>
Tue, 26 Oct 2010 00:55:50 +0000 (17:55 -0700)
commit7c2b1597c67e0b74ed9efd1f409c7368604c917c
tree0d561fc3360cf8c12ff798999e63802d0f4d16d4
parente351533aab92362396e6c8940542fc74114f2074
arm: precise float64 software floating point

Adds softfloat64 to generic runtime
(will be discarded by linker when unused)
and adds test for it.  I used the test to check
the software code against amd64 hardware
and then check the software code against
the arm and its simulation of hardware.
The latter should have been a no-op (testing
against itself) but turned up a bug in 5c causing
the vlrt.c routines to miscompile.

These changes make the cmath, math,
and strconv tests pass without any special
accommodations for arm.

R=ken2
CC=golang-dev
https://golang.org/cl/2713042
src/pkg/Makefile
src/pkg/runtime/Makefile
src/pkg/runtime/arm/softfloat.c
src/pkg/runtime/export_test.go [new file with mode: 0644]
src/pkg/runtime/runtime.h
src/pkg/runtime/softfloat64.go [new file with mode: 0644]
src/pkg/runtime/softfloat64_test.go [new file with mode: 0644]