aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2018-07-13 11:48:43 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2018-07-13 11:48:43 +0000
commitb02160e5ac1dc57bbecd3387b61fcad8c7a57672 (patch)
tree610bcc7889021874b00c1f0cb47b81c10c28e146 /gcc/builtins.c
parent67fccea48da5b2a7a62f9b08acc01b254ab4c1a5 (diff)
downloadgcc-b02160e5ac1dc57bbecd3387b61fcad8c7a57672.zip
gcc-b02160e5ac1dc57bbecd3387b61fcad8c7a57672.tar.gz
gcc-b02160e5ac1dc57bbecd3387b61fcad8c7a57672.tar.bz2
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. From-SVN: r262633
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions