forked from OSchip/llvm-project
parent
982bb884ff
commit
f74c5461d8
|
@ -19,8 +19,8 @@
|
|||
|
||||
#ifndef _LIBCPP_HAS_NO_INT128
|
||||
|
||||
__attribute__((no_sanitize("undefined"))) extern "C" __int128_t
|
||||
__muloti4(__int128_t a, __int128_t b, int* overflow) {
|
||||
extern "C" __attribute__((no_sanitize("undefined")))
|
||||
__int128_t __muloti4(__int128_t a, __int128_t b, int* overflow) {
|
||||
const int N = (int)(sizeof(__int128_t) * CHAR_BIT);
|
||||
const __int128_t MIN = (__int128_t)1 << (N - 1);
|
||||
const __int128_t MAX = ~MIN;
|
||||
|
|
Loading…
Reference in New Issue