![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /proc/thread-self/root/usr/share/emscripten/system/include/libcxx/support/ibm/ |
Upload File : |
// -*- C++ -*- //===----------------------- support/ibm/support.h ----------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// #ifndef _LIBCPP_SUPPORT_IBM_SUPPORT_H #define _LIBCPP_SUPPORT_IBM_SUPPORT_H extern "builtin" int __popcnt4(unsigned int); extern "builtin" int __popcnt8(unsigned long long); extern "builtin" unsigned int __cnttz4(unsigned int); extern "builtin" unsigned int __cnttz8(unsigned long long); extern "builtin" unsigned int __cntlz4(unsigned int); extern "builtin" unsigned int __cntlz8(unsigned long long); // Builtin functions for counting population #define __builtin_popcount(x) __popcnt4(x) #define __builtin_popcountll(x) __popcnt8(x) #if defined(__64BIT__) #define __builtin_popcountl(x) __builtin_popcountll(x) #else #define __builtin_popcountl(x) __builtin_popcount(x) #endif // Builtin functions for counting trailing zeros #define __builtin_ctz(x) __cnttz4(x) #define __builtin_ctzll(x) __cnttz8(x) #if defined(__64BIT__) #define __builtin_ctzl(x) __builtin_ctzll(x) #else #define __builtin_ctzl(x) __builtin_ctz(x) #endif // Builtin functions for counting leading zeros #define __builtin_clz(x) __cntlz4(x) #define __builtin_clzll(x) __cntlz8(x) #if defined(__64BIT__) #define __builtin_clzl(x) __builtin_clzll(x) #else #define __builtin_clzl(x) __builtin_clz(x) #endif #if defined(__64BIT__) #define __SIZE_WIDTH__ 64 #else #define __SIZE_WIDTH__ 32 #endif #endif // _LIBCPP_SUPPORT_IBM_SUPPORT_H