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

Issue 1494123002: [turbofan, arm64] Fix native stack parameters on arm64. (Closed)

Created:
5 years ago by ahaas
Modified:
5 years ago
Reviewers:
titzer, jbramley, v8-arm-ports
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan, arm64] Fix native stack parameters on arm64. I added a flag to the CallDescriptor which indicates that the native stack should be used for a CallObject instead of the js stack on arm64. Additionally I removed the use of EmitPrepareArguments because the current implementation does not work when float and int parameters are mixed. I plan to fix it in a future CL, because currently I have a problem figuring out the type of a parameter. R=titzer@chromium.org, v8-arm-ports@googlegroups.com Committed: https://crrev.com/282e9411f2aa71760a5983fac420fb2ec7836fca Cr-Commit-Position: refs/heads/master@{#32577}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Minor changes according to comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -43 lines) Patch
M src/arm64/macro-assembler-arm64.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/compiler/arm64/code-generator-arm64.cc View 1 4 chunks +33 lines, -5 lines 0 comments Download
M src/compiler/arm64/instruction-selector-arm64.cc View 2 chunks +19 lines, -15 lines 0 comments Download
M src/compiler/linkage.h View 2 chunks +4 lines, -0 lines 0 comments Download
M test/cctest/compiler/test-run-native-calls.cc View 1 12 chunks +2 lines, -21 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
ahaas
5 years ago (2015-12-03 10:49:31 UTC) #1
jbramley
https://codereview.chromium.org/1494123002/diff/1/src/compiler/arm64/code-generator-arm64.cc File src/compiler/arm64/code-generator-arm64.cc (right): https://codereview.chromium.org/1494123002/diff/1/src/compiler/arm64/code-generator-arm64.cc#newcode890 src/compiler/arm64/code-generator-arm64.cc:890: __ PokePair(i.InputFloat64Register(1), i.InputFloat64Register(0), Consider: DCHECK(instr->InputAt(1)->IsDoubleRegister()); Also, the reverse in ...
5 years ago (2015-12-03 11:22:34 UTC) #3
titzer
https://codereview.chromium.org/1494123002/diff/1/src/compiler/arm64/code-generator-arm64.cc File src/compiler/arm64/code-generator-arm64.cc (right): https://codereview.chromium.org/1494123002/diff/1/src/compiler/arm64/code-generator-arm64.cc#newcode1313 src/compiler/arm64/code-generator-arm64.cc:1313: __ SetStackPointer(csp); On 2015/12/03 11:22:34, jbramley wrote: > Is ...
5 years ago (2015-12-03 11:31:59 UTC) #4
ahaas
https://codereview.chromium.org/1494123002/diff/1/src/compiler/arm64/code-generator-arm64.cc File src/compiler/arm64/code-generator-arm64.cc (right): https://codereview.chromium.org/1494123002/diff/1/src/compiler/arm64/code-generator-arm64.cc#newcode890 src/compiler/arm64/code-generator-arm64.cc:890: __ PokePair(i.InputFloat64Register(1), i.InputFloat64Register(0), On 2015/12/03 at 11:22:34, jbramley wrote: ...
5 years ago (2015-12-03 15:25:06 UTC) #5
titzer
On 2015/12/03 15:25:06, ahaas wrote: > https://codereview.chromium.org/1494123002/diff/1/src/compiler/arm64/code-generator-arm64.cc > File src/compiler/arm64/code-generator-arm64.cc (right): > > https://codereview.chromium.org/1494123002/diff/1/src/compiler/arm64/code-generator-arm64.cc#newcode890 > ...
5 years ago (2015-12-03 15:33:18 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1494123002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1494123002/20001
5 years ago (2015-12-03 15:35:19 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-03 16:49:21 UTC) #9
commit-bot: I haz the power
5 years ago (2015-12-03 16:50:03 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/282e9411f2aa71760a5983fac420fb2ec7836fca
Cr-Commit-Position: refs/heads/master@{#32577}

Powered by Google App Engine
This is Rietveld 408576698