rs6000: Add support for __builtin_cpu_is ("power10")
authorPeter Bergner <bergner@linux.ibm.com>
Fri, 26 Jun 2020 00:06:37 +0000 (19:06 -0500)
committerPeter Bergner <bergner@linux.ibm.com>
Fri, 26 Jun 2020 21:28:39 +0000 (16:28 -0500)
commit67161d24f45601e43abea98f2c3d7d7a462b6eab
treee81f31c9d43af69f4c3b7e8d9b26728e463e65f4
parent0801f419440c14f6772b28f763ad7d40f7f7a580
rs6000: Add support for __builtin_cpu_is ("power10")

Add support for __builtin_cpu_is ("power10").  Also add documentation for
the recently added "arch_3_1" and "mma" __builtin_cpu_supports arguments.

2020-06-25  Peter Bergner  <bergner@linux.ibm.com>

gcc/
* config/rs6000/rs6000-call.c (cpu_is_info) <power10>: New.
* doc/extend.texi (PowerPC Built-in Functions): Document power10,
arch_3_1 and mma.

gcc/testsuite/
* gcc.target/powerpc/cpu-builtin-1.c: Add tests for power10, arch_3_1
and mma.
gcc/config/rs6000/rs6000-call.c
gcc/doc/extend.texi
gcc/testsuite/gcc.target/powerpc/cpu-builtin-1.c