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) {...@@ -863,20 +863,6 @@ __nop(void) {
863 __asm__ volatile ("nop");863 __asm__ volatile ("nop");
864}864}
865#endif865#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
881/*----------------------------------------------------------------------------*\867/*----------------------------------------------------------------------------*\
882|* Privileged intrinsics868|* Privileged intrinsics
c_headers/unwind.h+4
...@@ -154,8 +154,12 @@ struct _Unwind_Control_Block {...@@ -154,8 +154,12 @@ struct _Unwind_Control_Block {
154struct _Unwind_Exception {154struct _Unwind_Exception {
155 _Unwind_Exception_Class exception_class;155 _Unwind_Exception_Class exception_class;
156 _Unwind_Exception_Cleanup_Fn exception_cleanup;156 _Unwind_Exception_Cleanup_Fn exception_cleanup;
157#if !defined (__USING_SJLJ_EXCEPTIONS__) && defined (__SEH__)
158 _Unwind_Word private_[6];
159#else
157 _Unwind_Word private_1;160 _Unwind_Word private_1;
158 _Unwind_Word private_2;161 _Unwind_Word private_2;
162#endif
159 /* The Itanium ABI requires that _Unwind_Exception objects are "double-word163 /* The Itanium ABI requires that _Unwind_Exception objects are "double-word
160 * aligned". GCC has interpreted this to mean "use the maximum useful164 * aligned". GCC has interpreted this to mean "use the maximum useful
161 * alignment for the target"; so do we. */165 * alignment for the target"; so do we. */