Yes, there's some confliction inside -mlsx/-mlasx option impl because this patch set is based on the older option framework, we will try to resolve this problem later.
On Tue, 2023-08-15 at 09:18 +0800, Xi Ruoyao wrote: > I guess there is a merge conflict with Yujie's "-msimd=" patch and > you > may need to collaborate to resolve it. Maybe just add -msimd in this > series. > > On Tue, 2023-08-15 at 09:05 +0800, Chenghui Pan wrote: > > From: Lulu Cheng <chengl...@loongson.cn> > > > > gcc/ChangeLog: > > > > * config/loongarch/genopts/loongarch-strings: Add > > compilation framework. > > * config/loongarch/genopts/loongarch.opt.in: Ditto. > > * config/loongarch/loongarch-c.cc > > (loongarch_cpu_cpp_builtins): Ditto. > > * config/loongarch/loongarch-def.c: Ditto. > > * config/loongarch/loongarch-def.h (N_ISA_EXT_TYPES): > > Ditto. > > (ISA_EXT_SIMD_LSX): Ditto. > > (N_SWITCH_TYPES): Ditto. > > (SW_LSX): Ditto. > > (struct loongarch_isa): Ditto. > > * config/loongarch/loongarch-driver.cc (APPEND_SWITCH): > > Ditto. > > (driver_get_normalized_m_opts): Ditto. > > * config/loongarch/loongarch-driver.h > > (driver_get_normalized_m_opts): Ditto. > > * config/loongarch/loongarch-opts.cc > > (loongarch_config_target): Ditto. > > (isa_str): Ditto. > > * config/loongarch/loongarch-opts.h (ISA_HAS_LSX): Ditto. > > * config/loongarch/loongarch-str.h (OPTSTR_LSX): Ditto. > > * config/loongarch/loongarch.opt: Ditto. > > /* snip */ >