authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-02-14 10:30:06-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-02-14 10:30:06-05:00
log74619cc04586866013e40228f001e3fa79932d8e
treebc3d7e0a184b1fe53a0bc8f8eb53c7dd468cdbc8
parenta8b36fbe34e4acfea1fcb348fbed321b05611fd3
signaturelock-open Commit is signed but in an unrecognized format.

update clang C headers to 10.0.0rc2


3 files changed, 5 insertions(+), 5 deletions(-)

lib/include/__clang_cuda_intrinsics.h+2-2
......@@ -45,7 +45,7 @@
4545 _Static_assert(sizeof(__val) == sizeof(__Bits)); \
4646 _Static_assert(sizeof(__Bits) == 2 * sizeof(int)); \
4747 __Bits __tmp; \
48 memcpy(&__val, &__tmp, sizeof(__val)); \
48 memcpy(&__tmp, &__val, sizeof(__val)); \
4949 __tmp.__a = ::__FnName(__tmp.__a, __offset, __width); \
5050 __tmp.__b = ::__FnName(__tmp.__b, __offset, __width); \
5151 long long __ret; \
......@@ -129,7 +129,7 @@ __MAKE_SHUFFLES(__shfl_xor, __nvvm_shfl_bfly_i32, __nvvm_shfl_bfly_f32, 0x1f,
129129 _Static_assert(sizeof(__val) == sizeof(__Bits)); \
130130 _Static_assert(sizeof(__Bits) == 2 * sizeof(int)); \
131131 __Bits __tmp; \
132 memcpy(&__val, &__tmp, sizeof(__val)); \
132 memcpy(&__tmp, &__val, sizeof(__val)); \
133133 __tmp.__a = ::__FnName(__mask, __tmp.__a, __offset, __width); \
134134 __tmp.__b = ::__FnName(__mask, __tmp.__b, __offset, __width); \
135135 long long __ret; \
lib/include/__clang_cuda_runtime_wrapper.h+1-1
......@@ -48,7 +48,7 @@
4848#include "cuda.h"
4949#if !defined(CUDA_VERSION)
5050#error "cuda.h did not define CUDA_VERSION"
51#elif CUDA_VERSION < 7000 || CUDA_VERSION > 10010
51#elif CUDA_VERSION < 7000
5252#error "Unsupported CUDA version!"
5353#endif
5454
lib/include/xmmintrin.h+2-2
......@@ -2181,7 +2181,7 @@ void _mm_sfence(void);
21812181/// 3: Bits [63:48] are copied to the destination.
21822182/// \returns A 16-bit integer containing the extracted 16 bits of packed data.
21832183#define _mm_extract_pi16(a, n) \
2184 (int)__builtin_ia32_vec_ext_v4hi((__m64)a, (int)n)
2184 (int)__builtin_ia32_vec_ext_v4hi((__v4hi)a, (int)n)
21852185
21862186/// Copies data from the 64-bit vector of [4 x i16] to the destination,
21872187/// and inserts the lower 16-bits of an integer operand at the 16-bit offset
......@@ -2212,7 +2212,7 @@ void _mm_sfence(void);
22122212/// \returns A 64-bit integer vector containing the copied packed data from the
22132213/// operands.
22142214#define _mm_insert_pi16(a, d, n) \
2215 (__m64)__builtin_ia32_vec_set_v4hi((__m64)a, (int)d, (int)n)
2215 (__m64)__builtin_ia32_vec_set_v4hi((__v4hi)a, (int)d, (int)n)
22162216
22172217/// Compares each of the corresponding packed 16-bit integer values of
22182218/// the 64-bit integer vectors, and writes the greater value to the