| author | |
| committer | |
| log | cce14f92fc2e284114bc9d08bc93e55d45a55188 |
| tree | c9d4ef8c5b05a900731aba091f3f5b64b2f5f73b |
| parent | 20810e0a7976748d0632ed72454a829802dcf76d |
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 | #endif | 865 | #endif |
| 866 | #if defined(__x86_64__) | ||
| 867 | static __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 | } | ||
| 873 | static __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 | ||
| 880 | 866 | ||
| 881 | /*----------------------------------------------------------------------------*\ | 867 | /*----------------------------------------------------------------------------*\ |
| 882 | |* Privileged intrinsics | 868 | |* Privileged intrinsics |
c_headers/unwind.h+4| ... | @@ -154,8 +154,12 @@ struct _Unwind_Control_Block { | ... | @@ -154,8 +154,12 @@ struct _Unwind_Control_Block { |
| 154 | struct _Unwind_Exception { | 154 | struct _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-word | 163 | /* The Itanium ABI requires that _Unwind_Exception objects are "double-word |
| 160 | * aligned". GCC has interpreted this to mean "use the maximum useful | 164 | * 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. */ |