From fc41e621e875838bb62a111ac8ad97fa39f2bb2b Mon Sep 17 00:00:00 2001 From: Fan Hongjian Date: Thu, 9 Jun 2011 17:19:08 -0400 Subject: 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/5l/softfloat.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cmd/5l/softfloat.c') 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: -- cgit v1.3-5-g9baa