Message ID | 20230926115636.1367818-1-panchenghui@loongson.cn |
---|---|
Headers | show |
Series | Update target-supports.exp for LoongArch SX/ASX. | expand |
Correction: vect.exp will be set to run when target is capable of running LASX instructions, otherwise it will be compiled only. On Tue, 2023-09-26 at 19:56 +0800, Chenghui Pan wrote: > This is an update of: > https://gcc.gnu.org/pipermail/gcc-patches/2023-September/630953.html > > This version of patch set contains code that enable vect.exp for > LoongArch > target when target environment is capable of running LASX > instructions. > > After some attemptions, we still need > "check_effective_target_loongarch_sx" > in "proc check_effective_target_vect_int_mod {}" to choose correct > dg-final > directives for LoongArch, because DEFAULT_VECTCFLAGS cannot affect > pr104992.c > which is invoked by gcc.dg/dg.exp (not vect.exp). > > Chenghui Pan (2): > Enable vect.exp for LoongArch. > Add LoongArch in check_effective_target_vect_int_mod according to > ISA > capabilities. > > gcc/testsuite/lib/target-supports.exp | 49 > +++++++++++++++++++++++++++ > 1 file changed, 49 insertions(+) >