11#error "Never use <tbmintrin.h> directly; include <x86intrin.h> instead."
18#if defined(__cplusplus) && (__cplusplus >= 201103L)
19#define __DEFAULT_FN_ATTRS \
20 __attribute__((__always_inline__, __nodebug__, __target__("tbm"))) constexpr
22#define __DEFAULT_FN_ATTRS \
23 __attribute__((__always_inline__, __nodebug__, __target__("tbm")))
26#define __bextri_u32(a, b) \
27 ((unsigned int)__builtin_ia32_bextri_u32((unsigned int)(a), \
42 return ~__a & (
__a + 1);
62 return ~__a | (
__a - 1);
67 return ~__a | (
__a + 1);
72 return ~__a & (
__a - 1);
76#define __bextri_u64(a, b) \
77 ((unsigned long long)__builtin_ia32_bextri_u64((unsigned long long)(a), \
78 (unsigned long long)(b)))
81__blcfill_u64(
unsigned long long __a) {
86__blci_u64(
unsigned long long __a) {
91__blcic_u64(
unsigned long long __a) {
92 return ~__a & (
__a + 1);
96__blcmsk_u64(
unsigned long long __a) {
101__blcs_u64(
unsigned long long __a) {
106__blsfill_u64(
unsigned long long __a) {
111__blsic_u64(
unsigned long long __a) {
112 return ~__a | (
__a - 1);
116__t1mskc_u64(
unsigned long long __a) {
117 return ~__a | (
__a + 1);
121__tzmsk_u64(
unsigned long long __a) {
122 return ~__a & (
__a - 1);
126#undef __DEFAULT_FN_ATTRS
static __inline__ void int __a
static __inline__ unsigned int __DEFAULT_FN_ATTRS __blcmsk_u32(unsigned int __a)
static __inline__ unsigned int __DEFAULT_FN_ATTRS __blcs_u32(unsigned int __a)
static __inline__ unsigned int __DEFAULT_FN_ATTRS __blcic_u32(unsigned int __a)
#define __DEFAULT_FN_ATTRS
static __inline__ unsigned int __DEFAULT_FN_ATTRS __blci_u32(unsigned int __a)
static __inline__ unsigned int __DEFAULT_FN_ATTRS __blcfill_u32(unsigned int __a)
static __inline__ unsigned int __DEFAULT_FN_ATTRS __blsfill_u32(unsigned int __a)
static __inline__ unsigned int __DEFAULT_FN_ATTRS __tzmsk_u32(unsigned int __a)
static __inline__ unsigned int __DEFAULT_FN_ATTRS __t1mskc_u32(unsigned int __a)
static __inline__ unsigned int __DEFAULT_FN_ATTRS __blsic_u32(unsigned int __a)