r269610 - [AVX512] Fix an intrinsic that was passing -2 as a mask instead of -1.
Craig Topper via cfe-commits
cfe-commits at lists.llvm.org
Sun May 15 13:09:58 PDT 2016
Author: ctopper
Date: Sun May 15 15:09:58 2016
New Revision: 269610
URL: http://llvm.org/viewvc/llvm-project?rev=269610&view=rev
Log:
[AVX512] Fix an intrinsic that was passing -2 as a mask instead of -1.
Modified:
cfe/trunk/lib/Headers/avx512bwintrin.h
Modified: cfe/trunk/lib/Headers/avx512bwintrin.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/avx512bwintrin.h?rev=269610&r1=269609&r2=269610&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/avx512bwintrin.h (original)
+++ cfe/trunk/lib/Headers/avx512bwintrin.h Sun May 15 15:09:58 2016
@@ -1813,7 +1813,7 @@ _mm512_maskz_sra_epi16 (__mmask32 __U, _
__builtin_ia32_psrawi512_mask ((__v32hi)( __A),( __B),\
(__v32hi)\
_mm512_setzero_hi (),\
- (__mmask32) -2);\
+ (__mmask32) -1);\
})
#define _mm512_mask_srai_epi16( __W, __U, __A, __B) __extension__ ({ \
More information about the cfe-commits
mailing list