LoongArch: testsuite: Fix pr112325.c and pr117888-1.c.
By default, vectorization is not enabled on LoongArch, resulting in the failure of these two test cases. gcc/testsuite/ChangeLog: * gcc.dg/vect/pr112325.c: Add the vector compilation option '-mlsx' for LoongArch. * gcc.dg/vect/pr117888-1.c: Likewise.
This commit is contained in:
parent
3ee18840ec
commit
671702b29f
2 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
/* { dg-require-effective-target vect_shift } */
|
||||
/* { dg-additional-options "-mavx2" { target x86_64-*-* i?86-*-* } } */
|
||||
/* { dg-additional-options "--param max-completely-peeled-insns=200" { target powerpc64*-*-* } } */
|
||||
/* { dg-additional-options "-mlsx" { target loongarch64-*-* } } */
|
||||
|
||||
typedef unsigned short ggml_fp16_t;
|
||||
static float table_f32_f16[1 << 16];
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/* { dg-require-effective-target vect_shift } */
|
||||
/* { dg-additional-options "-mavx2" { target x86_64-*-* i?86-*-* } } */
|
||||
/* { dg-additional-options "--param max-completely-peeled-insns=200" { target powerpc64*-*-* } } */
|
||||
/* { dg-additional-options "-mlsx" { target loongarch64-*-* } } */
|
||||
|
||||
typedef unsigned short ggml_fp16_t;
|
||||
static float table_f32_f16[1 << 16];
|
||||
|
|
Loading…
Add table
Reference in a new issue