r262633 - in /trunk/gcc: ChangeLog config/arm/a...
rearnsha@gcc.gnu.org
rearnsha@gcc.gnu.org
Fri Jul 13 11:49:00 GMT 2018
Author: rearnsha
Date: Fri Jul 13 11:48:43 2018
New Revision: 262633
URL: https://gcc.gnu.org/viewcvs?rev=262633&root=gcc&view=rev
Log:
arm - Add vendor and CPU id information to arm-cpus.in
This patch moves the vendor and CPU id data from driver-arm.c to the
main table of CPU data in arm-cpus.in. It then adds rules to
parsecpu.awk to build data tables that can be used by the driver for
automatic CPU detection when running natively. This is the last major
bit of CPU-specific data that can be usefully moved to the CPU data
tables (I don't think it is sensible to move the per-cpu tuning data
from its current location).
The syntax and parser can support revision ranges, but at present
nothing is done with that data: no supported cpu currently needs that
capability.
* config/arm/driver-arm.c: Include arm-native.h.
(host_detect_local_cpu): Use auto-generated data tables.
(vendors, arm_cpu_table): Delete. Move part information to ...
* config/arm/arm-cpus.in: ... here.
* config/arm/parsecpu.awk (gen_native): New function.
(vendor, part): New CPU fields.
(END): Add support for building the native CPU detection tables.
* config/arm/t-arm (arm-native.h): Add build rule.
(driver-arm.o): Add dependency on arm-native.h.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/arm/arm-cpus.in
trunk/gcc/config/arm/driver-arm.c
trunk/gcc/config/arm/parsecpu.awk
trunk/gcc/config/arm/t-arm
More information about the Gcc-cvs
mailing list