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

Issue 213943002: Change arm64 simulator register backing store. (Closed)

Created:
6 years, 9 months ago by Fritz
Modified:
6 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Do away with variable length memcpy to Set/Get registers in simulator About a 32% boost. Before - 5:31 Richards: 84.5 DeltaBlue: 128 Crypto: 65.3 RayTrace: 203 EarleyBoyer: 149 RegExp: 23.4 Splay: 121 NavierStokes: 98.9 ---- Score (version 7): 93.8 After - 4:10 Richards: 107 DeltaBlue: 175 Crypto: 93.9 RayTrace: 258 EarleyBoyer: 186 RegExp: 32.7 Splay: 165 NavierStokes: 124 ---- Score (version 7): 124 R=jacob.bramley@arm.com, svenpanne@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=21448 Committed: https://code.google.com/p/v8/source/detail?r=21804

Patch Set 1 #

Patch Set 2 : #

Total comments: 11

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Total comments: 27

Patch Set 6 : #

Total comments: 5

Patch Set 7 : #

Patch Set 8 : #

Total comments: 1

Patch Set 9 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+309 lines, -334 lines) Patch
M src/arm64/simulator-arm64.h View 1 2 3 4 5 6 7 7 chunks +57 lines, -102 lines 0 comments Download
M src/arm64/simulator-arm64.cc View 1 2 3 4 5 6 7 8 17 chunks +233 lines, -232 lines 1 comment Download
M src/utils.h View 1 2 3 4 5 6 7 8 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (0 generated)
Fritz
6 years, 9 months ago (2014-03-27 17:22:16 UTC) #1
jbramley
https://codereview.chromium.org/213943002/diff/20001/src/arm64/simulator-arm64.h File src/arm64/simulator-arm64.h (right): https://codereview.chromium.org/213943002/diff/20001/src/arm64/simulator-arm64.h#newcode165 src/arm64/simulator-arm64.h:165: ASSERT(size/8 <= kXRegSize); There are actually only two supported ...
6 years, 9 months ago (2014-03-27 17:50:41 UTC) #2
Fritz
https://codereview.chromium.org/213943002/diff/20001/src/arm64/simulator-arm64.h File src/arm64/simulator-arm64.h (right): https://codereview.chromium.org/213943002/diff/20001/src/arm64/simulator-arm64.h#newcode165 src/arm64/simulator-arm64.h:165: ASSERT(size/8 <= kXRegSize); On 2014/03/27 17:50:42, jbramley wrote: > ...
6 years, 9 months ago (2014-03-27 19:58:33 UTC) #3
Sven Panne
NOT LGTM. I think we have to approach the whole problem differently... https://codereview.chromium.org/213943002/diff/40001/src/arm64/simulator-arm64.h File src/arm64/simulator-arm64.h ...
6 years, 9 months ago (2014-03-28 07:57:54 UTC) #4
Sven Panne
Ooops, for some reasons I didn't see your previous comments (temporary blindness due to sheriffing ...
6 years, 9 months ago (2014-03-28 08:30:04 UTC) #5
jbramley
> https://codereview.chromium.org/213943002/diff/20001/src/arm64/simulator-arm64.h > File src/arm64/simulator-arm64.h (right): > > https://codereview.chromium.org/213943002/diff/20001/src/arm64/simulator-arm64.h#newcode165 > src/arm64/simulator-arm64.h:165: ASSERT(size/8 <= kXRegSize); > ...
6 years, 9 months ago (2014-03-28 11:07:03 UTC) #6
Sven Panne
https://codereview.chromium.org/213943002/diff/20001/src/arm64/simulator-arm64.h File src/arm64/simulator-arm64.h (right): https://codereview.chromium.org/213943002/diff/20001/src/arm64/simulator-arm64.h#newcode179 src/arm64/simulator-arm64.h:179: } reg = { new_value }; On 2014/03/27 19:58:33, ...
6 years, 9 months ago (2014-03-28 11:46:04 UTC) #7
jbramley
https://codereview.chromium.org/213943002/diff/20001/src/arm64/simulator-arm64.h File src/arm64/simulator-arm64.h (right): https://codereview.chromium.org/213943002/diff/20001/src/arm64/simulator-arm64.h#newcode179 src/arm64/simulator-arm64.h:179: } reg = { new_value }; On 2014/03/28 11:46:04, ...
6 years, 9 months ago (2014-03-28 11:59:58 UTC) #8
Sven Panne
On 2014/03/28 11:59:58, jbramley wrote: > [...] However, it does have a rather surprising note ...
6 years, 9 months ago (2014-03-28 12:16:14 UTC) #9
jbramley
On 2014/03/28 12:16:14, Sven Panne wrote: > On 2014/03/28 11:59:58, jbramley wrote: > > [...] ...
6 years, 9 months ago (2014-03-28 12:45:03 UTC) #10
Fritz
On 2014/03/28 11:59:58, jbramley wrote: > https://codereview.chromium.org/213943002/diff/20001/src/arm64/simulator-arm64.h > File src/arm64/simulator-arm64.h (right): > > https://codereview.chromium.org/213943002/diff/20001/src/arm64/simulator-arm64.h#newcode179 > ...
6 years, 9 months ago (2014-03-28 23:10:04 UTC) #11
Fritz
On 2014/03/28 07:57:54, Sven Panne wrote: > NOT LGTM. I think we have to approach ...
6 years, 9 months ago (2014-03-28 23:15:47 UTC) #12
Fritz
On 2014/03/28 11:46:04, Sven Panne wrote: > https://codereview.chromium.org/213943002/diff/20001/src/arm64/simulator-arm64.h > File src/arm64/simulator-arm64.h (right): > > https://codereview.chromium.org/213943002/diff/20001/src/arm64/simulator-arm64.h#newcode179 ...
6 years, 9 months ago (2014-03-29 00:21:53 UTC) #13
Sven Panne
Browsing through the simulator code a bit, I think the fundamental problem is that passing ...
6 years, 8 months ago (2014-03-31 13:32:53 UTC) #14
Fritz
On 2014/03/31 13:32:53, Sven Panne wrote: > Browsing through the simulator code a bit, I ...
6 years, 8 months ago (2014-03-31 17:33:38 UTC) #15
Sven Panne
On 2014/03/31 17:33:38, Fritz wrote: > I agree that passing register size around is not ...
6 years, 8 months ago (2014-04-01 05:45:00 UTC) #16
Fritz
I've started work on templatizing functions that access registers. This will get away from the ...
6 years, 7 months ago (2014-05-15 17:20:32 UTC) #17
Sven Panne
I started to review this, but I had trouble seeing the direction you want to ...
6 years, 7 months ago (2014-05-16 11:15:40 UTC) #18
Sven Panne
https://codereview.chromium.org/213943002/diff/80001/src/arm64/simulator-arm64.h File src/arm64/simulator-arm64.h (right): https://codereview.chromium.org/213943002/diff/80001/src/arm64/simulator-arm64.h#newcode152 src/arm64/simulator-arm64.h:152: value_ = new_value; A ternary is a bit more ...
6 years, 7 months ago (2014-05-16 11:15:47 UTC) #19
jbramley
In general, I like the approach, but I have a few comments. Thanks, Jacob https://codereview.chromium.org/213943002/diff/80001/src/arm64/simulator-arm64.cc ...
6 years, 7 months ago (2014-05-16 14:05:49 UTC) #20
Fritz
Thanks for the feedback. Direction: I am replacing reg(reg_size, ... functions with either reg<int32/64_t> or ...
6 years, 7 months ago (2014-05-16 18:11:46 UTC) #21
Fritz
Re: Direction A little more info. The main reason I was trying to get a ...
6 years, 7 months ago (2014-05-16 21:41:53 UTC) #22
Sven Panne
2 tiny drive-by comments... https://codereview.chromium.org/213943002/diff/80001/src/arm64/simulator-arm64.cc File src/arm64/simulator-arm64.cc (right): https://codereview.chromium.org/213943002/diff/80001/src/arm64/simulator-arm64.cc#newcode888 src/arm64/simulator-arm64.cc:888: public: On 2014/05/16 18:11:46, Fritz ...
6 years, 7 months ago (2014-05-19 08:12:26 UTC) #23
Fritz
This should be feature complete. It get's rid of all variable length memcpy when accessing ...
6 years, 7 months ago (2014-05-20 19:44:23 UTC) #24
jbramley
https://codereview.chromium.org/213943002/diff/120001/src/arm64/simulator-arm64.h File src/arm64/simulator-arm64.h (right): https://codereview.chromium.org/213943002/diff/120001/src/arm64/simulator-arm64.h#newcode76 src/arm64/simulator-arm64.h:76: template<typename T> On 2014/05/20 19:44:24, Fritz wrote: > utils-arm64.h ...
6 years, 7 months ago (2014-05-21 08:02:30 UTC) #25
Fritz
That should be everything. Please let me know if anything needs work. https://codereview.chromium.org/213943002/diff/120001/src/arm64/simulator-arm64.h File src/arm64/simulator-arm64.h ...
6 years, 7 months ago (2014-05-21 16:38:56 UTC) #26
Sven Panne
LGTM from my side, but I'll leave the final word to Jacob and Rodolph (and ...
6 years, 7 months ago (2014-05-22 07:56:42 UTC) #27
jbramley
On 2014/05/22 07:56:42, Sven Panne wrote: > LGTM from my side, but I'll leave the ...
6 years, 7 months ago (2014-05-22 08:18:57 UTC) #28
Fritz
On 2014/05/22 08:18:57, jbramley wrote: > On 2014/05/22 07:56:42, Sven Panne wrote: > > LGTM ...
6 years, 7 months ago (2014-05-22 22:37:19 UTC) #29
Sven Panne
Committed patchset #8 manually as r21448 (presubmit successful).
6 years, 7 months ago (2014-05-23 06:35:07 UTC) #30
Sven Panne
I had to revert this, it broke Webkit tests and arm64.debug.check (note: "debug", not "optdebug"). ...
6 years, 7 months ago (2014-05-23 07:18:17 UTC) #31
Fritz
Will work on getting this fixed up before Sven gets back. https://codereview.chromium.org/213943002/diff/160001/src/arm64/simulator-arm64.cc File src/arm64/simulator-arm64.cc (right): ...
6 years, 7 months ago (2014-05-27 21:01:46 UTC) #32
Fritz
Can I just open this up? Or do I need to create another CL? https://codereview.chromium.org/213943002/diff/180001/src/arm64/simulator-arm64.cc ...
6 years, 7 months ago (2014-05-27 23:07:02 UTC) #33
Sven Panne
6 years, 6 months ago (2014-06-12 11:20:39 UTC) #34
Message was sent while issue was closed.
Committed patchset #9 manually as r21804 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698