This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Implement SIMD signselect instructions
ClosedPublic

Authored by tlively on Oct 28 2020, 5:50 PM.

Details

Summary

As proposed in https://github.com/WebAssembly/simd/pull/124, using the opcodes
adopted by V8 in
https://chromium-review.googlesource.com/c/v8/v8/+/2486235/2/src/wasm/wasm-opcodes.h.
Uses new builtin functions and a new target intrinsic exclusively to ensure that
the new instructions are only emitted when a user explicitly opts in to using
them since they are still in the prototyping and evaluation phase.

Diff Detail

Event Timeline

tlively created this revision.Oct 28 2020, 5:50 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 28 2020, 5:50 PM
tlively requested review of this revision.Oct 28 2020, 5:50 PM
aheejin accepted this revision.Oct 29 2020, 12:33 AM
This revision is now accepted and ready to land.Oct 29 2020, 12:33 AM
This revision was landed with ongoing or failed builds.Oct 29 2020, 11:06 AM
This revision was automatically updated to reflect the committed changes.