aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-11-18 03:19:07 +0800
committerXi Ruoyao <xry111@xry111.site>2023-11-19 01:11:12 +0800
commitccead01d9bd253cb21b61884d4d20f42a2feee31 (patch)
treed801127cdb6a7fb5380818ff1716af63681cc37f /gcc/rust/resolve
parent8835242025a604c0c62812e971f10aaef3604408 (diff)
downloadgcc-ccead01d9bd253cb21b61884d4d20f42a2feee31.zip
gcc-ccead01d9bd253cb21b61884d4d20f42a2feee31.tar.gz
gcc-ccead01d9bd253cb21b61884d4d20f42a2feee31.tar.bz2
LoongArch: Add evolution features of base ISA revisions
* config/loongarch/loongarch-def.h: (loongarch_isa_base_features): Declare. Define it in ... * config/loongarch/loongarch-cpu.cc (loongarch_isa_base_features): ... here. (fill_native_cpu_config): If we know the base ISA of the CPU model from PRID, use it instead of la64 (v1.0). Check if all expected features of this base ISA is available, emit a warning if not. * config/loongarch/loongarch-opts.cc (config_target_isa): Enable the features implied by the base ISA if not -march=native.
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions