Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
ccan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mirror
ccan
Commits
e744ae43
Commit
e744ae43
authored
Nov 15, 2010
by
Rusty Russell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
config: add HAVE_BUILTIN_FFSLL
parent
903a3eca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
config.h
config.h
+1
-0
tools/configurator/configurator.c
tools/configurator/configurator.c
+2
-0
No files found.
config.h
View file @
e744ae43
...
...
@@ -18,6 +18,7 @@
#define HAVE_BUILTIN_CONSTANT_P 1
#define HAVE_BUILTIN_EXPECT 1
#define HAVE_BUILTIN_FFSL 1
#define HAVE_BUILTIN_FFSLL 1
#define HAVE_BUILTIN_POPCOUNTL 1
#define HAVE_BUILTIN_TYPES_COMPATIBLE_P 1
#define HAVE_BYTESWAP_H 1
...
...
tools/configurator/configurator.c
View file @
e744ae43
...
...
@@ -71,6 +71,8 @@ static struct test tests[] = {
"return __builtin_expect(argc == 1, 1) ? 0 : 1;"
},
{
"HAVE_BUILTIN_FFSL"
,
INSIDE_MAIN
,
NULL
,
"return __builtin_ffsl(0L) == 0 ? 0 : 1;"
},
{
"HAVE_BUILTIN_FFSLL"
,
INSIDE_MAIN
,
NULL
,
"return __builtin_ffsll(0LL) == 0 ? 0 : 1;"
},
{
"HAVE_BUILTIN_POPCOUNTL"
,
INSIDE_MAIN
,
NULL
,
"return __builtin_popcountl(255L) == 8 ? 0 : 1;"
},
{
"HAVE_BUILTIN_TYPES_COMPATIBLE_P"
,
INSIDE_MAIN
,
NULL
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment