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

Issue 1533503002: [turbofan] Fixed the second return value of TryTruncateFloatXXToUint64. (Closed)

Created:
5 years ago by ahaas
Modified:
5 years ago
Reviewers:
v8-arm-ports, bradnelson, jbramley, Michael Starzinger, v8-mips-ports
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] Fixed the second return value of TryTruncateFloatXXToUint64. As required by the spec, the second return value now returns success also for the range between 0 and -1 where the conversion results in 0. R=bradnelson@chromium.org, mstarzinger@chromium.org, v8-arm-ports@googlegroups.com, v8-mips-ports@googlegroups.com Committed: https://crrev.com/0794c3c9b9a05b4fa95df2f7ec68d17e2b012611 Cr-Commit-Position: refs/heads/master@{#32936}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Code cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -38 lines) Patch
M src/compiler/arm64/code-generator-arm64.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M src/compiler/x64/code-generator-x64.cc View 1 2 chunks +0 lines, -16 lines 0 comments Download
M src/mips64/macro-assembler-mips64.cc View 1 2 chunks +6 lines, -6 lines 0 comments Download
M test/cctest/compiler/test-run-machops.cc View 1 4 chunks +7 lines, -10 lines 0 comments Download
M test/cctest/compiler/value-helper.h View 1 4 chunks +4 lines, -0 lines 0 comments Download
M test/cctest/wasm/test-run-wasm.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
ahaas
5 years ago (2015-12-16 12:28:18 UTC) #1
jbramley
Out of curiosity, which specification are you referring to? https://codereview.chromium.org/1533503002/diff/1/src/compiler/arm64/code-generator-arm64.cc File src/compiler/arm64/code-generator-arm64.cc (right): https://codereview.chromium.org/1533503002/diff/1/src/compiler/arm64/code-generator-arm64.cc#newcode1063 src/compiler/arm64/code-generator-arm64.cc:1063: ...
5 years ago (2015-12-16 12:49:37 UTC) #3
Michael Starzinger
LGTM (rubber-stamped "compiler", don't know the details behind the change).
5 years ago (2015-12-16 12:57:21 UTC) #4
ahaas
https://codereview.chromium.org/1533503002/diff/1/src/compiler/arm64/code-generator-arm64.cc File src/compiler/arm64/code-generator-arm64.cc (right): https://codereview.chromium.org/1533503002/diff/1/src/compiler/arm64/code-generator-arm64.cc#newcode1063 src/compiler/arm64/code-generator-arm64.cc:1063: __ Fcmp(i.InputFloat32Register(0), -1.0); On 2015/12/16 at 12:49:37, jbramley wrote: ...
5 years ago (2015-12-16 16:15:25 UTC) #5
jbramley
LGTM (arm64)
5 years ago (2015-12-16 16:19:03 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1533503002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1533503002/20001
5 years ago (2015-12-17 10:23:22 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-17 10:24:41 UTC) #10
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/0794c3c9b9a05b4fa95df2f7ec68d17e2b012611 Cr-Commit-Position: refs/heads/master@{#32936}
5 years ago (2015-12-17 10:25:05 UTC) #12
ahaas
5 years ago (2015-12-21 09:26:41 UTC) #13
Message was sent while issue was closed.
On 2015/12/16 at 12:49:37, jacob.bramley wrote:
> Out of curiosity, which specification are you referring to?
> 
>
https://codereview.chromium.org/1533503002/diff/1/src/compiler/arm64/code-gen...
> File src/compiler/arm64/code-generator-arm64.cc (right):
> 
>
https://codereview.chromium.org/1533503002/diff/1/src/compiler/arm64/code-gen...
> src/compiler/arm64/code-generator-arm64.cc:1063: __
Fcmp(i.InputFloat32Register(0), -1.0);
> Is -1.0 supposed to be inclusive? If not, "ge" needs to be "gt".

Sorry that I reply so late. I am talking about the web-assembly specification
(https://github.com/WebAssembly/spec)

Powered by Google App Engine
This is Rietveld 408576698