Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6583)

Issue 4551082: code review 4551082: math: add sqrt_arm.s and sqrtGoC.go as fallback to soft...

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 11 months ago by fango
Modified:
12 years, 10 months ago
Reviewers:
rsc
CC:
rsc, dave_cheney.net, captn, golang-dev
Visibility:
Public.

Description

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

Patch Set 1 #

Patch Set 2 : diff -r e1e194eb5c8e https://go.googlecode.com/hg/ #

Total comments: 2

Patch Set 3 : diff -r fa2bae213af8 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r fa2bae213af8 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 082e18eba53b https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r e0f205991c65 https://go.googlecode.com/hg/ #

Patch Set 7 : diff -r e0f205991c65 https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 8 : diff -r 58515a4de582 https://go.googlecode.com/hg/ #

Patch Set 9 : diff -r 58515a4de582 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -1 line) Patch
M src/cmd/5a/lex.c View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/cmd/5l/5.out.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/cmd/5l/asm.c View 1 2 3 4 5 6 7 2 chunks +3 lines, -1 line 0 comments Download
M src/cmd/5l/obj.c View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/5l/softfloat.c View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/cmd/5l/span.c View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M src/pkg/math/Makefile View 1 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
A src/pkg/math/sqrt_arm.s View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M src/pkg/math/sqrt_port.go View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M src/pkg/runtime/arm/softfloat.c View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 26
fango
Resent since CL not appeared on golang-dev
12 years, 11 months ago (2011-06-01 14:02:01 UTC) #1
rsc
Looks fine to me but will break ARM5. You'll need to have the software floating ...
12 years, 11 months ago (2011-06-02 14:38:27 UTC) #2
fango
> and then you'll have to change 5l to > automatically load math.a the same ...
12 years, 10 months ago (2011-06-03 01:42:10 UTC) #3
rsc
> This is new. Supporting both ARM5,ARM6, ARMv7, ARMv7_neon are going to > be messy. ...
12 years, 10 months ago (2011-06-03 01:52:58 UTC) #4
fango
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 10 months ago (2011-06-03 06:22:49 UTC) #5
fango
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 10 months ago (2011-06-03 06:30:44 UTC) #6
fango
On 2011/06/03 06:30:44, Fango wrote: > Hello mailto:rsc@golang.org (cc: mailto:golang-dev@googlegroups.com), > > Please take another ...
12 years, 10 months ago (2011-06-03 06:36:10 UTC) #7
dave_cheney.net
Hi Howard, You can use hg file 4551082 file1 file2 file3 to add files to ...
12 years, 10 months ago (2011-06-03 06:46:15 UTC) #8
captn
On 2011/06/03 01:52:58, rsc wrote: > > This is new. Supporting both ARM5,ARM6, ARMv7, ARMv7_neon ...
12 years, 10 months ago (2011-06-03 08:20:28 UTC) #9
fango
> All the fine gradations in the middle I am happy to ignore. If I ...
12 years, 10 months ago (2011-06-03 08:51:36 UTC) #10
rsc
> For some reason I can't get run even a GOARM=5 binary on an ARMv6 ...
12 years, 10 months ago (2011-06-03 15:19:45 UTC) #11
dave_cheney.net
Looks good on arm5
12 years, 10 months ago (2011-06-06 06:28:09 UTC) #12
rsc
The new code looks fine but if you view the diffs, you've undone a bunch ...
12 years, 10 months ago (2011-06-07 19:10:54 UTC) #13
fango
Hello rsc@golang.org, dave@cheney.net, m@capitanio.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 10 months ago (2011-06-08 00:18:58 UTC) #14
fango
Sorry I don't quite get what you mean. So I did a 'hg sync' and ...
12 years, 10 months ago (2011-06-08 00:25:13 UTC) #15
fango
Hello rsc@golang.org, dave@cheney.net, m@capitanio.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 10 months ago (2011-06-08 01:06:15 UTC) #16
fango
Hello rsc@golang.org, dave@cheney.net, m@capitanio.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 10 months ago (2011-06-08 01:14:40 UTC) #17
fango
Hi Russ, I did a `hg update default
12 years, 10 months ago (2011-06-08 01:15:33 UTC) #18
fango
Sorry, switching from vim did byte me. Anyway, I did a hg update default and ...
12 years, 10 months ago (2011-06-08 01:18:17 UTC) #19
rsc
looks great; just the file nit below. thanks! http://codereview.appspot.com/4551082/diff/27001/src/pkg/math/Makefile File src/pkg/math/Makefile (right): http://codereview.appspot.com/4551082/diff/27001/src/pkg/math/Makefile#newcode91 src/pkg/math/Makefile:91: sqrtGoC.go\ ...
12 years, 10 months ago (2011-06-08 02:47:08 UTC) #20
fango
Hello rsc@golang.org, dave@cheney.net, m@capitanio.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 10 months ago (2011-06-08 02:54:13 UTC) #21
rsc
LGTM Thanks!
12 years, 10 months ago (2011-06-08 03:05:46 UTC) #22
fango
Hello rsc@golang.org, dave@cheney.net, m@capitanio.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 10 months ago (2011-06-08 04:40:09 UTC) #23
fango
Patch 9 fixed a typo in Makefile, and gofmt -w sqrt_port.go.
12 years, 10 months ago (2011-06-08 04:42:27 UTC) #24
rsc
will submit tomorrow once i sort some other arm stuff
12 years, 10 months ago (2011-06-08 04:45:20 UTC) #25
rsc
12 years, 10 months ago (2011-06-09 21:19:11 UTC) #26
*** Submitted as http://code.google.com/p/go/source/detail?r=002945af78cc ***

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
http://codereview.appspot.com/4551082

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b