[PATCH] powerpc: New feature - HWCAP/HWCAP2 bits in the TCB
Carlos Eduardo Seo
cseo@linux.vnet.ibm.com
Mon Jun 8 21:24:00 GMT 2015
The proposed patch adds a new feature for powerpc. In order to get faster access to the HWCAP/HWCAP2 bits, we now store them in the TCB. This enables users to write versioned code based on the HWCAP bits without going through the overhead of reading them from the auxiliary vector.
A new API is published in ppc.h for get/set the bits in the aforementioned memory area (mainly for gcc to use to create builtins).
Testcases for the API functions were also created.
Tested on ppc32, ppc64 and ppc64le.
Okay to commit?
Thanks,
--
Carlos Eduardo Seo
Software Engineer - Linux on Power Toolchain
cseo@linux.vnet.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hwcap-tcb.patch
Type: text/x-patch
Size: 12222 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20150608/6db7d8bd/attachment.bin>
More information about the Libc-alpha
mailing list