]> granicus.if.org Git - llvm/commit
[x86][inline-asm][AVX512][llvm][PART-2]
authorMichael Zuckerman <Michael.zuckerman@intel.com>
Mon, 31 Oct 2016 16:19:58 +0000 (16:19 +0000)
committerMichael Zuckerman <Michael.zuckerman@intel.com>
Mon, 31 Oct 2016 16:19:58 +0000 (16:19 +0000)
commitbff25831e0231f9bab9f5750e844917bf2aece26
tree486b81b7fc8e38cc740735df75f0140722889e38
parent86d93952ed625036fdfb652cc25c41757862d815
[x86][inline-asm][AVX512][llvm][PART-2]
Introducing "k" and "Yk" constraints for extended inline assembly, enabling use of AVX512 masked vectorized instructions.

Commit on behalf of mharoush

Extending inline assembly support, compatible with GCC as folowing:
"k" constraint hints the compiler to select any of AVX512 k0-k7 registers.
"Yk" constraint is a subset of "k" excluding k0 which is not allowd to be used as a mask.

Reviewer: 1. rnk

Differential Revision: https://reviews.llvm.org/D25062

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285591 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp