]> granicus.if.org Git - clang/commit
[x86] Fix maskload/store intrinsic definitions in avxintrin.h
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Tue, 20 Oct 2015 11:19:54 +0000 (11:19 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Tue, 20 Oct 2015 11:19:54 +0000 (11:19 +0000)
commit617486165258f102f9c8f6e4b8c7d368dfc77773
treeaf1f98e5066ccac7ba2cdab335b1432805baca7b
parent8a7f6787710fa0fbc06293f51856bac19dfd6b7e
[x86] Fix maskload/store intrinsic definitions in avxintrin.h

According to the Intel documentation, the mask operand of a maskload and
maskstore intrinsics is always a vector of packed integer/long integer values.
This patch introduces the following two changes:
 1. It fixes the avx maskload/store intrinsic definitions in avxintrin.h.
 2. It changes BuiltinsX86.def to match the correct gcc definitions for avx
    maskload/store (see D13861 for more details).

Differential Revision: http://reviews.llvm.org/D13861

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@250816 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/BuiltinsX86.def
lib/Headers/avxintrin.h
test/CodeGen/builtins-x86.c