aboutsummaryrefslogtreecommitdiff
path: root/gcc/coverage.cc
diff options
context:
space:
mode:
authorLulu Cheng <chenglulu@loongson.cn>2023-11-16 20:43:53 +0800
committerLulu Cheng <chenglulu@loongson.cn>2023-11-18 16:14:40 +0800
commitc68463abbab98aa7f5a9b91e71ed6f6834c723df (patch)
tree2d93182e0c9cd347cca048d43e4c166a52b1d7a7 /gcc/coverage.cc
parent094cca429399680cb1c8f4e65041350da71d6937 (diff)
downloadgcc-c68463abbab98aa7f5a9b91e71ed6f6834c723df.zip
gcc-c68463abbab98aa7f5a9b91e71ed6f6834c723df.tar.gz
gcc-c68463abbab98aa7f5a9b91e71ed6f6834c723df.tar.bz2
LoongArch: Add LA664 support.
Define ISA_BASE_LA64V110, which represents the base instruction set defined in LoongArch1.1. Support the configure setting --with-arch =la664, and support -march=la664,-mtune=la664. gcc/ChangeLog: * config.gcc: Support LA664. * config/loongarch/genopts/loongarch-strings: Likewise. * config/loongarch/genopts/loongarch.opt.in: Likewise. * config/loongarch/loongarch-cpu.cc (fill_native_cpu_config): Likewise. * config/loongarch/loongarch-def.c: Likewise. * config/loongarch/loongarch-def.h (N_ISA_BASE_TYPES): Likewise. (ISA_BASE_LA64V110): Define macro. (N_ARCH_TYPES): Update value. (N_TUNE_TYPES): Update value. (CPU_LA664): New macro. * config/loongarch/loongarch-opts.cc (isa_default_abi): Likewise. (isa_base_compat_p): Likewise. * config/loongarch/loongarch-opts.h (TARGET_64BIT): This parameter is enabled when la_target.isa.base is equal to ISA_BASE_LA64V100 or ISA_BASE_LA64V110. (TARGET_uARCH_LA664): Define macro. * config/loongarch/loongarch-str.h (STR_CPU_LA664): Likewise. * config/loongarch/loongarch.cc (loongarch_cpu_sched_reassociation_width): Add LA664 support. * config/loongarch/loongarch.opt: Regenerate.
Diffstat (limited to 'gcc/coverage.cc')
0 files changed, 0 insertions, 0 deletions