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
d872b7f2
Commit
d872b7f2
authored
Mar 26, 2018
by
Rusty Russell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configurator: add tests for other popcount variants.
Signed-off-by:
Rusty Russell
<
rusty@rustcorp.com.au
>
parent
7a75cff7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
tools/configurator/configurator.c
tools/configurator/configurator.c
+4
-0
No files found.
tools/configurator/configurator.c
View file @
d872b7f2
...
...
@@ -159,8 +159,12 @@ static struct test tests[] = {
"return __builtin_ffsl(0L) == 0 ? 0 : 1;"
},
{
"HAVE_BUILTIN_FFSLL"
,
INSIDE_MAIN
,
NULL
,
NULL
,
"return __builtin_ffsll(0LL) == 0 ? 0 : 1;"
},
{
"HAVE_BUILTIN_POPCOUNT"
,
INSIDE_MAIN
,
NULL
,
NULL
,
"return __builtin_popcount(255) == 8 ? 0 : 1;"
},
{
"HAVE_BUILTIN_POPCOUNTL"
,
INSIDE_MAIN
,
NULL
,
NULL
,
"return __builtin_popcountl(255L) == 8 ? 0 : 1;"
},
{
"HAVE_BUILTIN_POPCOUNTLL"
,
INSIDE_MAIN
,
NULL
,
NULL
,
"return __builtin_popcountll(255LL) == 8 ? 0 : 1;"
},
{
"HAVE_BUILTIN_TYPES_COMPATIBLE_P"
,
INSIDE_MAIN
,
NULL
,
NULL
,
"return __builtin_types_compatible_p(char *, int) ? 1 : 0;"
},
{
"HAVE_ICCARM_INTRINSICS"
,
DEFINES_FUNC
,
NULL
,
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