This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] SIMD integer min and max instructions
ClosedPublic

Authored by tlively on Oct 31 2019, 5:40 PM.

Details

Summary

Introduces a clang builtins and LLVM intrinsics representing integer
min/max instructions. These instructions have not been merged to the
SIMD spec proposal yet, so they are currently opt-in only via builtins
and not produced by general pattern matching. If these instructions
are accepted into the spec proposal the builtins and intrinsics will
be replaced with normal pattern matching.

Defined in https://github.com/WebAssembly/simd/pull/27.

Diff Detail

Event Timeline

tlively created this revision.Oct 31 2019, 5:40 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 31 2019, 5:40 PM
aheejin accepted this revision.Oct 31 2019, 7:24 PM

Is this https://github.com/WebAssembly/simd/pull/27 ? Can you please include the spec (even if it's still an unmerged PR) in the CL description next time? LGTM.

This revision is now accepted and ready to land.Oct 31 2019, 7:24 PM

Is this https://github.com/WebAssembly/simd/pull/27 ? Can you please include the spec (even if it's still an unmerged PR) in the CL description next time? LGTM.

Yes, that's right. Will do!

tlively edited the summary of this revision. (Show Details)Oct 31 2019, 8:18 PM
This revision was automatically updated to reflect the committed changes.