r286738 - [AVX-512] Add returns to shift intrinsics that converted from macros in r286714.
Craig Topper via cfe-commits
cfe-commits at lists.llvm.org
Sat Nov 12 16:35:01 PST 2016
Author: ctopper
Date: Sat Nov 12 18:35:01 2016
New Revision: 286738
URL: http://llvm.org/viewvc/llvm-project?rev=286738&view=rev
Log:
[AVX-512] Add returns to shift intrinsics that converted from macros in r286714.
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=286738&r1=286737&r2=286738&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/avx512bwintrin.h (original)
+++ cfe/trunk/lib/Headers/avx512bwintrin.h Sat Nov 12 18:35:01 2016
@@ -1742,7 +1742,7 @@ _mm512_maskz_sll_epi16(__mmask32 __U, __
static __inline__ __m512i __DEFAULT_FN_ATTRS
_mm512_slli_epi16(__m512i __A, int __B)
{
- (__m512i)__builtin_ia32_psllwi512((__v32hi)__A, __B);
+ return (__m512i)__builtin_ia32_psllwi512((__v32hi)__A, __B);
}
static __inline__ __m512i __DEFAULT_FN_ATTRS
@@ -1915,7 +1915,7 @@ _mm512_maskz_sra_epi16(__mmask32 __U, __
static __inline__ __m512i __DEFAULT_FN_ATTRS
_mm512_srai_epi16(__m512i __A, int __B)
{
- (__m512i)__builtin_ia32_psrawi512((__v32hi)__A, __B);
+ return (__m512i)__builtin_ia32_psrawi512((__v32hi)__A, __B);
}
static __inline__ __m512i __DEFAULT_FN_ATTRS
@@ -1959,7 +1959,7 @@ _mm512_maskz_srl_epi16(__mmask32 __U, __
static __inline__ __m512i __DEFAULT_FN_ATTRS
_mm512_srli_epi16(__m512i __A, int __B)
{
- (__m512i)__builtin_ia32_psrlwi512((__v32hi)__A, __B);
+ return (__m512i)__builtin_ia32_psrlwi512((__v32hi)__A, __B);
}
static __inline__ __m512i __DEFAULT_FN_ATTRS
More information about the cfe-commits
mailing list