r227675 - [X86] Make order consistent between 'const' and 'int' in one of the intrinsic header files. NFC
Craig Topper
craig.topper at gmail.com
Fri Jan 30 22:31:30 PST 2015
Author: ctopper
Date: Sat Jan 31 00:31:30 2015
New Revision: 227675
URL: http://llvm.org/viewvc/llvm-project?rev=227675&view=rev
Log:
[X86] Make order consistent between 'const' and 'int' in one of the intrinsic header files. NFC
Modified:
cfe/trunk/lib/Headers/avxintrin.h
Modified: cfe/trunk/lib/Headers/avxintrin.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/avxintrin.h?rev=227675&r1=227674&r2=227675&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/avxintrin.h (original)
+++ cfe/trunk/lib/Headers/avxintrin.h Sat Jan 31 00:31:30 2015
@@ -444,21 +444,21 @@ _mm256_blendv_ps(__m256 __a, __m256 __b,
(__m128i)__builtin_ia32_vextractf128_si256((__v8si)__A, (O)); })
static __inline int __attribute__((__always_inline__, __nodebug__))
-_mm256_extract_epi32(__m256i __a, int const __imm)
+_mm256_extract_epi32(__m256i __a, const int __imm)
{
__v8si __b = (__v8si)__a;
return __b[__imm & 7];
}
static __inline int __attribute__((__always_inline__, __nodebug__))
-_mm256_extract_epi16(__m256i __a, int const __imm)
+_mm256_extract_epi16(__m256i __a, const int __imm)
{
__v16hi __b = (__v16hi)__a;
return __b[__imm & 15];
}
static __inline int __attribute__((__always_inline__, __nodebug__))
-_mm256_extract_epi8(__m256i __a, int const __imm)
+_mm256_extract_epi8(__m256i __a, const int __imm)
{
__v32qi __b = (__v32qi)__a;
return __b[__imm & 31];
More information about the cfe-commits
mailing list