Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Add Float64x2.load1 and Float64x2.store1 functions. #316

Open
juj opened this issue Feb 3, 2016 · 1 comment
Open

Add Float64x2.load1 and Float64x2.store1 functions. #316

juj opened this issue Feb 3, 2016 · 1 comment
Milestone

Comments

@juj
Copy link

juj commented Feb 3, 2016

It looks reasonable that the upcoming Float64x2 type should have member functions Float64x2.load1 and Float64x2.store1. Please consider adding these in the spec for phase 2.

@sunfishcode sunfishcode modified the milestone: Float64x2 Feb 3, 2016
juj added a commit to juj/emscripten that referenced this issue Feb 3, 2016
…oat64x2.load1 and Float64x2.store1, which look reasonable to have. See tc39/ecmascript_simd#316.
@littledan
Copy link
Member

We currently only have the load123/store123 functions for x4 types, and don't have them for x8 or x16 either. What is the use case for load1 which can't be accomplished by a simple TypedArray read and SIMD constructor call? I don't understand the difference in efficiency for implementations; IIRC the claimed advantage of load3 was that less bounds checking is needed, which would be hard to prove otherwise.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants