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

Issue 1438013003: [turbofan] Implemented the RoundUint64ToFloat32 TurboFan operator for x64, arm64, (Closed)

Created:
5 years, 1 month ago by ahaas
Modified:
5 years, 1 month ago
Reviewers:
MTBrandyberry, titzer, v8-ppc-ports
CC:
v8-mips-ports_googlegroups.com, 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

Implemented the RoundUint64ToFloat32 TurboFan operator for x64, arm64, and ppc64. R=titzer@chromium.org Committed: https://crrev.com/2f7d6b46d07c91c86fc48a13c5495c60dbbd9ee6 Cr-Commit-Position: refs/heads/master@{#32031}

Patch Set 1 #

Patch Set 2 : Fixed a rounding error. #

Patch Set 3 : Fixed the test to make it platform independent. #

Total comments: 8

Patch Set 4 : Added MIPS64 code, and added the new PPC64 instruction to disasm-ppc.cc #

Patch Set 5 : Adjusted the PPC simulator according to https://codereview.chromium.org/1445603002 #

Patch Set 6 : Reformated the test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+247 lines, -2 lines) Patch
M src/compiler/arm64/code-generator-arm64.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/arm64/instruction-codes-arm64.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/arm64/instruction-selector-arm64.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/instruction-selector.cc View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M src/compiler/machine-operator.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/machine-operator.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/mips64/code-generator-mips64.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M src/compiler/mips64/instruction-codes-mips64.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/mips64/instruction-selector-mips64.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/opcodes.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/ppc/code-generator-ppc.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/ppc/instruction-codes-ppc.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/ppc/instruction-selector-ppc.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/raw-machine-assembler.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/typer.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/verifier.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/x64/code-generator-x64.cc View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M src/compiler/x64/instruction-codes-x64.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/x64/instruction-selector-x64.cc View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
M src/mips64/macro-assembler-mips64.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M src/mips64/macro-assembler-mips64.cc View 1 2 3 4 5 1 chunk +35 lines, -0 lines 0 comments Download
M src/ppc/assembler-ppc.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/ppc/assembler-ppc.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M src/ppc/disasm-ppc.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M src/ppc/macro-assembler-ppc.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/ppc/macro-assembler-ppc.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M src/ppc/simulator-ppc.cc View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M src/x64/macro-assembler-x64.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 2 3 2 chunks +19 lines, -1 line 0 comments Download
M test/cctest/compiler/test-run-machops.cc View 1 2 3 4 5 1 chunk +90 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (6 generated)
ahaas
5 years, 1 month ago (2015-11-12 11:49:11 UTC) #1
titzer
Looks mostly good other than small comments https://codereview.chromium.org/1438013003/diff/40001/src/ppc/macro-assembler-ppc.h File src/ppc/macro-assembler-ppc.h (right): https://codereview.chromium.org/1438013003/diff/40001/src/ppc/macro-assembler-ppc.h#newcode393 src/ppc/macro-assembler-ppc.h:393: void ConvertUnsignedInt64ToDouble(Register ...
5 years, 1 month ago (2015-11-12 19:06:01 UTC) #3
ahaas
https://codereview.chromium.org/1438013003/diff/40001/src/ppc/macro-assembler-ppc.h File src/ppc/macro-assembler-ppc.h (right): https://codereview.chromium.org/1438013003/diff/40001/src/ppc/macro-assembler-ppc.h#newcode393 src/ppc/macro-assembler-ppc.h:393: void ConvertUnsignedInt64ToDouble(Register src, DoubleRegister double_dst); On 2015/11/12 at 19:06:00, ...
5 years, 1 month ago (2015-11-12 20:49:18 UTC) #4
MTBrandyberry
https://codereview.chromium.org/1438013003/diff/40001/src/ppc/simulator-ppc.cc File src/ppc/simulator-ppc.cc (right): https://codereview.chromium.org/1438013003/diff/40001/src/ppc/simulator-ppc.cc#newcode2715 src/ppc/simulator-ppc.cc:2715: double t_val = get_double_from_d_register(frb); On 2015/11/12 20:49:18, ahaas wrote: ...
5 years, 1 month ago (2015-11-12 23:00:10 UTC) #6
MTBrandyberry
On 2015/11/12 23:00:10, mtbrandyberry wrote: > https://codereview.chromium.org/1438013003/diff/40001/src/ppc/simulator-ppc.cc > File src/ppc/simulator-ppc.cc (right): > > https://codereview.chromium.org/1438013003/diff/40001/src/ppc/simulator-ppc.cc#newcode2715 > ...
5 years, 1 month ago (2015-11-12 23:13:12 UTC) #7
ahaas
On 2015/11/12 at 23:13:12, mbrandy wrote: > On 2015/11/12 23:00:10, mtbrandyberry wrote: > > https://codereview.chromium.org/1438013003/diff/40001/src/ppc/simulator-ppc.cc ...
5 years, 1 month ago (2015-11-13 09:09:31 UTC) #8
ahaas
5 years, 1 month ago (2015-11-13 09:09:48 UTC) #9
MTBrandyberry
On 2015/11/13 09:09:48, ahaas wrote: LGTM for PPC
5 years, 1 month ago (2015-11-13 14:53:14 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1438013003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1438013003/60001
5 years, 1 month ago (2015-11-13 14:54:56 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/7714)
5 years, 1 month ago (2015-11-13 14:57:12 UTC) #14
MTBrandyberry
https://codereview.chromium.org/1438013003/diff/40001/src/ppc/simulator-ppc.cc File src/ppc/simulator-ppc.cc (right): https://codereview.chromium.org/1438013003/diff/40001/src/ppc/simulator-ppc.cc#newcode2715 src/ppc/simulator-ppc.cc:2715: double t_val = get_double_from_d_register(frb); On 2015/11/12 23:00:10, mtbrandyberry wrote: ...
5 years, 1 month ago (2015-11-13 18:40:38 UTC) #15
ahaas
On 2015/11/13 at 18:40:38, mbrandy wrote: > https://codereview.chromium.org/1438013003/diff/40001/src/ppc/simulator-ppc.cc > File src/ppc/simulator-ppc.cc (right): > > https://codereview.chromium.org/1438013003/diff/40001/src/ppc/simulator-ppc.cc#newcode2715 ...
5 years, 1 month ago (2015-11-16 08:43:14 UTC) #16
MTBrandyberry
lgtm
5 years, 1 month ago (2015-11-16 14:37:38 UTC) #17
titzer
On 2015/11/16 14:37:38, mtbrandyberry wrote: > lgtm lgtm
5 years, 1 month ago (2015-11-17 08:47:51 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1438013003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1438013003/100001
5 years, 1 month ago (2015-11-17 11:42:30 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 1 month ago (2015-11-17 11:51:32 UTC) #22
commit-bot: I haz the power
5 years, 1 month ago (2015-11-17 11:52:17 UTC) #23
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/2f7d6b46d07c91c86fc48a13c5495c60dbbd9ee6
Cr-Commit-Position: refs/heads/master@{#32031}

Powered by Google App Engine
This is Rietveld 408576698