- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
__builtin_clrsb and __builtin_clrsbll exist, but __builtin_clrsbl seems to be missing. Quick test:
#include <stdlib.h> #include <stdio.h> int main (void) { printf("int: %d\n", __builtin_clrsb(-1)); printf("long: %d\n", __builtin_clrsbl(-1)); printf("long long: %d\n", __builtin_clrsbll(-1)); return EXIT_SUCCESS; }
When attempting to compile:
nemequ@peltast:~/t$ icc -o clrsb clrsb.c clrsb.c(6): warning #266: function "__builtin_clrsbl" declared implicitly printf("long: %d\n", __builtin_clrsbl(-1)); ^ /tmp/icc9KCY5p.o: In function `main': clrsb.c:(.text+0x43): undefined reference to `__builtin_clrsbl' nemequ@peltast:~/t$ icc --version icc (ICC) 17.0.2 20170213 Copyright (C) 1985-2017 Intel Corporation. All rights reserved.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Evan,
Thank you for contacting Intel® Support.
I have submitted this to our bug-tracking database under DPD200419173.
I will let you know when I have updates, thank you.
Markus
Intel® Compiler Support

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page