https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71777
Peter Bergner changed:
What|Removed |Added
Status|RESOLVED|CLOSED
--- Comment #4 from Peter Bergner
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71777
Mathieu Malaterre changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71777
--- Comment #2 from Peter Bergner ---
FYI, this is the output of your demo code on my POWER8 LE Ubuntu 16.04 system:
bergner@ampere:~$ gcc demo.c
bergner@ampere:~$ ./a.out
1
--
1
2
3
4
6
9
10
11
14
15
16
17
19
20
23
24
25
27
29
31
33
34
36
37
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71777
--- Comment #1 from Peter Bergner ---
The documentation doesn't mention this (and I should probably add it), but the
__builtin_cpu_is() and __builtin_cpu_supports() builtins rely on support from
glibc (glibc 2.23 and later to be exact). If you b