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

Issue 1645653002: [turbofan] Add the StackSlot operator to turbofan. (Closed)

Created:
4 years, 11 months ago by ahaas
Modified:
4 years, 10 months ago
Reviewers:
titzer, v8-arm-ports, v8-ppc-ports, v8-mips-ports
CC:
v8-mips-ports_googlegroups.com, v8-ppc-ports_googlegroups.com, v8-reviews_googlegroups.com, v8-x87-ports_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Add the StackSlot operator to turbofan. The StackSlot operator allows to allocate a spill slot on the stack. We are going to use this operator to pass floats through pointers to c functions, which we need for floating point rounding in the case where the architecture does not provide rounding instructions. R=titzer@chromium.org, v8-arm-ports@googlegroups.com, v8-ppc-ports@googlegroups.com, v8-mips-ports@googlegroups.com Committed: https://crrev.com/7a693437787090d62d937b862e29521debcc5223 Cr-Commit-Position: refs/heads/master@{#33600} Committed: https://crrev.com/645880373b13a96b812e3e4038c8e4044b2b34ca Cr-Commit-Position: refs/heads/master@{#33606}

Patch Set 1 #

Patch Set 2 : Forgot to initialize frame in testing code. #

Total comments: 6

Patch Set 3 : Added better tests #

Total comments: 1

Patch Set 4 : fix comments. #

Patch Set 5 : Explicitly state the type of test values. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+239 lines, -13 lines) Patch
M src/compiler/arm/code-generator-arm.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M src/compiler/arm64/code-generator-arm64.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M src/compiler/ia32/code-generator-ia32.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M src/compiler/instruction-codes.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler/instruction-scheduler.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/instruction-selector.h View 2 chunks +2 lines, -1 line 0 comments Download
M src/compiler/instruction-selector.cc View 1 2 4 chunks +13 lines, -2 lines 0 comments Download
M src/compiler/machine-operator.h View 2 chunks +3 lines, -0 lines 0 comments Download
M src/compiler/machine-operator.cc View 3 chunks +26 lines, -0 lines 0 comments Download
M src/compiler/mips/code-generator-mips.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M src/compiler/mips64/code-generator-mips64.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M src/compiler/opcodes.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/pipeline.cc View 1 2 3 4 6 chunks +11 lines, -5 lines 0 comments Download
M src/compiler/ppc/code-generator-ppc.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M src/compiler/raw-machine-assembler.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/typer.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/verifier.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/x64/code-generator-x64.cc View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M src/compiler/x87/code-generator-x87.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download
M test/cctest/compiler/codegen-tester.h View 2 chunks +0 lines, -2 lines 0 comments Download
M test/cctest/compiler/test-run-machops.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/cctest/compiler/test-run-native-calls.cc View 1 2 3 4 1 chunk +93 lines, -0 lines 0 comments Download
M test/unittests/compiler/instruction-selector-unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 25 (6 generated)
ahaas
4 years, 11 months ago (2016-01-27 17:16:34 UTC) #1
jbramley
Out of curiosity, why do we need to pass floats by pointer?
4 years, 11 months ago (2016-01-27 17:28:58 UTC) #2
titzer
On 2016/01/27 17:28:58, jbramley wrote: > Out of curiosity, why do we need to pass ...
4 years, 11 months ago (2016-01-27 17:31:26 UTC) #3
jbramley
On 2016/01/27 17:31:26, titzer wrote: > On 2016/01/27 17:28:58, jbramley wrote: > > Out of ...
4 years, 11 months ago (2016-01-27 17:32:54 UTC) #4
ahaas
On 2016/01/27 at 17:32:54, jacob.bramley wrote: > On 2016/01/27 17:31:26, titzer wrote: > > On ...
4 years, 10 months ago (2016-01-28 08:35:21 UTC) #5
titzer
https://codereview.chromium.org/1645653002/diff/20001/src/compiler/instruction-selector.cc File src/compiler/instruction-selector.cc (right): https://codereview.chromium.org/1645653002/diff/20001/src/compiler/instruction-selector.cc#newcode1140 src/compiler/instruction-selector.cc:1140: MachineRepresentation rep = StackSlotRepresentationOf(node->op()); You should probably use ElemSizeLog2Of(MachineRepresentation) ...
4 years, 10 months ago (2016-01-28 09:02:19 UTC) #6
ahaas
https://codereview.chromium.org/1645653002/diff/20001/src/compiler/instruction-selector.cc File src/compiler/instruction-selector.cc (right): https://codereview.chromium.org/1645653002/diff/20001/src/compiler/instruction-selector.cc#newcode1140 src/compiler/instruction-selector.cc:1140: MachineRepresentation rep = StackSlotRepresentationOf(node->op()); On 2016/01/28 at 09:02:18, titzer ...
4 years, 10 months ago (2016-01-28 14:55:44 UTC) #7
titzer
lgtm other than one comment https://codereview.chromium.org/1645653002/diff/40001/src/compiler/instruction-scheduler.cc File src/compiler/instruction-scheduler.cc (right): https://codereview.chromium.org/1645653002/diff/40001/src/compiler/instruction-scheduler.cc#newcode208 src/compiler/instruction-scheduler.cc:208: case kArchStackSlot: Technically this ...
4 years, 10 months ago (2016-01-28 15:17:02 UTC) #8
ahaas
On 2016/01/28 at 15:17:02, titzer wrote: > lgtm other than one comment > > https://codereview.chromium.org/1645653002/diff/40001/src/compiler/instruction-scheduler.cc ...
4 years, 10 months ago (2016-01-29 08:05:47 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1645653002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1645653002/60001
4 years, 10 months ago (2016-01-29 08:06:03 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-01-29 08:07:44 UTC) #13
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/7a693437787090d62d937b862e29521debcc5223 Cr-Commit-Position: refs/heads/master@{#33600}
4 years, 10 months ago (2016-01-29 08:08:33 UTC) #15
ahaas
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1644283002/ by ahaas@chromium.org. ...
4 years, 10 months ago (2016-01-29 08:18:26 UTC) #16
Michael Achenbach
A case of outdated trybots. Just needs a rebase.
4 years, 10 months ago (2016-01-29 08:22:03 UTC) #17
Michael Achenbach
On 2016/01/29 08:22:03, Michael Achenbach wrote: > A case of outdated trybots. Just needs a ...
4 years, 10 months ago (2016-01-29 08:22:45 UTC) #18
Michael Achenbach
On 2016/01/29 08:22:45, Michael Achenbach wrote: > On 2016/01/29 08:22:03, Michael Achenbach wrote: > > ...
4 years, 10 months ago (2016-01-29 08:24:54 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1645653002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1645653002/80001
4 years, 10 months ago (2016-01-29 09:41:19 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 10 months ago (2016-01-29 09:42:58 UTC) #23
commit-bot: I haz the power
4 years, 10 months ago (2016-01-29 09:44:02 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/645880373b13a96b812e3e4038c8e4044b2b34ca
Cr-Commit-Position: refs/heads/master@{#33606}

Powered by Google App Engine
This is Rietveld 408576698