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

Issue 2066483008: MIPS: Followup '[turbofan] Introduce new operators Float32SubPreserveNan and Float64SubPreserveNan'. (Closed)

Created:
4 years, 6 months ago by balazs.kilvady
Modified:
4 years, 6 months ago
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

MIPS: Followup '[turbofan] Introduce new operators Float32SubPreserveNan and Float64SubPreserveNan'. Port 481502dad9b45a38c86387d50cebe52f00b072ad Float32SubMinusZero and Float64SubMinusZero tests are failing because MIPS does not preserve NaN payload according to Wasm spec. Implemented macro-assembler methods that check for NaN operands, and return the qNaN value with preserved payload and sign bits. TEST=cctest/test-run-wasm/Run_WasmFloat32SubMinusZero, cctest/test-run-wasm/Run_WasmFloat64SubMinusZero BUG= patch from issue 2019693002 at patchset 140001 (http://crrev.com/2019693002#ps140001) R=ahaas@chromium.org Committed: https://crrev.com/eff959bb5593668a82dfb5c04c464ddcb8a3315c Cr-Commit-Position: refs/heads/master@{#37105}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Revert changes in wasm-interpreter.cc. #

Patch Set 3 : Remove 'make quiet' blocks. #

Total comments: 2

Patch Set 4 : Add sign handling. #

Patch Set 5 : Unrevert wasm-interpreter.cc changes. #

Patch Set 6 : Rebase. #

Patch Set 7 : Comment the iterpreter. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+254 lines, -9 lines) Patch
M src/compiler/mips/code-generator-mips.cc View 1 2 3 4 5 2 chunks +10 lines, -0 lines 0 comments Download
M src/compiler/mips/instruction-codes-mips.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/compiler/mips/instruction-selector-mips.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/compiler/mips64/code-generator-mips64.cc View 1 2 3 4 5 2 chunks +10 lines, -0 lines 0 comments Download
M src/compiler/mips64/instruction-codes-mips64.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/compiler/mips64/instruction-selector-mips64.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/mips/macro-assembler-mips.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/mips/macro-assembler-mips.cc View 1 2 3 2 chunks +82 lines, -0 lines 0 comments Download
M src/mips64/macro-assembler-mips64.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/mips64/macro-assembler-mips64.cc View 1 2 3 2 chunks +80 lines, -0 lines 0 comments Download
M src/wasm/wasm-interpreter.cc View 1 2 3 4 5 6 5 chunks +24 lines, -2 lines 0 comments Download
M test/cctest/wasm/test-run-wasm.cc View 1 2 3 4 5 1 chunk +28 lines, -3 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 36 (12 generated)
balazs.kilvady
We need an lgtm from a v8-team member for est/cctest/wasm/test-run-wasm.cc, PTAL.
4 years, 6 months ago (2016-06-15 18:25:12 UTC) #3
ahaas
On 2016/06/15 at 18:25:12, balazs.kilvady wrote: > We need an lgtm from a v8-team member ...
4 years, 6 months ago (2016-06-15 19:08:44 UTC) #4
balazs.kilvady
After applying the nan patch for qemu it seems we don't need the 'make quiet' ...
4 years, 6 months ago (2016-06-16 10:39:55 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2066483008/40001
4 years, 6 months ago (2016-06-16 10:40:33 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-16 11:09:57 UTC) #9
Marija Antic
https://codereview.chromium.org/2066483008/diff/40001/src/mips/macro-assembler-mips.cc File src/mips/macro-assembler-mips.cc (right): https://codereview.chromium.org/2066483008/diff/40001/src/mips/macro-assembler-mips.cc#newcode4754 src/mips/macro-assembler-mips.cc:4754: And(scratch2, scratch2, Operand(kSingleNaNMask)); This will set the sign bit ...
4 years, 6 months ago (2016-06-16 11:25:27 UTC) #10
balazs.kilvady
https://codereview.chromium.org/2066483008/diff/40001/src/mips/macro-assembler-mips.cc File src/mips/macro-assembler-mips.cc (right): https://codereview.chromium.org/2066483008/diff/40001/src/mips/macro-assembler-mips.cc#newcode4754 src/mips/macro-assembler-mips.cc:4754: And(scratch2, scratch2, Operand(kSingleNaNMask)); On 2016/06/16 11:25:26, Marija Antic wrote: ...
4 years, 6 months ago (2016-06-16 12:00:03 UTC) #11
Marija Antic
On 2016/06/16 12:00:03, balazs.kilvady wrote: > https://codereview.chromium.org/2066483008/diff/40001/src/mips/macro-assembler-mips.cc > File src/mips/macro-assembler-mips.cc (right): > > https://codereview.chromium.org/2066483008/diff/40001/src/mips/macro-assembler-mips.cc#newcode4754 > ...
4 years, 6 months ago (2016-06-16 12:21:23 UTC) #12
balazs.kilvady
On 2016/06/16 12:21:23, Marija Antic wrote: > On 2016/06/16 12:00:03, balazs.kilvady wrote: > > > ...
4 years, 6 months ago (2016-06-16 12:57:44 UTC) #13
ahaas
On 2016/06/16 at 12:57:44, balazs.kilvady wrote: > On 2016/06/16 12:21:23, Marija Antic wrote: > > ...
4 years, 6 months ago (2016-06-16 13:41:54 UTC) #14
balazs.kilvady
On 2016/06/16 13:41:54, ahaas wrote: > On 2016/06/16 at 12:57:44, balazs.kilvady wrote: > > On ...
4 years, 6 months ago (2016-06-16 15:20:32 UTC) #15
ahaas
On 2016/06/16 at 13:41:54, ahaas wrote: > On 2016/06/16 at 12:57:44, balazs.kilvady wrote: > > ...
4 years, 6 months ago (2016-06-16 16:18:34 UTC) #16
balazs.kilvady
On 2016/06/16 16:18:34, ahaas wrote: > On 2016/06/16 at 13:41:54, ahaas wrote: > > On ...
4 years, 6 months ago (2016-06-16 18:10:57 UTC) #17
Marija Antic
https://codereview.chromium.org/2066483008/diff/1/src/wasm/wasm-interpreter.cc File src/wasm/wasm-interpreter.cc (left): https://codereview.chromium.org/2066483008/diff/1/src/wasm/wasm-interpreter.cc#oldcode63 src/wasm/wasm-interpreter.cc:63: V(F32Sub, float, -) \ Have you run the interpreter ...
4 years, 6 months ago (2016-06-17 08:09:08 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2066483008/100001
4 years, 6 months ago (2016-06-19 11:53:33 UTC) #20
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-19 12:18:11 UTC) #22
balazs.kilvady
Andreas, please take an other look to wasm codes. I added your change to both ...
4 years, 6 months ago (2016-06-19 12:53:17 UTC) #23
ahaas
On 2016/06/19 at 12:53:17, balazs.kilvady wrote: > Andreas, please take an other look to wasm ...
4 years, 6 months ago (2016-06-20 09:17:02 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2066483008/120001
4 years, 6 months ago (2016-06-20 12:55:14 UTC) #26
balazs.kilvady
On 2016/06/20 09:17:02, ahaas wrote: > On 2016/06/19 at 12:53:17, balazs.kilvady wrote: > > Andreas, ...
4 years, 6 months ago (2016-06-20 12:56:00 UTC) #27
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-20 13:24:28 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2066483008/120001
4 years, 6 months ago (2016-06-20 13:26:26 UTC) #32
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 6 months ago (2016-06-20 13:28:28 UTC) #34
commit-bot: I haz the power
4 years, 6 months ago (2016-06-20 13:29:01 UTC) #36
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/eff959bb5593668a82dfb5c04c464ddcb8a3315c
Cr-Commit-Position: refs/heads/master@{#37105}

Powered by Google App Engine
This is Rietveld 408576698