Hi all, Since support for -mcpu=cortex-a55 and -mcpu=cortex-a75 was added we added support for the +dotprod extension which these CPUs support.
We already specify as such in the arm-cpus.in entries for these processors. However the table in driver-arm.c was not adding +dotproct to the -march string that it generates. This patch fixes that oversight. In the future I'd like to get the arm_cpu_table in driver-arm.c be auto-generated somehow from the arm-cpus.in data so that we don't have to keep track of discrepancies explicitly... Bootstrapped and tested on arm-none-linux-gnueabihf. Committed to trunk. Thanks, Kyrill 2017-12-21 Kyrylo Tkachov <kyrylo.tkac...@arm.com> * config/arm/driver-arm.c (arm_cpu_table): Specify dotprod support for Cortex-A55 and Cortex-A75.
commit ee648abe3b1a2b8536ce5470973ae673aaff37e6 Author: Kyrylo Tkachov <kyrylo.tkac...@arm.com> Date: Thu Dec 21 11:40:05 2017 +0000 [arm] Specify +dotprod support for Cortex-A55 and Cortex-A75 in native system detection diff --git a/gcc/config/arm/driver-arm.c b/gcc/config/arm/driver-arm.c index 280f420..328cec9 100644 --- a/gcc/config/arm/driver-arm.c +++ b/gcc/config/arm/driver-arm.c @@ -54,8 +54,8 @@ static struct vendor_cpu arm_cpu_table[] = { {"0xd07", "armv8-a+crc", "cortex-a57"}, {"0xd08", "armv8-a+crc", "cortex-a72"}, {"0xd09", "armv8-a+crc", "cortex-a73"}, - {"0xd05", "armv8.2-a+fp16", "cortex-a55"}, - {"0xd0a", "armv8.2-a+fp16", "cortex-a75"}, + {"0xd05", "armv8.2-a+fp16+dotprod", "cortex-a55"}, + {"0xd0a", "armv8.2-a+fp16+dotprod", "cortex-a75"}, {"0xc14", "armv7-r", "cortex-r4"}, {"0xc15", "armv7-r", "cortex-r5"}, {"0xc17", "armv7-r", "cortex-r7"},