6 #if defined(HAVE_CONFIG_H)
14 extern "C" void*
memmove(
void* a,
const void*
b,
size_t c);
15 extern "C" void*
memcpy(
void* a,
const void*
b,
size_t c)
22 #if defined(__i386__) || defined(__arm__)
24 extern "C" int64_t __udivmoddi4(uint64_t u, uint64_t v, uint64_t* rp);
26 extern "C" int64_t __wrap___divmoddi4(int64_t u, int64_t v, int64_t* rp)
28 int32_t c1 = 0, c2 = 0;
29 int64_t uu = u, vv = v;
34 c1 = ~c1, c2 = ~c2, uu = -uu;
40 w = __udivmoddi4(uu, vv, (uint64_t*)&
r);
53 __asm(
".symver log2f_old,log2f@GLIBC_2.1");
54 #elif defined(__amd64__)
55 __asm(
".symver log2f_old,log2f@GLIBC_2.2.5");
56 #elif defined(__arm__)
57 __asm(
".symver log2f_old,log2f@GLIBC_2.4");
58 #elif defined(__aarch64__)
59 __asm(
".symver log2f_old,log2f@GLIBC_2.17");
60 #elif defined(__riscv)
61 __asm(
".symver log2f_old,log2f@GLIBC_2.27");