authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-08-25 22:14:41-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-08-25 22:14:41-04:00
logcce14f92fc2e284114bc9d08bc93e55d45a55188
treec9d4ef8c5b05a900731aba091f3f5b64b2f5f73b
parent20810e0a7976748d0632ed72454a829802dcf76d

update clang headers to 7.0.0rc2


2 files changed, 4 insertions(+), 14 deletions(-)

c_headers/intrin.h-14
......@@ -863,20 +863,6 @@ __nop(void) {
863863 __asm__ volatile ("nop");
864864}
865865#endif
866#if defined(__x86_64__)
867static __inline__ unsigned __int64 __DEFAULT_FN_ATTRS
868__shiftleft128(unsigned __int64 __l, unsigned __int64 __h, unsigned char __d) {
869 unsigned __int128 __val = ((unsigned __int128)__h << 64) | __l;
870 unsigned __int128 __res = __val << (__d & 63);
871 return (unsigned __int64)(__res >> 64);
872}
873static __inline__ unsigned __int64 __DEFAULT_FN_ATTRS
874__shiftright128(unsigned __int64 __l, unsigned __int64 __h, unsigned char __d) {
875 unsigned __int128 __val = ((unsigned __int128)__h << 64) | __l;
876 unsigned __int128 __res = __val >> (__d & 63);
877 return (unsigned __int64)__res;
878}
879#endif
880866
881867/*----------------------------------------------------------------------------*\
882868|* Privileged intrinsics
c_headers/unwind.h+4
......@@ -154,8 +154,12 @@ struct _Unwind_Control_Block {
154154struct _Unwind_Exception {
155155 _Unwind_Exception_Class exception_class;
156156 _Unwind_Exception_Cleanup_Fn exception_cleanup;
157#if !defined (__USING_SJLJ_EXCEPTIONS__) && defined (__SEH__)
158 _Unwind_Word private_[6];
159#else
157160 _Unwind_Word private_1;
158161 _Unwind_Word private_2;
162#endif
159163 /* The Itanium ABI requires that _Unwind_Exception objects are "double-word
160164 * aligned". GCC has interpreted this to mean "use the maximum useful
161165 * alignment for the target"; so do we. */