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

Issue 974313002: [turbofan] Support for %_DoubleHi, %_DoubleLo and %_ConstructDouble. (Closed)

Created:
5 years, 9 months ago by Benedikt Meurer
Modified:
5 years, 9 months ago
Reviewers:
Sven Panne, Jarin, Yang
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Support for %_DoubleHi, %_DoubleLo and %_ConstructDouble. This adds support for the double bits intrinsics to TurboFan, and is a first step towards fast Math functions inlined into TurboFan code or even compiled by themselves with TurboFan. Committed: https://crrev.com/4436c2642a9b7adc9a1b68577ae9ca9a9a404c06 Cr-Commit-Position: refs/heads/master@{#27006}

Patch Set 1 #

Patch Set 2 : REBASE #

Patch Set 3 : arm port. #

Total comments: 8

Patch Set 4 : arm64 port. Yangs comments. #

Patch Set 5 : Addressed Svens comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+973 lines, -17 lines) Patch
M src/compiler/arm/code-generator-arm.cc View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
M src/compiler/arm/instruction-codes-arm.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/arm/instruction-selector-arm.cc View 1 2 3 4 1 chunk +46 lines, -0 lines 0 comments Download
M src/compiler/arm64/code-generator-arm64.cc View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
M src/compiler/arm64/instruction-codes-arm64.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M src/compiler/arm64/instruction-selector-arm64.cc View 1 2 3 4 1 chunk +34 lines, -0 lines 0 comments Download
M src/compiler/ia32/code-generator-ia32.cc View 1 2 2 chunks +25 lines, -2 lines 0 comments Download
M src/compiler/ia32/instruction-codes-ia32.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/ia32/instruction-selector-ia32.cc View 1 2 3 4 1 chunk +37 lines, -0 lines 0 comments Download
M src/compiler/instruction-selector.cc View 1 2 3 4 2 chunks +14 lines, -0 lines 0 comments Download
M src/compiler/js-intrinsic-lowering.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/js-intrinsic-lowering.cc View 1 2 3 4 2 chunks +30 lines, -0 lines 0 comments Download
M src/compiler/machine-operator.h View 1 2 3 4 2 chunks +10 lines, -4 lines 0 comments Download
M src/compiler/machine-operator.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M src/compiler/machine-operator-reducer.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/machine-operator-reducer.cc View 1 2 3 4 2 chunks +30 lines, -0 lines 0 comments Download
M src/compiler/opcodes.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M src/compiler/raw-machine-assembler.h View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
M src/compiler/simplified-lowering.cc View 1 2 3 4 2 chunks +16 lines, -4 lines 0 comments Download
M src/compiler/typer.cc View 1 2 3 4 2 chunks +25 lines, -0 lines 0 comments Download
M src/compiler/verifier.cc View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M src/compiler/x64/code-generator-x64.cc View 1 2 4 chunks +41 lines, -3 lines 0 comments Download
M src/compiler/x64/instruction-codes-x64.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/x64/instruction-selector-x64.cc View 1 2 3 4 1 chunk +37 lines, -0 lines 0 comments Download
M src/ia32/assembler-ia32.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/ia32/assembler-ia32.cc View 1 1 chunk +18 lines, -0 lines 0 comments Download
M src/ia32/disasm-ia32.cc View 1 chunk +14 lines, -0 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 chunk +7 lines, -0 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 chunk +35 lines, -0 lines 0 comments Download
M src/x64/assembler-x64.h View 2 chunks +9 lines, -0 lines 0 comments Download
M src/x64/assembler-x64.cc View 1 3 chunks +69 lines, -0 lines 0 comments Download
M src/x64/disasm-x64.cc View 3 chunks +19 lines, -2 lines 0 comments Download
M src/x64/macro-assembler-x64.h View 1 chunk +5 lines, -0 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 chunk +53 lines, -0 lines 0 comments Download
M test/cctest/compiler/test-run-machops.cc View 1 2 3 4 1 chunk +66 lines, -0 lines 0 comments Download
M test/cctest/test-disasm-ia32.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M test/cctest/test-disasm-x64.cc View 2 chunks +7 lines, -0 lines 0 comments Download
A test/mjsunit/asm/construct-double.js View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
A test/mjsunit/asm/double-hi.js View 1 2 3 1 chunk +40 lines, -0 lines 0 comments Download
A test/mjsunit/asm/double-lo.js View 1 2 3 1 chunk +40 lines, -0 lines 0 comments Download
M test/unittests/compiler/js-intrinsic-lowering-unittest.cc View 1 2 3 4 1 chunk +55 lines, -0 lines 0 comments Download
M test/unittests/compiler/machine-operator-reducer-unittest.cc View 1 2 3 4 1 chunk +40 lines, -0 lines 0 comments Download
M test/unittests/compiler/machine-operator-unittest.cc View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M test/unittests/compiler/node-test-utils.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M test/unittests/compiler/node-test-utils.cc View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
Benedikt Meurer
Yang: PTAL at the intrinsics. Jaro: PTAL at the actual backend/TF stuff. Sven: FYI new ...
5 years, 9 months ago (2015-03-05 07:23:01 UTC) #2
Benedikt Meurer
I'll add the missing arm64 now.
5 years, 9 months ago (2015-03-05 07:23:26 UTC) #3
Yang
Only looked at code generation, which LGTM, and test cases, for which I got comments. ...
5 years, 9 months ago (2015-03-05 07:36:45 UTC) #4
Sven Panne
LGTM with a nit. https://codereview.chromium.org/974313002/diff/40001/src/compiler/machine-operator.h File src/compiler/machine-operator.h (right): https://codereview.chromium.org/974313002/diff/40001/src/compiler/machine-operator.h#newcode181 src/compiler/machine-operator.h:181: const Operator* Float64ExtractWord32(int location); If ...
5 years, 9 months ago (2015-03-05 07:40:12 UTC) #5
Sven Panne
LGTM with a nit. https://codereview.chromium.org/974313002/diff/40001/src/compiler/machine-operator.h File src/compiler/machine-operator.h (right): https://codereview.chromium.org/974313002/diff/40001/src/compiler/machine-operator.h#newcode181 src/compiler/machine-operator.h:181: const Operator* Float64ExtractWord32(int location); If ...
5 years, 9 months ago (2015-03-05 07:40:12 UTC) #6
Jarin
On 2015/03/05 07:23:01, Benedikt Meurer wrote: > Yang: PTAL at the intrinsics. > Jaro: PTAL ...
5 years, 9 months ago (2015-03-05 07:40:46 UTC) #7
Benedikt Meurer
https://codereview.chromium.org/974313002/diff/40001/src/compiler/machine-operator.h File src/compiler/machine-operator.h (right): https://codereview.chromium.org/974313002/diff/40001/src/compiler/machine-operator.h#newcode181 src/compiler/machine-operator.h:181: const Operator* Float64ExtractWord32(int location); Turned into dedicated opcodes instead, ...
5 years, 9 months ago (2015-03-05 08:51:46 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/974313002/80001
5 years, 9 months ago (2015-03-05 08:53:48 UTC) #11
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 9 months ago (2015-03-05 09:22:32 UTC) #12
commit-bot: I haz the power
5 years, 9 months ago (2015-03-05 09:22:50 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4436c2642a9b7adc9a1b68577ae9ca9a9a404c06
Cr-Commit-Position: refs/heads/master@{#27006}

Powered by Google App Engine
This is Rietveld 408576698