SIMD Float64x2.not(), .and(), .or() and .xor() are missing.

RESOLVED INVALID

Status

()

RESOLVED INVALID
3 years ago
3 years ago

People

(Reporter: jujjyl, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(firefox41 affected)

Details

(Reporter)

Description

3 years ago
I see that float32x4 and intXXxYY each have the .not() member, but float64x2 doesn't. Looking at the spec, I understand float64x2 should have that as well: http://littledan.github.io/simd.html#simd-not . As a workaround, I can cast the bits to int32x4, not there, and cast back, although it would be convenient to have directly.
(Reporter)

Updated

3 years ago
Summary: SIMD Float64x2.not() is missing. → SIMD Float64x2.not(), .and(), .or() and .xor() are missing.
(Reporter)

Comment 1

3 years ago
Looking closer, also the functions and, or and xor seem to be missing.
The current plan is to remove the operators from Float32x4:

https://github.com/johnmccutchan/ecmascript_simd/issues/177

Bitcasting to Int32x4 and back is less convenient, but it's not expected to be something people need to do a lot.
Flags: needinfo?(benj)
Flags: needinfo?(benj)
Should we close as invalid, then?
Flags: needinfo?(sunfish)
Yep.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Flags: needinfo?(sunfish)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.