aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/arm/softfloat.c
AgeCommit message (Collapse)Author
2011-06-095l: fix softfloat nitsRuss Cox
Need to load math.a so that sqrtGoC is available. Also was missing prototype. R=ken2 CC=golang-dev https://golang.org/cl/4517148
2011-06-09math: add sqrt_arm.s and sqrtGoC.go as fallback to soft fp emulationFan Hongjian
5a: add SQRTF and SQRTD 5l: add ASQRTF and ASQRTD Use ARMv7 VFP VSQRT instruction to speed up math.Sqrt R=rsc, dave, m CC=golang-dev https://golang.org/cl/4551082
2011-04-17runtime: fix arm5 softfloatRuss Cox
R=dfc, ken2, rsc CC=golang-dev https://golang.org/cl/4446043
2010-12-09arm floating point simulationKen Thompson
R=rsc CC=golang-dev https://golang.org/cl/3565041
2010-11-10runtime: omit runtimeĀ· prefix from static functions (in ARM code).Ian Lance Taylor
R=r CC=golang-dev https://golang.org/cl/3026041
2010-11-04runtime: ,s/[a-zA-Z0-9_]+/runtimeĀ·&/g, almostRuss Cox
Prefix all external symbols in runtime by runtimeĀ·, to avoid conflicts with possible symbols of the same name in linked-in C libraries. The obvious conflicts are printf, malloc, and free, but hide everything to avoid future pain. The symbols left alone are: ** known to cgo ** _cgo_free _cgo_malloc libcgo_thread_start initcgo ncgocall ** known to linker ** _rt0_$GOARCH _rt0_$GOARCH_$GOOS text etext data end pclntab epclntab symtab esymtab ** known to C compiler ** _divv _modv _div64by32 etc (arch specific) Tested on darwin/386, darwin/amd64, linux/386, linux/amd64. Built (but not tested) for freebsd/386, freebsd/amd64, linux/arm, windows/386. R=r, PeterGo CC=golang-dev https://golang.org/cl/2899041
2010-10-25arm: precise float64 software floating pointRuss Cox
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
2010-10-21arm: prop up software floating pointRuss Cox
Just enough to make mov instructions work, which in turn is enough to make strconv work when it avoids any floating point calculations. That makes a bunch of other packages pass their tests. Should suffice until hardware floating point is available. Enable package tests that now pass (some due to earlier fixes). Looks like there is a new integer math bug exposed in the fmt and json tests. R=ken2 CC=golang-dev https://golang.org/cl/2638041
2010-10-20arm: fix typo in softfloatRuss Cox
R=kaib CC=golang-dev https://golang.org/cl/2608041
2010-10-18runtime: fix arm softfloat again for R12Russ Cox
Missed a case, so now generalized. R=ken2 CC=golang-dev https://golang.org/cl/2540042
2010-10-18runtime: update arm softfloat - no more R12Russ Cox
R=ken2 CC=golang-dev https://golang.org/cl/2555041
2010-07-28arm: minor bugfixes.Kai Backman
R=rsc CC=golang-dev https://golang.org/cl/1692057
2010-07-20more soft float support. passes several basic testsKai Backman
but with less precision than hardware counterparts. fixed a number of tests to output BUG when they failed. changed the runner to distinghuish between output and output containing ^BUG R=rsc CC=dho, golang-dev https://golang.org/cl/1778041
2010-04-15support for printing floats:Kai Backman
fmt.Printf("float32 %f\n", float32(1234.56789)) fmt.Printf("float64 %f\n", float64(1234.56789)) -> float32 1234.567871 float64 1234.567890 this is a snapshot. extended instruction support, corner cases and fixes coming in subseuent cls. R=rsc CC=dpx, golang-dev https://golang.org/cl/876045
2010-04-05runtime: various arm fixesRuss Cox
* correct symbol table size * do not reorder functions in output * traceback * signal handling * use same code for go + defer * handle leaf functions in symbol table R=kaib, dpx CC=golang-dev https://golang.org/cl/884041
2009-12-17 first stub for softfloats, intercepts float instructions and skipsKai Backman
them in the stream. R=rsc https://golang.org/cl/174052