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

Issue 1534593004: [turbofan] Pass type information of arguments to EmitPrepareArguments. (Closed)

Created:
5 years ago by ahaas
Modified:
5 years ago
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] Pass type information of arguments to EmitPrepareArguments. On ia32 the code which pushes parameters on the stack depends on the types of the parameters which are to be pushed. I provide this type information now by not only passing parameter nodes to EmitPrepareArguments, but also the index in the call descriptor which belongs to the parameter nodes. This type information will also be necessary if we want to use the PokePair instruction on arm64 again. R=bradnelson@chromium.org, bmeurer@chromium.org Committed: https://crrev.com/c0c8c756de1a90f0f558f69a234b4eb581a0db3c Cr-Commit-Position: refs/heads/master@{#32982}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Handle float32 and float64 differently. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -84 lines) Patch
M src/compiler/arm/instruction-selector-arm.cc View 2 chunks +9 lines, -8 lines 0 comments Download
M src/compiler/arm64/instruction-selector-arm64.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M src/compiler/ia32/code-generator-ia32.cc View 1 1 chunk +34 lines, -0 lines 0 comments Download
M src/compiler/ia32/instruction-codes-ia32.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/ia32/instruction-scheduler-ia32.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/ia32/instruction-selector-ia32.cc View 1 2 chunks +21 lines, -16 lines 0 comments Download
M src/compiler/instruction-selector.h View 1 2 chunks +15 lines, -1 line 0 comments Download
M src/compiler/instruction-selector.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M src/compiler/mips/instruction-selector-mips.cc View 3 chunks +8 lines, -7 lines 0 comments Download
M src/compiler/mips64/instruction-selector-mips64.cc View 3 chunks +8 lines, -7 lines 0 comments Download
M src/compiler/ppc/instruction-selector-ppc.cc View 3 chunks +10 lines, -10 lines 0 comments Download
M src/compiler/x64/instruction-selector-x64.cc View 2 chunks +14 lines, -13 lines 0 comments Download
M src/compiler/x87/instruction-selector-x87.cc View 2 chunks +15 lines, -14 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
ahaas
5 years ago (2015-12-17 13:47:56 UTC) #1
bradn
https://codereview.chromium.org/1534593004/diff/1/src/compiler/ia32/instruction-selector-ia32.cc File src/compiler/ia32/instruction-selector-ia32.cc (right): https://codereview.chromium.org/1534593004/diff/1/src/compiler/ia32/instruction-selector-ia32.cc#newcode939 src/compiler/ia32/instruction-selector-ia32.cc:939: Emit(kIA32PushDouble, g.NoOutput(), value); Wait why are float32 a double ...
5 years ago (2015-12-17 13:58:36 UTC) #3
Jarin
https://codereview.chromium.org/1534593004/diff/1/src/compiler/ia32/instruction-selector-ia32.cc File src/compiler/ia32/instruction-selector-ia32.cc (right): https://codereview.chromium.org/1534593004/diff/1/src/compiler/ia32/instruction-selector-ia32.cc#newcode935 src/compiler/ia32/instruction-selector-ia32.cc:935: if (descriptor->GetInputType(input.parameter_index()) == How about using IsFloatingPoint(...)? https://codereview.chromium.org/1534593004/diff/1/src/compiler/ia32/instruction-selector-ia32.cc#newcode937 src/compiler/ia32/instruction-selector-ia32.cc:937: ...
5 years ago (2015-12-17 14:33:49 UTC) #5
ahaas
https://codereview.chromium.org/1534593004/diff/1/src/compiler/ia32/instruction-selector-ia32.cc File src/compiler/ia32/instruction-selector-ia32.cc (right): https://codereview.chromium.org/1534593004/diff/1/src/compiler/ia32/instruction-selector-ia32.cc#newcode935 src/compiler/ia32/instruction-selector-ia32.cc:935: if (descriptor->GetInputType(input.parameter_index()) == On 2015/12/17 at 14:33:49, Jarin wrote: ...
5 years ago (2015-12-18 10:16:46 UTC) #6
Jarin
lgtm
5 years ago (2015-12-21 10:04:19 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1534593004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1534593004/20001
5 years ago (2015-12-21 10:12:57 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-21 10:32:46 UTC) #10
commit-bot: I haz the power
5 years ago (2015-12-21 10:33:07 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c0c8c756de1a90f0f558f69a234b4eb581a0db3c
Cr-Commit-Position: refs/heads/master@{#32982}

Powered by Google App Engine
This is Rietveld 408576698