Commit Graph

2 Commits

Author SHA1 Message Date
Michael Zuckerman 57a442ffa3 Fixing problem with CodeGen/avx512-kconstraints-att_inline_asm.c
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285617 91177308-0d34-0410-b5e6-96231b3b80d8
2016-10-31 18:40:17 +00:00
Michael Zuckerman 5d3e0abb41 [x86][inline-asm][AVX512][clang][PART-1] 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/D25063



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285604 91177308-0d34-0410-b5e6-96231b3b80d8
2016-10-31 17:23:52 +00:00