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

Issue 169533002: A64: Tidy up Push and Pop TODOs. (Closed)

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

Description

A64: Tidy up Push and Pop TODOs. This addresses several TODOs: - Push and Pop requests can be queued up so that arrays of Registers can be pushed efficiently, with just one PrepareForPush/Pop. - PushMultipleTimes now takes an Operand. This allows variable-length arguments arrays to be initialized, for example. - A NoUseRealAbortsScope has been added to Abort so that AssertStackConsistency can be called from PrepareForPush without introducing infinite recursion. BUG= R=ulan@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=19403

Patch Set 1 #

Total comments: 3

Patch Set 2 : Rebase after Abort code-size optimizations. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+363 lines, -58 lines) Patch
M src/a64/code-stubs-a64.cc View 1 1 chunk +5 lines, -2 lines 0 comments Download
M src/a64/full-codegen-a64.cc View 1 3 chunks +4 lines, -21 lines 0 comments Download
M src/a64/macro-assembler-a64.h View 1 4 chunks +39 lines, -4 lines 0 comments Download
M src/a64/macro-assembler-a64.cc View 1 6 chunks +132 lines, -16 lines 0 comments Download
M src/a64/macro-assembler-a64-inl.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M src/a64/stub-cache-a64.cc View 1 1 chunk +6 lines, -4 lines 0 comments Download
M src/objects.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/test-assembler-a64.cc View 1 4 chunks +166 lines, -3 lines 0 comments Download
M test/cctest/test-code-stubs-a64.cc View 1 2 chunks +7 lines, -6 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
jbramley
6 years, 10 months ago (2014-02-17 11:23:23 UTC) #1
ulan
lgtm
6 years, 10 months ago (2014-02-17 11:58:59 UTC) #2
jbramley
Committed patchset #1 manually as r19403 (presubmit successful).
6 years, 10 months ago (2014-02-17 12:08:15 UTC) #3
rmcilroy
Some comments on Push/Pop argument order. https://codereview.chromium.org/169533002/diff/1/src/a64/macro-assembler-a64.cc File src/a64/macro-assembler-a64.cc (right): https://codereview.chromium.org/169533002/diff/1/src/a64/macro-assembler-a64.cc#newcode651 src/a64/macro-assembler-a64.cc:651: void MacroAssembler::PushPopQueue::PopQueued() { ...
6 years, 10 months ago (2014-02-17 12:31:05 UTC) #4
jbramley
https://codereview.chromium.org/169533002/diff/1/src/a64/macro-assembler-a64.cc File src/a64/macro-assembler-a64.cc (right): https://codereview.chromium.org/169533002/diff/1/src/a64/macro-assembler-a64.cc#newcode651 src/a64/macro-assembler-a64.cc:651: void MacroAssembler::PushPopQueue::PopQueued() { On 2014/02/17 12:31:06, rmcilroy wrote: > ...
6 years, 10 months ago (2014-02-17 12:43:20 UTC) #5
rmcilroy
> We made a conscious decision to do things that way. On ARM, the registers ...
6 years, 10 months ago (2014-02-17 13:45:46 UTC) #6
m.m.capewell
On 2014/02/17 13:45:46, rmcilroy wrote: > Do any other V8 team members have an opinion? ...
6 years, 10 months ago (2014-02-17 14:03:01 UTC) #7
ulan
> Do any other V8 team members have an opinion? I don't have strong opinion ...
6 years, 10 months ago (2014-02-17 14:13:10 UTC) #8
rmcilroy
On 2014/02/17 14:13:10, ulan wrote: > > Do any other V8 team members have an ...
6 years, 10 months ago (2014-02-17 14:23:48 UTC) #9
ulan
This broke many debug tests: # # Fatal error in ../src/a64/assembler-a64.cc, line 2239 # external ...
6 years, 10 months ago (2014-02-17 16:13:08 UTC) #10
jbramley
On 2014/02/17 16:13:08, ulan wrote: > This broke many debug tests: > # > # ...
6 years, 10 months ago (2014-02-17 16:16:01 UTC) #11
ulan
> Our Aborts are bigger than they need to be at the moment because we ...
6 years, 10 months ago (2014-02-17 16:29:49 UTC) #12
jbramley
On 2014/02/17 16:29:49, ulan wrote: > > Our Aborts are bigger than they need to ...
6 years, 10 months ago (2014-02-17 16:32:41 UTC) #13
jbramley
I had to modify MakeConvertDToIFuncTrampoline to use PushPopQueue otherwise its set of Push calls generated ...
6 years, 10 months ago (2014-02-18 15:32:21 UTC) #14
jbramley
On 2014/02/18 15:32:21, jbramley wrote: > I had to modify MakeConvertDToIFuncTrampoline to use PushPopQueue otherwise ...
6 years, 10 months ago (2014-02-18 15:33:52 UTC) #15
ulan
On 2014/02/18 15:33:52, jbramley wrote: > On 2014/02/18 15:32:21, jbramley wrote: > > I had ...
6 years, 10 months ago (2014-02-18 15:39:24 UTC) #16
jbramley
On 2014/02/18 15:39:24, ulan wrote: > On 2014/02/18 15:33:52, jbramley wrote: > > On 2014/02/18 ...
6 years, 10 months ago (2014-02-18 15:40:36 UTC) #17
rmcilroy
On 2014/02/18 15:40:36, jbramley wrote: > On 2014/02/18 15:39:24, ulan wrote: > > On 2014/02/18 ...
6 years, 10 months ago (2014-02-18 15:50:33 UTC) #18
jbramley
6 years, 10 months ago (2014-02-18 15:53:40 UTC) #19
Message was sent while issue was closed.
On 2014/02/18 15:50:33, rmcilroy wrote:
> On 2014/02/18 15:40:36, jbramley wrote:
> > On 2014/02/18 15:39:24, ulan wrote:
> > > On 2014/02/18 15:33:52, jbramley wrote:
> > > > On 2014/02/18 15:32:21, jbramley wrote:
> > > > > I had to modify MakeConvertDToIFuncTrampoline to use PushPopQueue
> > otherwise
> > > > its
> > > > > set of Push calls generated too much code.
> > > > 
> > > > By the way, was updating this issue the right thing to do in this
> situation,
> > > or
> > > > should I have created a new one?
> > > 
> > > It is better to create a new one because this issue is already closed.
Could
> > you
> > > please reupload in a new issue?
> > 
> > Yep, no problem.
> 
> For future reference, a handy thing to do in this situation is to upload
"patch
> set 1" with exactly the same patch set as the reverted CL, then re-upload your
> new CL as "patch set 2".  That way reviewers can easily compare "patch set 2"
> with "patch set 1" to see only the differences you've made to reland the CL.

Ok, I'll try to remember that next time.

The new changes are here: https://codereview.chromium.org/170623002/

The only difference (other than an automatic rebase) is the change in
test-code-stubs-a64.cc.

Powered by Google App Engine
This is Rietveld 408576698