Closed Bug 1060441 Opened 11 years ago Closed 10 years ago

Odinmonkey - SIMD: add support for Float32x4Array and Int32x4Array

Categories

(Core :: JavaScript Engine: JIT, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: bbouvier, Unassigned)

References

Details

function f(glob, ffi, heap) { "use asm"; var f4 = glob.SIMD.float32x4; var view = new glob.Float32x4Array(heap); // or glob.SIMD.Float32x4Array? function g() { var i = 0; return f4(view[i >> 4]); } }
In an (well, my) ideal world you would do this on top of the patches for bug 1054841. If I'm efficient I may be able to line those up for landing this week, and then you wouldn't have to worry about it.
As in bug 1060438, I would recommend nobody to work on this, as the spec is really not stable at this point and typeX4Arrays might even disappear in the future.
No longer blocks: 1060435
Is this WONTFIX now?
(In reply to Luke Wagner [:luke] from comment #3) > Is this WONTFIX now? Good question. The spec polyfill has Float32x4Array and Int32x4Array, but no Float64x2Array, no Int8x16Array and no Int16x8Array as well. Dan, has it been discussed recently during the face-to-face meetings? If not, should it? :)
Flags: needinfo?(sunfish)
Opened an issue on the github repo as well: https://github.com/johnmccutchan/ecmascript_simd/issues/113
I guess I was mostly asking about the integration of (Int|Float)32x4Array into Odin; I was thinking we were fine with .load/store.
Ha right, I read too fast and didn't see the explicit reference to Odin. Agreed we're fine with .load/store here, which is way more powerful. Moving the discussion to bug 1060438.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(sunfish)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.