]> gcc.gnu.org Git - gcc.git/commit - gcc/config.in
ppc-auxv.h: New file.
authorPeter Bergner <bergner@vnet.ibm.com>
Wed, 20 Jan 2016 20:30:24 +0000 (14:30 -0600)
committerPeter Bergner <bergner@gcc.gnu.org>
Wed, 20 Jan 2016 20:30:24 +0000 (14:30 -0600)
commit26a2e6aed46f0690aee229788887908b7116f515
tree5eeec1f45b34f7f29a1f977751983a8316485957
parent11c7bfe6737c940cc35c87ff35e4cd18897f20d8
ppc-auxv.h: New file.

gcc/
* config/rs6000/ppc-auxv.h: New file.
* config/rs6000/rs6000-builtin.def (cpu_init): Add new builtin.
(cpu_is): Likewise.
(cpu_supports): Likewise.
* config/rs6000/rs6000.c: include "ppc-auxv.h".
(cpu_is_info): New variable.
(cpu_supports_info): Likewise.
(tcb_verification_symbol): Likewise.
(cpu_builtin_p): Likewise.
(cpu_expand_builtin): New function.
(rs6000_expand_ternop_builtin): Add support for CPU builtin functions.
(rs6000_init_builtins): Likewise.
(rs6000_elf_file_end): Emit HWCAP in TCB verification symbol.
* config/rs6000/rs6000.h (TLS_REGNUM): New define.
* configure.ac (gcc_cv_libc_provides_hwcap_in_tcb): New test.
* configure: Regenerate.
* config.in: Likewise.
* doc/extend.texi (PowerPC Built-in Functions): Document
__builtin_cpu_init, __builtin_cpu_is and __builtin_cpu_supports.

gcc/testsuite/
* gcc.target/powerpc/cpu-builtin-1.c: New test.

From-SVN: r232634
gcc/ChangeLog
gcc/config.in
gcc/config/rs6000/ppc-auxv.h [new file with mode: 0644]
gcc/config/rs6000/rs6000-builtin.def
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.h
gcc/configure
gcc/configure.ac
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/cpu-builtin-1.c [new file with mode: 0644]
This page took 0.061819 seconds and 5 git commands to generate.