bnjbvr opened PR #1578 from aarch64-float-to-int-conversions
to master
:
These are inherited from wasm semantics:
- if the input is a NaN, early trap
- if the input is out of bounds, trap
- truncating has towards-0 semantics, e.g. all the values in ]-1, 0] are possible inputs for unsigned truncate.
This makes Spidermonkey pass one more test entirely.
@cfallin PTAL!
bnjbvr requested cfallin for a review on PR #1578.
cfallin submitted PR Review.
cfallin created PR Review Comment:
Perhaps I'm missing a subtle reason here -- but shouldn't the unsigned-case lower bound be
0.0
? Otherwise the>=
check will allow e.g.-0.9
.Ah -- does this have to do with the truncation rounding mode? A clarification comment would help if so!
cfallin submitted PR Review.
bnjbvr submitted PR Review.
bnjbvr created PR Review Comment:
Yes, the "truncate towards zero" was meant to explain it, it might be a bit terse, so I'll reword it.
bnjbvr updated PR #1578 from aarch64-float-to-int-conversions
to master
:
These are inherited from wasm semantics:
- if the input is a NaN, early trap
- if the input is out of bounds, trap
- truncating has towards-0 semantics, e.g. all the values in ]-1, 0] are possible inputs for unsigned truncate.
This makes Spidermonkey pass one more test entirely.
@cfallin PTAL!
bnjbvr updated PR #1578 from aarch64-float-to-int-conversions
to master
:
These are inherited from wasm semantics:
- if the input is a NaN, early trap
- if the input is out of bounds, trap
- truncating has towards-0 semantics, e.g. all the values in ]-1, 0] are possible inputs for unsigned truncate.
This makes Spidermonkey pass one more test entirely.
@cfallin PTAL!
bnjbvr updated PR #1578 from aarch64-float-to-int-conversions
to master
:
These are inherited from wasm semantics:
- if the input is a NaN, early trap
- if the input is out of bounds, trap
- truncating has towards-0 semantics, e.g. all the values in ]-1, 0] are possible inputs for unsigned truncate.
This makes Spidermonkey pass one more test entirely.
@cfallin PTAL!
bnjbvr updated PR #1578 from aarch64-float-to-int-conversions
to master
:
These are inherited from wasm semantics:
- if the input is a NaN, early trap
- if the input is out of bounds, trap
- truncating has towards-0 semantics, e.g. all the values in ]-1, 0] are possible inputs for unsigned truncate.
This makes Spidermonkey pass one more test entirely.
@cfallin PTAL!
bnjbvr updated PR #1578 from aarch64-float-to-int-conversions
to master
:
These are inherited from wasm semantics:
- if the input is a NaN, early trap
- if the input is out of bounds, trap
- truncating has towards-0 semantics, e.g. all the values in ]-1, 0] are possible inputs for unsigned truncate.
This makes Spidermonkey pass one more test entirely.
@cfallin PTAL!
bjorn3 submitted PR Review.
bjorn3 created PR Review Comment:
self.block_state.stack = stack;
bjorn3 submitted PR Review.
bjorn3 created PR Review Comment:
let session.op_offset_map = op_offset_map;
bnjbvr merged PR #1578.
Last updated: Nov 22 2024 at 16:03 UTC