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

Issue 1503173002: MIPS64: [turbofan] Changed TruncateFloat64ToInt64 to TryTruncateFloat64ToInt64 (Closed)

Created:
5 years ago by ivica.bogosavljevic
Modified:
5 years ago
Reviewers:
ilija.pavlovic, djordje.pesic, balazs.kilvady, ahaas, akos.palfi.imgtec, paul.l...
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

MIPS64: [turbofan] Changed TruncateFloat64ToInt64 to TryTruncateFloat64ToInt64 Port 95844d94f3336489403c7f2d70c6ea01a0cf3002 Original commit message: The new operator provides a second output which indicates whether the conversion from float64 to int64 was successful or not. The second output returns 0 if the conversion fails. If the conversion succeeds, then the second output is differs from 0. The second output can be ignored, which means that the operator can be used the same way as the original operator. I implemented the new operator on x64 and arm64. @v8-mips-ports and @v8-ppc-ports, can you please take care of the mips64 and ppc64 implementation of the second output? BUG= TEST=cctest/test-run-machops/RunTryTruncateFloat64ToInt64WithCheck Committed: https://crrev.com/80f2a6390cca5fe4b2b2f97cf106b61126d9f741 Cr-Commit-Position: refs/heads/master@{#32664}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -5 lines) Patch
M src/compiler/mips64/code-generator-mips64.cc View 1 chunk +22 lines, -1 line 0 comments Download
M src/compiler/mips64/instruction-selector-mips64.cc View 1 chunk +11 lines, -4 lines 1 comment Download

Messages

Total messages: 26 (12 generated)
ivica.bogosavljevic
5 years ago (2015-12-07 18:18:40 UTC) #2
balazs.kilvady
Have you run tests? Please add ahaas to the reviewers. And please edit the description ...
5 years ago (2015-12-07 19:08:37 UTC) #3
ivica.bogosavljevic
On 2015/12/07 19:08:37, balazs.kilvady wrote: > Have you run tests? > Please add ahaas to ...
5 years ago (2015-12-07 19:11:49 UTC) #4
balazs.kilvady
lgtm with nits: Please add ahaas to the reviewers. And please edit the description as ...
5 years ago (2015-12-07 19:24:29 UTC) #8
balazs.kilvady
On 2015/12/07 19:24:29, balazs.kilvady wrote: lgtm with nits: Please add ahaas to the reviewers. And ...
5 years ago (2015-12-07 19:35:59 UTC) #9
paul.l...
Correction, since 'ahass' CL has landed, we must put the commit ID in the 'Port' ...
5 years ago (2015-12-07 19:37:19 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1503173002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1503173002/1
5 years ago (2015-12-07 19:52:22 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-07 20:27:08 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1503173002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1503173002/1
5 years ago (2015-12-07 20:28:44 UTC) #19
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-12-07 20:29:57 UTC) #21
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/80f2a6390cca5fe4b2b2f97cf106b61126d9f741 Cr-Commit-Position: refs/heads/master@{#32664}
5 years ago (2015-12-07 20:30:51 UTC) #23
ahaas
https://codereview.chromium.org/1503173002/diff/1/src/compiler/mips64/instruction-selector-mips64.cc File src/compiler/mips64/instruction-selector-mips64.cc (right): https://codereview.chromium.org/1503173002/diff/1/src/compiler/mips64/instruction-selector-mips64.cc#newcode1498 src/compiler/mips64/instruction-selector-mips64.cc:1498: switch (node->opcode()) { Should kTryTruncateFloat64ToInt64 be handled in this ...
5 years ago (2015-12-08 14:27:42 UTC) #24
akos.palfi.imgtec
On 2015/12/08 14:27:42, ahaas wrote: > https://codereview.chromium.org/1503173002/diff/1/src/compiler/mips64/instruction-selector-mips64.cc > File src/compiler/mips64/instruction-selector-mips64.cc (right): > > https://codereview.chromium.org/1503173002/diff/1/src/compiler/mips64/instruction-selector-mips64.cc#newcode1498 > ...
5 years ago (2015-12-08 21:04:19 UTC) #25
ahaas
5 years ago (2015-12-09 08:14:31 UTC) #26
Message was sent while issue was closed.
On 2015/12/08 at 21:04:19, akos.palfi wrote:
> On 2015/12/08 14:27:42, ahaas wrote:
> >
https://codereview.chromium.org/1503173002/diff/1/src/compiler/mips64/instruc...
> > File src/compiler/mips64/instruction-selector-mips64.cc (right):
> > 
> >
https://codereview.chromium.org/1503173002/diff/1/src/compiler/mips64/instruc...
> > src/compiler/mips64/instruction-selector-mips64.cc:1498: switch
(node->opcode())
> > {
> > Should kTryTruncateFloat64ToInt64 be handled in this switch?
> 
> We follow the arm64 port, but this change is not included in the arm64 port,
however it's in the x64. Is it required to be different on arm64 and x64 or it's
just a typo? If it's intentionally different, could you please explain why?

It was just a typo. The code is part of an optimization which I misunderstood. I
will remove the code from the x64 implementation.

Powered by Google App Engine
This is Rietveld 408576698