-
Notifications
You must be signed in to change notification settings - Fork 483
Closed
Description
In the current specification, javascript is restricted from any external function definitions that include a v128 value type
Calling an Exported Function will throw a TypeError, when parameters or results contains a v128.
Moreover, the host test only includes V128 as a global type (not a func type)
VecType V128Type -> Vec (V128 (V128.I32x4.of_lanes [666l; 666l; 666l; 666l]))
It seems like there's an implicit rule that host functions shouldn't use the V128 type, which can make sense as vectorizing via the host feels like it would never be performant. OTOH, there is exposing a global of V128 which is strange without rationale.
Can you please clarify the following?
- Are languages besides javascript supposed to support V128 param or results and why?
- What is the use case for a V128 global?
Metadata
Metadata
Assignees
Labels
No labels