[PATCH v2 0/2] Update target-supports.exp for LoongArch SX/ASX.

Chenghui Pan panchenghui@loongson.cn
Tue Sep 26 11:56:34 GMT 2023


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(+)

-- 
2.36.0



More information about the Gcc-patches mailing list