Skip to content
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.

Intrinsic Header file added to clang compiler for WebAssembly #64

Closed
rrwinterton opened this issue Jan 14, 2019 · 5 comments
Closed

Intrinsic Header file added to clang compiler for WebAssembly #64

rrwinterton opened this issue Jan 14, 2019 · 5 comments

Comments

@rrwinterton
Copy link

We are in the process of creating an header file that would be maintained by the clang compiler tool for WebAssembly to generate intrinsics. This header file will work for the platforms supported the clang compiler targeting WebAssembly. The header fill base implementation will be presented to the working group in the next few weeks. The unit tests for the WebAssembly intrinsics are also being created and are still up for discussion on who will maintain the unit tests. It will be based of the emscripten clang compiler integration is the first thought as more of the users of the SIMD intrinsics will be like to need other functionality like STL. But this should be discussed.

@arunetm
Copy link
Collaborator

arunetm commented Feb 12, 2019

@rrwinterton do we need any followup on this issue?

@gnzlbg
Copy link
Contributor

gnzlbg commented Mar 2, 2019

FYI the Rust standard library added a module to the std lib last summer doing the same. We had a discussion about naming with some people implementing it in LLVM here: rust-lang/stdarch#562 Might be worth it to get on the same page about naming.

@tlively
Copy link
Member

tlively commented Apr 24, 2019

The header and tests are being worked on in an upstream branch of emscripten. You can follow along here: https://github.com/emscripten-core/emscripten/tree/wasm-simd-intrinsics

@tlively
Copy link
Member

tlively commented May 8, 2019

We have a PR! Please review and comment at emscripten-core/emscripten#8559. Once we have decided on a final set of intrinsics, we can update the documentation at WebAssembly/tool-conventions#108 and also get this header into clang for use outside of emscripten.

@dtig
Copy link
Member

dtig commented Jul 31, 2019

The header file has landed thanks to Thomas, so closing this issue.

@dtig dtig closed this as completed Jul 31, 2019
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

5 participants