Design: Create SIMD repo to discuss SIMD proposal?

Created on 7 Apr 2017  Â·  9Comments  Â·  Source: WebAssembly/design

People are interested in discussing what SIMD in wasm would look like, starting from the current portable-SIMD proposal. I propose creating a new github.com/webassembly/simd repo that is a fork of the spec repo which can host SIMD-scoped discussions (similar to what is being proposed for GC). Initial discussion would probably be around .md files in a new /proposals/simd subdir and could later progress to modifications to the spec text and interpreter. Make sense?

Most helpful comment

I've updated the WebAssembly mapping in the portable SIMD repo to use a single v128 type plus the boolean vectors. This eliminates all of the reinterpret operations.

All 9 comments

I do like the format in the design repo. Tables are easy to read :)

Thanks @lukewagner. Is there a plan/need to migrate these new proposals to the main Wasm/Design repo once they mature with implementations?
It is useful for implementations to have toolchain support (like wabt) for these features even before spec/interpreter can be updated. I think it makes sense to have these reside in private forks until the feature gets added to the spec/interpreter. Any thoughts?

Tools like wabt can just support "extensions" IMO, without needing forks.

A number of folks have asked about adding extensions to wabt. I agree that it would be good to support extensions w/out forks, but I'd like to make sure we can do it in a way that doesn't make it difficult to maintain.

@arunetm Yes, I think the idea of these feature repos is that they culminate with their branch being merged into the main spec repo and the feature repo either being retired/archived or moved on to a new "v.2" branch of the feature.

I've updated the WebAssembly mapping in the portable SIMD repo to use a single v128 type plus the boolean vectors. This eliminates all of the reinterpret operations.

Please let me know ... where best to post this issue.

Please consider - '...A new data type called a "posit" is designed for direct drop-in replacement for IEEE Standard 754 floats ...' From Dr. John L. Gustafson's intro:
John Gustafson presents: Beyond Floating Point – Next Generation Computer Arithmetic

Google Groups thread -
POSIT (Unums "type 3") talk with live demonstration @ Stanford. February 1st 2017

"_A new data type called a "posit"_ is designed for direct drop-in replacement for IEEE Standard 754 floats. Unlike unum arithmetic, posits do not require interval-type mathematics or variable size operands, and they round if an answer is inexact, much the way floats do. However, they provide compelling advantages over floats, including simpler hardware implementation that scales from as few as two-bit operands to thousands of bits. For any bit width, they have a larger dynamic range, higher accuracy, better closure under arithmetic operations, and simpler exception-handling. For example, posits never overflow to infinity or underflow to zero, and there is no "Not-a-Number" (NaN) value. Posits should take up less space to implement in silicon than an IEEE float of the same size. With fewer gate delays per operation as well as lower silicon footprint, the posit operations per second (POPS) supported by a chip can be significantly higher than the FLOPs using similar hardware resources. GPU accelerators, in particular, could _do more arithmetic per watt_ and per dollar yet deliver superior answer quality."

Thanks @lukewagner for all you and the WA community do. I love WebAssembly ... it enables magic like webDSP WebAssembly Video Editor!
I'd like to see webDSP 'posit arithmetic' enabled and similar, any IEEE 754, and, SIMD WebAssembly projects too.

I created github.com/webassembly/simd, so closing out this issue.

@Art This issue is scoped pretty narrowly to just the administrative task of creating a repo in which to discuss SIMD, so probably better to create a new issue for posits.

Actually closing this issue. :-)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thysultan picture thysultan  Â·  4Comments

aaabbbcccddd00001111 picture aaabbbcccddd00001111  Â·  3Comments

jfbastien picture jfbastien  Â·  6Comments

mfateev picture mfateev  Â·  5Comments

JimmyVV picture JimmyVV  Â·  4Comments