Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Issue 3341012: v8: Replace 2 ARM ldr instructions with one ldrd in the code generated for a SubS... (Closed)

Created:
10 years, 3 months ago by Andreas Anyuru
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Replace 2 ARM ldr instructions with one ldrd in the code generated for a SubStringStub and StringCompareStub in the ARM backend. Also changed a comment (line 4154) that seem to have been wrong before."

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Total comments: 16

Patch Set 5 : '' #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -24 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M src/arm/code-stubs-arm.cc View 1 2 3 4 9 chunks +20 lines, -24 lines 5 comments Download

Messages

Total messages: 11 (0 generated)
Andreas Anyuru
Erik, Rodolph, I have spent quite some time reading the v8 source code to understand ...
10 years, 3 months ago (2010-09-03 12:17:40 UTC) #1
Rodolph Perfetta
http://codereview.chromium.org/3341012/diff/1/3 File src/arm/code-stubs-arm.cc (right): http://codereview.chromium.org/3341012/diff/1/3#newcode4146 src/arm/code-stubs-arm.cc:4146: __ ldrd(r6, r7, MemOperand(sp, kToOffset)); ldrd is a v5te ...
10 years, 3 months ago (2010-09-03 13:10:47 UTC) #2
Andreas Anyuru
Hi Rodolph, Thanks for your very good and valid comments! (Actually I should have caught ...
10 years, 3 months ago (2010-09-04 22:51:40 UTC) #3
Andreas Anyuru
New snapshot uploaded. Fixed comments from Rodolph. http://codereview.chromium.org/3341012/show Best Regards, Andreas
10 years, 3 months ago (2010-09-04 22:57:50 UTC) #4
Andreas Anyuru
New snapshot uploaded, Fixed 2 lint errors, that I missed before.
10 years, 3 months ago (2010-09-07 17:49:59 UTC) #5
Rodolph Perfetta
LGTM
10 years, 3 months ago (2010-09-07 22:53:29 UTC) #6
Søren Thygesen Gjesse
Drive by comment http://codereview.chromium.org/3341012/diff/9001/10002 File src/arm/code-stubs-arm.cc (right): http://codereview.chromium.org/3341012/diff/9001/10002#newcode4146 src/arm/code-stubs-arm.cc:4146: // r6 = to (smi), r7 ...
10 years, 3 months ago (2010-09-08 07:14:03 UTC) #7
Andreas Anyuru
New snapshot uploaded (Patch Set 4), to fix comment from Søren Gjesse. Thanks for the ...
10 years, 3 months ago (2010-09-08 08:51:37 UTC) #8
Erik Corry
http://codereview.chromium.org/3341012/diff/14001/15002 File src/arm/code-stubs-arm.cc (left): http://codereview.chromium.org/3341012/diff/14001/15002#oldcode4142 src/arm/code-stubs-arm.cc:4142: static const int kFromOffset = 1 * kPointerSize; Please ...
10 years, 3 months ago (2010-09-08 11:02:53 UTC) #9
Andreas Anyuru
Eric, Uploaded new snapshot after I fixed your comments. Rodolph and Søren, I hope you ...
10 years, 3 months ago (2010-09-08 19:14:06 UTC) #10
Erik Corry
10 years, 3 months ago (2010-09-15 10:23:52 UTC) #11
Committed as bleeding edge revision 5457.  Thankyou.

http://codereview.chromium.org/3341012/diff/2002/18002
File src/arm/code-stubs-arm.cc (left):

http://codereview.chromium.org/3341012/diff/2002/18002#oldcode4169
src/arm/code-stubs-arm.cc:4169: // r7: to (smi)
I put these comments back.

http://codereview.chromium.org/3341012/diff/2002/18002#oldcode4183
src/arm/code-stubs-arm.cc:4183: // r6: from (smi)
And these

http://codereview.chromium.org/3341012/diff/2002/18002#oldcode4211
src/arm/code-stubs-arm.cc:4211: // r7: to (smi)
And I put 'to' back here.

http://codereview.chromium.org/3341012/diff/2002/18002#oldcode4220
src/arm/code-stubs-arm.cc:4220: // r6: from offset (smi)
We use 'from' below so it is still live here, so I put this back.

http://codereview.chromium.org/3341012/diff/2002/18002
File src/arm/code-stubs-arm.cc (right):

http://codereview.chromium.org/3341012/diff/2002/18002#newcode4147
src/arm/code-stubs-arm.cc:4147: // Both to and from are smis.
We don't know that yet, so I moved this comment down.

Powered by Google App Engine
This is Rietveld 408576698