diff options
| author | Fan Hongjian <fan.howard@gmail.com> | 2011-06-09 17:19:08 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2011-06-09 17:19:08 -0400 |
| commit | fc41e621e875838bb62a111ac8ad97fa39f2bb2b (patch) | |
| tree | 6749f57b3aa15b868e58a177835c00f4d15cb597 /src/cmd/5l/softfloat.c | |
| parent | 965ff4bb3a01a87b70d061ad0eb2766352e7d598 (diff) | |
| download | go-fc41e621e875838bb62a111ac8ad97fa39f2bb2b.tar.xz | |
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
Diffstat (limited to 'src/cmd/5l/softfloat.c')
| -rw-r--r-- | src/cmd/5l/softfloat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/5l/softfloat.c b/src/cmd/5l/softfloat.c index 03d8c6d262..4f799d17ee 100644 --- a/src/cmd/5l/softfloat.c +++ b/src/cmd/5l/softfloat.c @@ -54,6 +54,8 @@ softfloat(void) case AMULD: case ADIVF: case ADIVD: + case ASQRTF: + case ASQRTD: goto soft; default: |
