ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
_
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Variables
_
a
c
d
e
f
h
m
n
p
r
s
t
w
x
Typedefs
Enumerations
Enumerator
_
a
e
f
i
l
n
r
s
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Typedefs
_
a
c
d
i
m
o
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
e
i
l
m
n
o
p
r
t
u
v
w
Related Symbols
c
e
h
i
l
p
r
s
t
v
x
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
_
a
b
c
d
e
f
i
k
m
o
p
r
s
u
v
w
x
Enumerations
_
a
c
k
l
m
n
o
x
Enumerator
_
a
c
e
f
k
l
m
n
o
s
t
x
Macros
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
include
jit
clang_stdlib
popcntintrin.h
Go to the documentation of this file.
1
/*===---- popcntintrin.h - POPCNT intrinsics -------------------------------===
2
*
3
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
* See https://llvm.org/LICENSE.txt for license information.
5
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
*
7
*===-----------------------------------------------------------------------===
8
*/
9
10
#ifndef __POPCNTINTRIN_H
11
#define __POPCNTINTRIN_H
12
13
/* Define the default attributes for the functions in this file. */
14
#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("popcnt")))
15
26
static
__inline__
int
__DEFAULT_FN_ATTRS
27
_mm_popcnt_u32
(
unsigned
int
__A)
28
{
29
return
__builtin_popcount(__A);
30
}
27
_mm_popcnt_u32
(
unsigned
int
__A) {
…
}
31
32
#ifdef __x86_64__
43
static
__inline__
long
long
__DEFAULT_FN_ATTRS
44
_mm_popcnt_u64(
unsigned
long
long
__A)
45
{
46
return
__builtin_popcountll(__A);
47
}
48
#endif
/* __x86_64__ */
49
50
#undef __DEFAULT_FN_ATTRS
51
52
#endif
/* __POPCNTINTRIN_H */
__DEFAULT_FN_ATTRS
#define __DEFAULT_FN_ATTRS
Definition
popcntintrin.h:14
_mm_popcnt_u32
static __inline__ int __DEFAULT_FN_ATTRS _mm_popcnt_u32(unsigned int __A)
Counts the number of bits in the source operand having a value of 1.
Definition
popcntintrin.h:27
Generated on Mon Feb 17 2025 13:12:28 for ETISS 0.8.0 by
1.9.8