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

Issue 23480027: ARM: Add tests for CopyBytes. (Closed)

Created:
7 years, 3 months ago by Bangfu
Modified:
7 years, 3 months ago
CC:
v8-dev
Base URL:
git://github.com/v8/v8.git@master
Visibility:
Public.

Description

ARM: Add tests for CopyBytes. TEST=cctest/test-macro-assembler-arm.cc R=ulan@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=16751

Patch Set 1 : ARM fix: CopyBytes() #

Total comments: 3

Patch Set 2 : add test case #

Total comments: 2

Patch Set 3 : change branch condition #

Patch Set 4 : revert copybytes #

Patch Set 5 : bug fix #

Patch Set 6 : bug fix for debug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -7 lines) Patch
M src/arm/macro-assembler-arm.cc View 1 2 3 4 1 chunk +5 lines, -6 lines 0 comments Download
M test/cctest/cctest.gyp View 1 1 chunk +2 lines, -1 line 0 comments Download
A test/cctest/test-macro-assembler-arm.cc View 1 1 chunk +136 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
Benedikt Meurer
CC'ing Sven for additional feedback. The patch looks good so far, however: (1) While we ...
7 years, 3 months ago (2013-09-03 11:54:35 UTC) #1
Rodolph Perfetta
DBC https://codereview.chromium.org/23480027/diff/3001/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): https://codereview.chromium.org/23480027/diff/3001/src/arm/macro-assembler-arm.cc#newcode3199 src/arm/macro-assembler-arm.cc:3199: tst(src, Operand(kPointerSize - 1)); This code could be ...
7 years, 3 months ago (2013-09-03 14:47:06 UTC) #2
Bangfu
On 2013/09/03 14:47:06, Rodolph Perfetta wrote: > DBC > > https://codereview.chromium.org/23480027/diff/3001/src/arm/macro-assembler-arm.cc > File src/arm/macro-assembler-arm.cc (right): ...
7 years, 3 months ago (2013-09-03 17:07:06 UTC) #3
Bangfu
On 2013/09/03 11:54:35, Benedikt Meurer wrote: > CC'ing Sven for additional feedback. > > The ...
7 years, 3 months ago (2013-09-03 17:13:22 UTC) #4
Benedikt Meurer
> Currently there are 21 test cases are calling CopyBytes function: > === mjsunit/array-constructor === ...
7 years, 3 months ago (2013-09-04 10:17:50 UTC) #5
Bangfu
On 2013/09/04 10:17:50, Benedikt Meurer wrote: > > Currently there are 21 test cases are ...
7 years, 3 months ago (2013-09-09 16:42:24 UTC) #6
Benedikt Meurer
https://codereview.chromium.org/23480027/diff/10001/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): https://codereview.chromium.org/23480027/diff/10001/src/arm/macro-assembler-arm.cc#newcode3200 src/arm/macro-assembler-arm.cc:3200: sub(ip, length, Operand(4)); Hm, this use of ip doesn't ...
7 years, 3 months ago (2013-09-10 11:29:21 UTC) #7
Bangfu
On 2013/09/10 11:29:21, Benedikt Meurer wrote: > https://codereview.chromium.org/23480027/diff/10001/src/arm/macro-assembler-arm.cc > File src/arm/macro-assembler-arm.cc (right): > > https://codereview.chromium.org/23480027/diff/10001/src/arm/macro-assembler-arm.cc#newcode3200 ...
7 years, 3 months ago (2013-09-10 12:40:43 UTC) #8
Benedikt Meurer
CC'ing danno and ulan for additional feedback. I think we should really get this CopyBytes() ...
7 years, 3 months ago (2013-09-10 12:46:08 UTC) #9
Benedikt Meurer
Please split the test case into a separate CL, so we can commit that.
7 years, 3 months ago (2013-09-13 09:21:33 UTC) #10
ulan
I think the change is correct. Do you know how it affects the benchmarks? If ...
7 years, 3 months ago (2013-09-13 09:26:26 UTC) #11
Bangfu
On 2013/09/13 09:26:26, ulan wrote: > I think the change is correct. Do you know ...
7 years, 3 months ago (2013-09-13 14:12:28 UTC) #12
ulan
> It speeds up sun spider benchmark by 0.3% with this optimization. That looks within ...
7 years, 3 months ago (2013-09-16 12:34:11 UTC) #13
Bangfu
On 2013/09/16 12:34:11, ulan wrote: > > It speeds up sun spider benchmark by 0.3% ...
7 years, 3 months ago (2013-09-16 13:42:08 UTC) #14
ulan
LGTM, I will land it for you. I edited the description to avoid confusion in ...
7 years, 3 months ago (2013-09-17 08:34:41 UTC) #15
ulan
Committed patchset #4 manually as r16751 (presubmit successful).
7 years, 3 months ago (2013-09-17 09:01:20 UTC) #16
Bangfu
On 2013/09/17 09:01:20, ulan wrote: > Committed patchset #4 manually as r16751 (presubmit successful). Thanks ...
7 years, 3 months ago (2013-09-17 09:21:43 UTC) #17
Benedikt Meurer
On 2013/09/17 09:21:43, Bangfu wrote: > On 2013/09/17 09:01:20, ulan wrote: > > Committed patchset ...
7 years, 3 months ago (2013-09-17 10:35:44 UTC) #18
Bangfu
On 2013/09/17 10:35:44, Benedikt Meurer wrote: > On 2013/09/17 09:21:43, Bangfu wrote: > > On ...
7 years, 3 months ago (2013-09-17 11:08:59 UTC) #19
ulan
Indeed, there a bug in the current implementation. Could you please reupload your tests with ...
7 years, 3 months ago (2013-09-17 11:24:23 UTC) #20
Bangfu
On 2013/09/17 11:24:23, ulan wrote: > Indeed, there a bug in the current implementation. > ...
7 years, 3 months ago (2013-09-17 12:27:47 UTC) #21
ulan
On 2013/09/17 12:27:47, Bangfu wrote: > On 2013/09/17 11:24:23, ulan wrote: > > Indeed, there ...
7 years, 3 months ago (2013-09-17 12:39:27 UTC) #22
Bangfu
On 2013/09/17 12:39:27, ulan wrote: > On 2013/09/17 12:27:47, Bangfu wrote: > > On 2013/09/17 ...
7 years, 3 months ago (2013-09-17 14:45:53 UTC) #23
ulan
7 years, 3 months ago (2013-09-17 15:02:07 UTC) #24
Message was sent while issue was closed.
> Done.
Thank you!

Could you please create a new CL issue with description "Reland r16751 with
fix." And upload this fix and test there. This would be better for logs.

If you are using git-svn, you can do it in the old git branch with:
> git cl issue 0
> git cl upload

> By the way, do you want me to add more test cases for ARM macro assembler to
be
> similar like X64 macro?
That might uncover more bugs. If you have time, then please go ahead with it.

Powered by Google App Engine
This is Rietveld 408576698