[wasm interpreter] Support Propagate Arithmetic NaN in wasm interpreter [v8/v8 : main]

1 view
Skip to first unread message

Paolo Severini (Gerrit)

unread,
Nov 19, 2025, 1:00:49 PM11/19/25
to 王忠齐, v8-re...@googlegroups.com, was...@google.com
Attention needed from 王忠齐

Paolo Severini added 4 comments

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Paolo Severini . resolved

Thanks!!! Just a few small comments.

File src/wasm/interpreter/wasm-interpreter.cc
Line 842, Patchset 1 (Latest): if (V8_UNLIKELY(std::isnan(val))) {
Paolo Severini . unresolved

I see that this change fixes many tests with NaNs, which is very good.
However, I have two small concertn:

1. The WebAssembly spec says that "When a WebAssembly instruction performs an operation on floating-point numbers and the result is a NaN (Not-a-Number), the exact bit pattern of the NaN is carried through unchanged, rather than being replaced with a canonical NaN."
The whole binary representation is preserved, not just the fact that the NaN is signaling or quiet. It is still an improvement, though.

2. Even if Clang can optimize this code a lot, we are adding a branch to some floating-point operations. Only to `floor`, `ceil` and `trunc`, so it should not be a huge problem.

Line 1984, Patchset 1 (Latest): ctype volatile rval = static_cast<ctype>(reg); \
Paolo Severini . unresolved

Just to learn more: why these need to be `volatile`?

File test/cctest/cctest.status
Line 597, Patchset 1 (Parent): 'test-run-wasm/RunWasmInterpreter_Float32Add*': [SKIP],
Paolo Severini . unresolved

Can you try to re-enable also the mjsunit test `'wasm/nan-constant'` which is disabled in test/mjsunit/mjsunit.status, line 978?

Open in Gerrit

Related details

Attention is currently required from:
  • 王忠齐
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: I2514e8c95086745239cd053396b20d54a45f99a1
Gerrit-Change-Number: 7168283
Gerrit-PatchSet: 1
Gerrit-Owner: 王忠齐 <wzq225...@gmail.com>
Gerrit-CC: Paolo Severini <paol...@microsoft.com>
Gerrit-Attention: 王忠齐 <wzq225...@gmail.com>
Gerrit-Comment-Date: Wed, 19 Nov 2025 18:00:43 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

王忠齐 (Gerrit)

unread,
Nov 20, 2025, 11:37:33 AM11/20/25
to Paolo Severini, v8-re...@googlegroups.com, was...@google.com
Attention needed from Paolo Severini

王忠齐 added 2 comments

File src/wasm/interpreter/wasm-interpreter.cc
Line 842, Patchset 1 (Latest): if (V8_UNLIKELY(std::isnan(val))) {
Paolo Severini . resolved

I see that this change fixes many tests with NaNs, which is very good.
However, I have two small concertn:

1. The WebAssembly spec says that "When a WebAssembly instruction performs an operation on floating-point numbers and the result is a NaN (Not-a-Number), the exact bit pattern of the NaN is carried through unchanged, rather than being replaced with a canonical NaN."
The whole binary representation is preserved, not just the fact that the NaN is signaling or quiet. It is still an improvement, though.

2. Even if Clang can optimize this code a lot, we are adding a branch to some floating-point operations. Only to `floor`, `ceil` and `trunc`, so it should not be a huge problem.

王忠齐

Thanks for your comments! However I am not replacing the result with a canonical NaN, but a arithmetic NaN. And I didn't see anywhere mentions that the bit pattern of NaN needed to be exact.

In the wasm-spec-test a test case may like this:
~~~
(assert_return (invoke "floor" (f32.const -nan:0x200000)) (f32.const nan:arithmetic))
~~~
The nan:arithmetic test case means that the bit pattern could be in a range with the QuietNanBit = 1.

In the NaN Propagation of wasm3.0 spec at https://webassembly.github.io/spec/core/exec/numerics.html#nan-propagation. It has been mentioned that "the payload is picked non-deterministically among all arithmetic NaNs; that is, its most significant bit is 1 and all others are unspecified.".

Line 1984, Patchset 1 (Latest): ctype volatile rval = static_cast<ctype>(reg); \
Paolo Severini . resolved

Just to learn more: why these need to be `volatile`?

王忠齐

As static_cast was replaced by ReadRegister. The clang was able to change the (lval op rval) to (rval op lval) in release build. When the input of f32add get a +nan and a -nan as operand, the result has been changed from nan to -nan. After the i32.reinterpret_f32 we get a -1 not a 2147483647.

The test case may as follows:
~~~
(module
(func (export "test") (result i32)
(f32.reinterpret_i32 (i32.const 2147483647))
(f32.reinterpret_i32 (i32.const -1))
f32.add
(i32.reinterpret_f32)
)
)
~~~

But nan and -nan is both canonical NaN, these result is both accepted in Wasm3.0. This test adds a restriction on the WASM standard, that the sign of the result needs to be a precise result.

A case in wasm-spec-test as follows:
~~~
(assert_return (invoke "add" (f32.const nan) (f32.const -nan)) (f32.const nan:canonical))
~~~
The result nan:canonical means it can be both nan or -nan in wasm spec.

But v8 think the Wasm spec is pretty relaxed on this test case, so it has been added to cctest. To pass this test case, I simply add a volatile to prevent the swap of the operands. Maybe a inline asm will be better.

Open in Gerrit

Related details

Attention is currently required from:
  • Paolo Severini
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: I2514e8c95086745239cd053396b20d54a45f99a1
Gerrit-Change-Number: 7168283
Gerrit-PatchSet: 1
Gerrit-Owner: 王忠齐 <wzq225...@gmail.com>
Gerrit-CC: Paolo Severini <paol...@microsoft.com>
Gerrit-Attention: Paolo Severini <paol...@microsoft.com>
Gerrit-Comment-Date: Thu, 20 Nov 2025 16:37:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Paolo Severini <paol...@microsoft.com>
unsatisfied_requirement
open
diffy

Paolo Severini (Gerrit)

unread,
Nov 21, 2025, 5:16:38 AM11/21/25
to 王忠齐, v8-re...@googlegroups.com, was...@google.com
Attention needed from 王忠齐

Paolo Severini voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • 王忠齐
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: I2514e8c95086745239cd053396b20d54a45f99a1
Gerrit-Change-Number: 7168283
Gerrit-PatchSet: 1
Gerrit-Owner: 王忠齐 <wzq225...@gmail.com>
Gerrit-Reviewer: Paolo Severini <paol...@microsoft.com>
Gerrit-Attention: 王忠齐 <wzq225...@gmail.com>
Gerrit-Comment-Date: Fri, 21 Nov 2025 10:16:33 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
unsatisfied_requirement
open
diffy

Paolo Severini (Gerrit)

unread,
Nov 21, 2025, 5:16:52 AM11/21/25
to 王忠齐, v8-re...@googlegroups.com, was...@google.com
Attention needed from 王忠齐

Paolo Severini added 1 comment

Patchset-level comments
Paolo Severini . resolved

Thanks for the clarifications!

Open in Gerrit

Related details

Attention is currently required from:
  • 王忠齐
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: I2514e8c95086745239cd053396b20d54a45f99a1
Gerrit-Change-Number: 7168283
Gerrit-PatchSet: 1
Gerrit-Owner: 王忠齐 <wzq225...@gmail.com>
Gerrit-Reviewer: Paolo Severini <paol...@microsoft.com>
Gerrit-Attention: 王忠齐 <wzq225...@gmail.com>
Gerrit-Comment-Date: Fri, 21 Nov 2025 10:16:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy

王忠齐 (Gerrit)

unread,
Nov 21, 2025, 12:04:08 PM11/21/25
to Paolo Severini, v8-re...@googlegroups.com, was...@google.com
Attention needed from Paolo Severini

王忠齐 added 1 comment

File test/cctest/cctest.status
Line 597, Patchset 1 (Parent): 'test-run-wasm/RunWasmInterpreter_Float32Add*': [SKIP],
Paolo Severini . resolved

Can you try to re-enable also the mjsunit test `'wasm/nan-constant'` which is disabled in test/mjsunit/mjsunit.status, line 978?

王忠齐

This test case hasn't been supported so I cann't enable it now.

In this test case, we get the result 0x7fe7a1b9 and the expected one is 0x7fa7a1b9.

When we interpreted and execute call_ref op, we just call into WasmToJSInterpreterWrapper. And then we call WasmFloat32ToNumber builtin to cast the f32 param to a number in JS. This cast like a static_cast in c++, and it changes the f32 from a signaling NaN to a quiet NaN. So we get a wrong result.

I find a issue at https://chromium-review.googlesource.com/c/v8/v8/+/6933682 talking about the same case like this. And I write a test case as follows:
~~~
# js file
const bytes = readbuffer(arguments[0]);
const mod = new WebAssembly.Module(bytes);

function check_f32_bits(val) {
let buffer = new ArrayBuffer(8);
let view = new DataView(buffer);
view.setFloat32(0, val);
let bits = new Uint8Array(buffer);
console.log(bits);
}
const instance = new WebAssembly.Instance(mod, {
import: {
func: check_f32_bits,
},
});
const { test } = instance.exports;

check_f32_bits(test());

~~~

~~~
;; wat file
(module
(func (import "import" "func") (param f32))
(func (export "test") (result f32)
f32.const nan:0x27a1b9
call 0
f32.const nan:0x27a1b9
return
)
)
~~~

In this case, drumbrake, liftoff and turbofan get the same result 0x7fe7a1b9.

But in the case in nan-constant, liftoff and turbofan can pass it. This maybe becauce the CallRef in liftoff and turbofan just a wasm to wasm call, with no WasmToJSWrapper in it. Maybe I can fix it in the next CL.

Open in Gerrit

Related details

Attention is currently required from:
  • Paolo Severini
Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: v8/v8
    Gerrit-Branch: main
    Gerrit-Change-Id: I2514e8c95086745239cd053396b20d54a45f99a1
    Gerrit-Change-Number: 7168283
    Gerrit-PatchSet: 2
    Gerrit-Owner: 王忠齐 <wzq225...@gmail.com>
    Gerrit-Reviewer: Paolo Severini <paol...@microsoft.com>
    Gerrit-Attention: Paolo Severini <paol...@microsoft.com>
    Gerrit-Comment-Date: Fri, 21 Nov 2025 17:03:58 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Paolo Severini <paol...@microsoft.com>
    unsatisfied_requirement
    open
    diffy

    Paolo Severini (Gerrit)

    unread,
    Nov 21, 2025, 12:13:06 PM11/21/25
    to 王忠齐, Clemens Backes, v8-re...@googlegroups.com, was...@google.com
    Attention needed from Clemens Backes and 王忠齐

    Paolo Severini added 1 comment

    File test/cctest/cctest.status
    Paolo Severini

    It is ok to fix it in a later CL :)

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Clemens Backes
    • 王忠齐
    Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: v8/v8
    Gerrit-Branch: main
    Gerrit-Change-Id: I2514e8c95086745239cd053396b20d54a45f99a1
    Gerrit-Change-Number: 7168283
    Gerrit-PatchSet: 2
    Gerrit-Owner: 王忠齐 <wzq225...@gmail.com>
    Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
    Gerrit-Reviewer: Paolo Severini <paol...@microsoft.com>
    Gerrit-Attention: 王忠齐 <wzq225...@gmail.com>
    Gerrit-Attention: Clemens Backes <clem...@chromium.org>
    Gerrit-Comment-Date: Fri, 21 Nov 2025 17:13:01 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Paolo Severini <paol...@microsoft.com>
    Comment-In-Reply-To: 王忠齐 <wzq225...@gmail.com>
    unsatisfied_requirement
    open
    diffy

    Clemens Backes (Gerrit)

    unread,
    Nov 24, 2025, 8:09:00 AM11/24/25
    to 王忠齐, Daniel Lehmann, Paolo Severini, v8-re...@googlegroups.com, was...@google.com
    Attention needed from Daniel Lehmann and 王忠齐

    Clemens Backes voted and added 2 comments

    Votes added by Clemens Backes

    Code-Review+1

    2 comments

    Patchset-level comments
    File-level comment, Patchset 2 (Latest):
    Clemens Backes . resolved

    LGTM with a minor comment about a change in `wasm-interpreter.cc` which we otherwise don't care much about :)

    File src/wasm/interpreter/wasm-interpreter.cc
    Line 2001, Patchset 2 (Latest): ctype volatile rval = ReadRegister<ctype>(reg); \
    Clemens Backes . unresolved

    Is `volatile` here to prevent optimizing `lval op rval` into `rval op lval`? If so, please add a short comment (same below).

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Daniel Lehmann
    • 王忠齐
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: v8/v8
    Gerrit-Branch: main
    Gerrit-Change-Id: I2514e8c95086745239cd053396b20d54a45f99a1
    Gerrit-Change-Number: 7168283
    Gerrit-PatchSet: 2
    Gerrit-Owner: 王忠齐 <wzq225...@gmail.com>
    Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
    Gerrit-Reviewer: Daniel Lehmann <dleh...@chromium.org>
    Gerrit-Reviewer: Paolo Severini <paol...@microsoft.com>
    Gerrit-Attention: Daniel Lehmann <dleh...@chromium.org>
    Gerrit-Attention: 王忠齐 <wzq225...@gmail.com>
    Gerrit-Comment-Date: Mon, 24 Nov 2025 13:08:55 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    王忠齐 (Gerrit)

    unread,
    Nov 24, 2025, 12:09:44 PM11/24/25
    to Clemens Backes, Daniel Lehmann, Paolo Severini, v8-re...@googlegroups.com, was...@google.com
    Attention needed from Clemens Backes and Daniel Lehmann

    王忠齐 added 1 comment

    File src/wasm/interpreter/wasm-interpreter.cc
    Line 2001, Patchset 2: ctype volatile rval = ReadRegister<ctype>(reg); \
    Clemens Backes . resolved

    Is `volatile` here to prevent optimizing `lval op rval` into `rval op lval`? If so, please add a short comment (same below).

    王忠齐

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Clemens Backes
    • Daniel Lehmann
    Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: v8/v8
      Gerrit-Branch: main
      Gerrit-Change-Id: I2514e8c95086745239cd053396b20d54a45f99a1
      Gerrit-Change-Number: 7168283
      Gerrit-PatchSet: 3
      Gerrit-Owner: 王忠齐 <wzq225...@gmail.com>
      Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
      Gerrit-Reviewer: Daniel Lehmann <dleh...@chromium.org>
      Gerrit-Reviewer: Paolo Severini <paol...@microsoft.com>
      Gerrit-Attention: Daniel Lehmann <dleh...@chromium.org>
      Gerrit-Attention: Clemens Backes <clem...@chromium.org>
      Gerrit-Comment-Date: Mon, 24 Nov 2025 17:09:38 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Clemens Backes <clem...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Clemens Backes (Gerrit)

      unread,
      Nov 25, 2025, 4:54:19 AM11/25/25
      to 王忠齐, Daniel Lehmann, Paolo Severini, v8-re...@googlegroups.com, was...@google.com
      Attention needed from Daniel Lehmann and 王忠齐

      Clemens Backes voted and added 1 comment

      Votes added by Clemens Backes

      Code-Review+1

      1 comment

      Patchset-level comments
      File-level comment, Patchset 3 (Latest):
      Clemens Backes . resolved

      Thanks, still LGTM.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Daniel Lehmann
      • 王忠齐
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: v8/v8
      Gerrit-Branch: main
      Gerrit-Change-Id: I2514e8c95086745239cd053396b20d54a45f99a1
      Gerrit-Change-Number: 7168283
      Gerrit-PatchSet: 3
      Gerrit-Owner: 王忠齐 <wzq225...@gmail.com>
      Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
      Gerrit-Reviewer: Daniel Lehmann <dleh...@chromium.org>
      Gerrit-Reviewer: Paolo Severini <paol...@microsoft.com>
      Gerrit-Attention: Daniel Lehmann <dleh...@chromium.org>
      Gerrit-Attention: 王忠齐 <wzq225...@gmail.com>
      Gerrit-Comment-Date: Tue, 25 Nov 2025 09:54:14 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Daniel Lehmann (Gerrit)

      unread,
      Nov 25, 2025, 5:38:54 AM11/25/25
      to 王忠齐, Clemens Backes, Paolo Severini, v8-re...@googlegroups.com, was...@google.com
      Attention needed from 王忠齐

      Daniel Lehmann voted Code-Review+1

      Code-Review+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • 王忠齐
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: v8/v8
      Gerrit-Branch: main
      Gerrit-Change-Id: I2514e8c95086745239cd053396b20d54a45f99a1
      Gerrit-Change-Number: 7168283
      Gerrit-PatchSet: 3
      Gerrit-Owner: 王忠齐 <wzq225...@gmail.com>
      Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
      Gerrit-Reviewer: Daniel Lehmann <dleh...@chromium.org>
      Gerrit-Reviewer: Paolo Severini <paol...@microsoft.com>
      Gerrit-Attention: 王忠齐 <wzq225...@gmail.com>
      Gerrit-Comment-Date: Tue, 25 Nov 2025 10:38:46 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      王忠齐 (Gerrit)

      unread,
      Dec 8, 2025, 9:15:35 AM12/8/25
      to Daniel Lehmann, Clemens Backes, Paolo Severini, v8-re...@googlegroups.com, was...@google.com

      王忠齐 added 1 comment

      Patchset-level comments
      王忠齐 . resolved

      @paol...@microsoft.com This CL is ready to be merge.

      Open in Gerrit

      Related details

      Attention set is empty
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: v8/v8
      Gerrit-Branch: main
      Gerrit-Change-Id: I2514e8c95086745239cd053396b20d54a45f99a1
      Gerrit-Change-Number: 7168283
      Gerrit-PatchSet: 3
      Gerrit-Owner: 王忠齐 <wzq225...@gmail.com>
      Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
      Gerrit-Reviewer: Daniel Lehmann <dleh...@chromium.org>
      Gerrit-Reviewer: Paolo Severini <paol...@microsoft.com>
      Gerrit-Comment-Date: Mon, 08 Dec 2025 14:15:27 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      open
      diffy

      王忠齐 (Gerrit)

      unread,
      Dec 8, 2025, 9:16:53 AM12/8/25
      to Daniel Lehmann, Clemens Backes, Paolo Severini, v8-re...@googlegroups.com, was...@google.com

      王忠齐 added 1 comment

      Patchset-level comments
      王忠齐 . resolved

      @paol...@microsoft.com This CL is ready to be merge.

      王忠齐

      Please help to CQ Dry Run.

      Open in Gerrit

      Related details

      Attention set is empty
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: v8/v8
      Gerrit-Branch: main
      Gerrit-Change-Id: I2514e8c95086745239cd053396b20d54a45f99a1
      Gerrit-Change-Number: 7168283
      Gerrit-PatchSet: 3
      Gerrit-Owner: 王忠齐 <wzq225...@gmail.com>
      Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
      Gerrit-Reviewer: Daniel Lehmann <dleh...@chromium.org>
      Gerrit-Reviewer: Paolo Severini <paol...@microsoft.com>
      Gerrit-Comment-Date: Mon, 08 Dec 2025 14:16:47 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: 王忠齐 <wzq225...@gmail.com>
      satisfied_requirement
      open
      diffy

      Daniel Lehmann (Gerrit)

      unread,
      Dec 8, 2025, 9:57:57 AM12/8/25
      to 王忠齐, V8 LUCI CQ, Clemens Backes, Paolo Severini, v8-re...@googlegroups.com, was...@google.com
      Attention needed from Clemens Backes and 王忠齐

      Daniel Lehmann voted and added 1 comment

      Votes added by Daniel Lehmann

      Code-Review+1

      1 comment

      Patchset-level comments
      File-level comment, Patchset 4 (Latest):
      Daniel Lehmann . resolved

      Still rubber-stamp LGTM.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Clemens Backes
      • 王忠齐
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: v8/v8
      Gerrit-Branch: main
      Gerrit-Change-Id: I2514e8c95086745239cd053396b20d54a45f99a1
      Gerrit-Change-Number: 7168283
      Gerrit-PatchSet: 4
      Gerrit-Owner: 王忠齐 <wzq225...@gmail.com>
      Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
      Gerrit-Reviewer: Daniel Lehmann <dleh...@chromium.org>
      Gerrit-Reviewer: Paolo Severini <paol...@microsoft.com>
      Gerrit-Attention: 王忠齐 <wzq225...@gmail.com>
      Gerrit-Attention: Clemens Backes <clem...@chromium.org>
      Gerrit-Comment-Date: Mon, 08 Dec 2025 14:57:52 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Clemens Backes (Gerrit)

      unread,
      Dec 9, 2025, 7:51:35 AM12/9/25
      to 王忠齐, Daniel Lehmann, V8 LUCI CQ, Paolo Severini, v8-re...@googlegroups.com, was...@google.com
      Attention needed from 王忠齐

      Clemens Backes voted and added 1 comment

      Votes added by Clemens Backes

      Code-Review+1

      1 comment

      Patchset-level comments
      Clemens Backes . resolved

      Let me know if I should click the button to land this.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • 王忠齐
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: v8/v8
      Gerrit-Branch: main
      Gerrit-Change-Id: I2514e8c95086745239cd053396b20d54a45f99a1
      Gerrit-Change-Number: 7168283
      Gerrit-PatchSet: 4
      Gerrit-Owner: 王忠齐 <wzq225...@gmail.com>
      Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
      Gerrit-Reviewer: Daniel Lehmann <dleh...@chromium.org>
      Gerrit-Reviewer: Paolo Severini <paol...@microsoft.com>
      Gerrit-Attention: 王忠齐 <wzq225...@gmail.com>
      Gerrit-Comment-Date: Tue, 09 Dec 2025 12:51:30 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Paolo Severini (Gerrit)

      unread,
      Dec 9, 2025, 8:41:36 AM12/9/25
      to 王忠齐, Clemens Backes, Daniel Lehmann, V8 LUCI CQ, v8-re...@googlegroups.com, was...@google.com
      Attention needed from 王忠齐

      Paolo Severini voted Commit-Queue+2

      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention is currently required from:
      • 王忠齐
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: v8/v8
      Gerrit-Branch: main
      Gerrit-Change-Id: I2514e8c95086745239cd053396b20d54a45f99a1
      Gerrit-Change-Number: 7168283
      Gerrit-PatchSet: 4
      Gerrit-Owner: 王忠齐 <wzq225...@gmail.com>
      Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
      Gerrit-Reviewer: Daniel Lehmann <dleh...@chromium.org>
      Gerrit-Reviewer: Paolo Severini <paol...@microsoft.com>
      Gerrit-Attention: 王忠齐 <wzq225...@gmail.com>
      Gerrit-Comment-Date: Tue, 09 Dec 2025 13:41:33 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      V8 LUCI CQ (Gerrit)

      unread,
      Dec 9, 2025, 8:43:10 AM12/9/25
      to 王忠齐, Paolo Severini, Clemens Backes, Daniel Lehmann, v8-re...@googlegroups.com, was...@google.com

      V8 LUCI CQ submitted the change

      Change information

      Commit message:
      [wasm interpreter] Support Propagate Arithmetic NaN in wasm interpreter

      The arithmetic NaNs has most significant bit is 1 and the others are
      unspecified which is the same as QNaN in x86 and arm64. This is a good
      news that less instructions are needed to change there result to a
      arithmetic NaN.
      Fixed: 435317720
      Change-Id: I2514e8c95086745239cd053396b20d54a45f99a1
      Commit-Queue: Paolo Severini <paol...@microsoft.com>
      Reviewed-by: Daniel Lehmann <dleh...@chromium.org>
      Reviewed-by: Clemens Backes <clem...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#104199}
      Files:
      • M src/wasm/interpreter/wasm-interpreter.cc
      • M test/cctest/cctest.status
      • M test/wasm-spec-tests/wasm-spec-tests.status
      Change size: M
      Delta: 3 files changed, 72 insertions(+), 49 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Daniel Lehmann, +1 by Clemens Backes
      Open in Gerrit
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: merged
      Gerrit-Project: v8/v8
      Gerrit-Branch: main
      Gerrit-Change-Id: I2514e8c95086745239cd053396b20d54a45f99a1
      Gerrit-Change-Number: 7168283
      Gerrit-PatchSet: 5
      Gerrit-Owner: 王忠齐 <wzq225...@gmail.com>
      Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
      Gerrit-Reviewer: Daniel Lehmann <dleh...@chromium.org>
      Gerrit-Reviewer: Paolo Severini <paol...@microsoft.com>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages