Comments (3)
The current ecmascript_simd.js uses the 2) method as there is a neg and negu32 method in the SIMD object. The addition and subtraction for uint32x4 could be added by addu32 and subu32.
There is no multiply operation in the Dart UInt32 API. It seems that there is no SIMD multiply machine instruction.
from ecmascript_simd.
For uint32x4 addition and subtraction, an implementation issue is how to deal with overflow. John uses addpl and subpl in the Dart implementation and I did not see overflow handling in the code. We might need to document the expected behavior or the behavior is implementation defined in the proposal.
from ecmascript_simd.
I've added:
SIMD.addu32
SIMD.subu32
SIMD.mulu32
Along with some tests.
from ecmascript_simd.
Related Issues (20)
- Anything compiled via emscripten with SIMD=1 fails in Microsoft Edge HOT 3
- Can this API be provided as a standard module rather than globals? HOT 23
- Polyfill load index only accepts Int32 values, spec accepts 0 - 2^53-1 HOT 13
- Polyfill simdCheckLaneIndex requires Int32 values, spec applies ToNumber first HOT 3
- Support integer mulHigh ? HOT 7
- Clarification of SIMD objects vs values HOT 3
- Why is shift right modulo lane bit width? HOT 3
- Semantics of minNum and maxNum don't match IEEE 754-2008 for signaling NaNs HOT 10
- SIMD.isFast
- Problematic HOT 2
- First high-level library for SIMD
- SIMD uint8x16 to 4 of uint32x4 with transpose? HOT 9
- Link to asm.js version of the spec? (no load3 or store3?)
- Odd spec layout issues HOT 4
- Is this still an active project? HOT 3
- Explicit rounding modes
- Reduce operations
- Poor naming of "splat"
- Consider using variable (scalable) vectors for more portable code that can adjust to width of vector.
- Float16 / bfloat16 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ecmascript_simd.