On Mon, 2023-08-14 at 13:58 +0800, Xi Ruoyao via Gcc-patches wrote: > On Mon, 2023-08-14 at 11:57 +0800, Yang Yujie wrote: > > * Support options for LoongArch SIMD extensions: > > new configure options --with-simd={none,lsx,lasx}; > > new driver options -m[no]-l[a]sx / -msimd={none,lsx,lasx}. > > I suggest to rename --with-simd= to --with-ext= and accept a comma- > separated ISA extension list, because we have non-SIMD ISA extensions. > For example, "--with-ext=lasx,lbt" will make -mlasx, -mlsx (implied), > and -mlbt the default. I prefer "-mlasx" over "-msimd=lasx" because "- > mlasx" is shorter anyway (if there is no real reason to make -mlasx and > -msimd=lasx two different things).
Perhaps just "--with-feature" or "--with-loongarch-feature", then we can even fold -mstrict-align here, like "--with-feature=lbt,strict-align". -- Xi Ruoyao <xry...@xry111.site> School of Aerospace Science and Technology, Xidian University