This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Some minor changes to the PowerPC target_clones support: 1) I added a warning if target_clones was used and the compiler whas configured with an older glibc where __builtin_cpu_supports always returns 0; 2) I reworked how the ifunc resolver function is generated, and always made it a static function; 3) I added an executable target_clones test, and I made both clone tests dependent on GCC being configured with a new glibc. I have done a full bootstrap and make check test on a little endian power8 system, and there were no regressions. I did the bootstrap using the Advance Toolchain 10.0-3 libraries, and verified that the 2 clone tests were run. Are these patches ok to apply to the trunk? [gcc] 2017-06-28 Michael Meissner <meissner@linux.vnet.ibm.com> * config/rs6000/rs6000.c (rs6000_get_function_versions_dispatcher): Add warning if the compiler is not configured to use at least GLIBC version 2.23. (make_resolver_func): Make resolver function private and not a COMDAT function. Create the name with clone_function_name instead of make_unique_name. [gcc/testsuite] 2017-06-28 Michael Meissner <meissner@linux.vnet.ibm.com> * gcc.target/powerpc/clone2.c: New runtime test for target_clones. * gcc.target/powerpc/clone1.c: Add check to make sure the __builtin_cpu_supports function is fully supported. -- Michael Meissner, IBM IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA email: meissner@linux.vnet.ibm.com, phone: +1 (978) 899-4797
Attachment:
clone.patch13b
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |