]> granicus.if.org Git - clang/commit
_mm_extract_epi16: use "& 7" when index is out of bound.
authorManman Ren <manman.ren@gmail.com>
Tue, 22 Oct 2013 19:24:42 +0000 (19:24 +0000)
committerManman Ren <manman.ren@gmail.com>
Tue, 22 Oct 2013 19:24:42 +0000 (19:24 +0000)
commitbb6144beedc7cbf8df9822024c20c3a8172682c1
treeaf59970461c3e17c888515649efa4676346f7864
parente233eea67cc5fa62d890d0eea910b56bbc5d2723
_mm_extract_epi16: use "& 7" when index is out of bound.

This is in line with implementation of _mm_extract_pi16.
rdar://15250497

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193187 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Headers/emmintrin.h
test/CodeGen/sse-builtins.c