aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-patterns.c
diff options
context:
space:
mode:
authorMichael Meissner <meissner@linux.ibm.com>2020-06-09 15:32:02 -0500
committerMichael Meissner <meissner@linux.ibm.com>2020-06-09 15:32:02 -0500
commit7ba33e898fa4a097c0f2b4d9cae35041a5933f9c (patch)
tree76af8e1581a516553b2c28d5476a26de11061cb2 /gcc/tree-vect-patterns.c
parent243e5bbfef7be74bfe22747c4e51136dd38c1245 (diff)
downloadgcc-7ba33e898fa4a097c0f2b4d9cae35041a5933f9c.zip
gcc-7ba33e898fa4a097c0f2b4d9cae35041a5933f9c.tar.gz
gcc-7ba33e898fa4a097c0f2b4d9cae35041a5933f9c.tar.bz2
PowerPC: Add future hwcap2 bits
This patch adds support for the two new HWCAP2 fields used by the __builtin_cpu_supports function. It adds support in the target_clones attribute for -mcpu=future. The two new __builtin_cpu_supports tests are: __builtin_cpu_supports ("isa_3_1") __builtin_cpu_supports ("mma") The bits used are the bits that the Linux kernel engineers will be using for these new features. gcc/ 2020-06-05 Michael Meissner <meissner@linux.ibm.com> * config/rs6000/ppc-auxv.h (PPC_PLATFORM_FUTURE): Allocate 'future' PowerPC platform. (PPC_FEATURE2_ARCH_3_1): New HWCAP2 bit for ISA 3.1. (PPC_FEATURE2_MMA): New HWCAP2 bit for MMA. * config/rs6000/rs6000-call.c (cpu_supports_info): Add ISA 3.1 and MMA HWCAP2 bits. * config/rs6000/rs6000.c (CLONE_ISA_3_1): New clone support. (rs6000_clone_map): Add 'future' system target_clones support.
Diffstat (limited to 'gcc/tree-vect-patterns.c')
0 files changed, 0 insertions, 0 deletions