This is an archive of the discontinued LLVM Phabricator instance.

[AVX512] Adding VPERMT2B and VPERMI2B Intrinsics
ClosedPublic

Authored by m_zuckerman on Jan 21 2016, 3:20 AM.

Diff Detail

Event Timeline

m_zuckerman retitled this revision from to [AVX512] Adding VPERMT2B and VPERMI2B Intrinsics .
m_zuckerman updated this object.
m_zuckerman added reviewers: AsafBadouh, igorb, delena.
m_zuckerman added a subscriber: llvm-commits.
AsafBadouh added inline comments.Jan 21 2016, 3:42 AM
include/llvm/IR/IntrinsicsX86.td
1425

according to spec the masks should be:
i16 -> _128
i32 -> _256
i64 -> _512
for example:

__m512i _mm512_maskz_permutex2var_epi8 (__mmask64 k, __m512i a, __m512i idx, __m512i b)
m_zuckerman marked an inline comment as done.
AsafBadouh accepted this revision.Jan 21 2016, 5:20 AM
AsafBadouh edited edge metadata.

LGTM

This revision is now accepted and ready to land.Jan 21 2016, 5:20 AM
This revision was automatically updated to reflect the committed changes.