]> Cypherpunks repositories - gostls13.git/commit
math: add sqrt_arm.s and sqrtGoC.go as fallback to soft fp emulation
authorFan Hongjian <fan.howard@gmail.com>
Thu, 9 Jun 2011 21:19:08 +0000 (17:19 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 9 Jun 2011 21:19:08 +0000 (17:19 -0400)
commitfc41e621e875838bb62a111ac8ad97fa39f2bb2b
tree6749f57b3aa15b868e58a177835c00f4d15cb597
parent965ff4bb3a01a87b70d061ad0eb2766352e7d598
math: add sqrt_arm.s and sqrtGoC.go as fallback to soft fp emulation
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
src/cmd/5a/lex.c
src/cmd/5l/5.out.h
src/cmd/5l/asm.c
src/cmd/5l/obj.c
src/cmd/5l/softfloat.c
src/cmd/5l/span.c
src/pkg/math/Makefile
src/pkg/math/sqrt_arm.s [new file with mode: 0644]
src/pkg/math/sqrt_port.go
src/pkg/runtime/arm/softfloat.c