On Fri, 2023-11-17 at 16:33 +0800, Lulu Cheng wrote: > 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.
There should be diff --git a/gcc/config/loongarch/loongarch-def.c b/gcc/config/loongarch/loongarch-def.c index 067629141b6..f22d488acb2 100644 --- a/gcc/config/loongarch/loongarch-def.c +++ b/gcc/config/loongarch/loongarch-def.c @@ -165,6 +165,7 @@ loongarch_cpu_multipass_dfa_lookahead[N_TUNE_TYPES] = { const char* loongarch_isa_base_strings[N_ISA_BASE_TYPES] = { [ISA_BASE_LA64V100] = STR_ISA_BASE_LA64V100, + [ISA_BASE_LA64V110] = STR_ISA_BASE_LA64V110, }; const char* -- Xi Ruoyao <xry...@xry111.site> School of Aerospace Science and Technology, Xidian University