Closed Bug 1176425 Opened 10 years ago Closed 10 years ago

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

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID
Tracking Status
firefox41 --- affected

People

(Reporter: jujjyl, Unassigned)

Details

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.
Summary: SIMD Float64x2.not() is missing. → SIMD Float64x2.not(), .and(), .or() and .xor() are missing.
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
Closed: 10 years ago
Flags: needinfo?(sunfish)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.