about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc64/le/tst-glibc-hwcaps.c
diff options
context:
space:
mode:
authorManjunath Matti <mmatti@linux.ibm.com>2024-03-19 15:29:48 -0500
committerPeter Bergner <bergner@linux.ibm.com>2024-03-20 18:09:32 -0500
commitee7f4c54e19738c2c27d3846e1e9b3595c89221f (patch)
tree01fa49f5b8d720ea62de03f1ab9331fb7949cbe7 /sysdeps/powerpc/powerpc64/le/tst-glibc-hwcaps.c
parent71fcdba577884627c3ee4e43beb915da752efb1f (diff)
downloadglibc-ee7f4c54e19738c2c27d3846e1e9b3595c89221f.tar.gz
glibc-ee7f4c54e19738c2c27d3846e1e9b3595c89221f.tar.xz
glibc-ee7f4c54e19738c2c27d3846e1e9b3595c89221f.zip
powerpc: Add HWCAP3/HWCAP4 data to TCB for Power Architecture.
This patch adds a new feature for powerpc.  In order to get faster
access to the HWCAP3/HWCAP4 masks, similar to HWCAP/HWCAP2 (i.e. for
implementing __builtin_cpu_supports() in GCC) without the overhead of
reading them from the auxiliary vector, we now reserve space for them
in the TCB.

Suggested-by: Peter Bergner <bergner@linux.ibm.com>
Reviewed-by: Peter Bergner <bergner@linux.ibm.com>
(cherry picked from commit 3ab9b88e2ac91062b6d493fe32bd101a55006c6a)
Diffstat (limited to 'sysdeps/powerpc/powerpc64/le/tst-glibc-hwcaps.c')
0 files changed, 0 insertions, 0 deletions