Site Overlay

GLIBC patch accepted: Add HWCAP bits to the TCB on Power

GNU Project

In order to get faster access to the HWCAP/HWCAP2 bits and platform number without the overhead of reading from the auxiliary vector, we now reserve space for them in the Thread Control Block (TCB). This is a TLS ABI change for GLIBC 2.23 added by commit 67385a0.

New __builtin_cpu_is() / __builtin_cpu_supports() functions in GCC will be available (probably) in the next release, providing similar functionality to Intel x86 equivalent functions. I will keep you updated on when this is available in GCC.

by 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.