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

Issue 6305100: code review 6305100: runtime: avoid r9/r10 during memmove (Closed)

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

Description

runtime: avoid r9/r10 during memmove Fixes issue 3718. Requires CL 6300043.

Patch Set 1 #

Patch Set 2 : code review 6305100: runtime: avoid r9/r10 during memmove #

Patch Set 3 : diff -r 5e3661048f2e https://code.google.com/p/go #

Patch Set 4 : diff -r 5e3661048f2e https://code.google.com/p/go #

Patch Set 5 : diff -r 5e3661048f2e https://code.google.com/p/go #

Patch Set 6 : diff -r 5e3661048f2e https://code.google.com/p/go #

Patch Set 7 : diff -r 5e3661048f2e https://code.google.com/p/go #

Total comments: 4

Patch Set 8 : diff -r 5e3661048f2e https://code.google.com/p/go #

Total comments: 2

Patch Set 9 : diff -r f14046c7d922 https://code.google.com/p/go #

Patch Set 10 : diff -r f14046c7d922 https://code.google.com/p/go #

Patch Set 11 : diff -r 572efb136b1a https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -44 lines) Patch
M src/pkg/runtime/memmove_arm.s View 1 2 3 4 5 6 7 8 9 9 chunks +48 lines, -44 lines 0 comments Download

Messages

Total messages: 18
dave_cheney.net
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
12 years, 11 months ago (2012-06-16 07:17:48 UTC) #1
rsc
I really liked your other one where you shuffled things and used R0-R7. Is that ...
12 years, 11 months ago (2012-06-16 23:56:27 UTC) #2
dave_cheney.net
I'll try to make that work. I might be able to place TS at 0 ...
12 years, 11 months ago (2012-06-17 00:03:37 UTC) #3
dave_cheney.net
I'm having a problem making this work AND $~0x03, R(FROM) /* align source */ is ...
12 years, 11 months ago (2012-06-17 05:44:04 UTC) #4
minux1
On Sun, Jun 17, 2012 at 1:44 PM, Dave Cheney <dave@cheney.net> wrote: > I'm having ...
12 years, 11 months ago (2012-06-17 06:43:02 UTC) #5
dave_cheney.net
Ahh, that makes sense and explains why this routine was so sensitive to reg layout. ...
12 years, 11 months ago (2012-06-17 06:50:39 UTC) #6
minux1
On Sun, Jun 17, 2012 at 2:50 PM, Dave Cheney <dave@cheney.net> wrote: > Ahh, that ...
12 years, 11 months ago (2012-06-17 06:55:46 UTC) #7
dave_cheney.net
Hello golang-dev@googlegroups.com, rsc@golang.org, minux.ma@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 11 months ago (2012-06-17 13:38:24 UTC) #8
dave_cheney.net
Performance appears unaffected, which is good BenchmarkMemmove32 20000000 114 ns/op 279.68 MB/s BenchmarkMemmove4K 1000000 1253 ...
12 years, 11 months ago (2012-06-17 13:47:10 UTC) #9
rsc
http://codereview.appspot.com/6305100/diff/10002/src/pkg/runtime/memmove_arm.s File src/pkg/runtime/memmove_arm.s (right): http://codereview.appspot.com/6305100/diff/10002/src/pkg/runtime/memmove_arm.s#newcode26 src/pkg/runtime/memmove_arm.s:26: TS = 0 /* TS or TE are spilled ...
12 years, 11 months ago (2012-06-17 14:50:17 UTC) #10
dave_cheney.net
Hello rsc@golang.org, minux.ma@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 11 months ago (2012-06-17 22:53:46 UTC) #11
dave_cheney.net
Would you like me to merge this CL into http://codereview.appspot.com/6300043/ as both are needed to ...
12 years, 11 months ago (2012-06-17 23:01:47 UTC) #12
rsc
LGTM It's fine as a separate CL. The review log is here.
12 years, 11 months ago (2012-06-19 04:10:23 UTC) #13
dave_cheney.net
Thanks. @minux, could I get a third pair of eyes on both of these CLs ...
12 years, 11 months ago (2012-06-19 04:19:43 UTC) #14
extraterrestrial
http://codereview.appspot.com/6305100/diff/2004/src/pkg/runtime/memmove_arm.s File src/pkg/runtime/memmove_arm.s (right): http://codereview.appspot.com/6305100/diff/2004/src/pkg/runtime/memmove_arm.s#newcode30 src/pkg/runtime/memmove_arm.s:30: // Warning: the linker will use R11 to syntehsize ...
12 years, 11 months ago (2012-06-19 16:29:45 UTC) #15
dave_cheney.net
Hello rsc@golang.org, minux.ma@gmail.com, extraterrestrial.neighbour@googlemail.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 11 months ago (2012-06-19 20:50:59 UTC) #16
dave_cheney.net
Thank you for your comments, PTAL. http://codereview.appspot.com/6305100/diff/10002/src/pkg/runtime/memmove_arm.s File src/pkg/runtime/memmove_arm.s (right): http://codereview.appspot.com/6305100/diff/10002/src/pkg/runtime/memmove_arm.s#newcode26 src/pkg/runtime/memmove_arm.s:26: TS = 0 ...
12 years, 11 months ago (2012-06-19 20:52:01 UTC) #17
dave_cheney.net
12 years, 11 months ago (2012-06-24 22:29:29 UTC) #18
*** Submitted as http://code.google.com/p/go/source/detail?r=5ca8acc84025 ***

runtime: avoid r9/r10 during memmove

Fixes issue 3718.

Requires CL 6300043.

R=rsc, minux.ma, extraterrestrial.neighbour
CC=golang-dev
http://codereview.appspot.com/6305100
Sign in to reply to this message.

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