Message ID | 20230129232401.91674-1-juzhe.zhong@rivai.ai |
---|---|
State | New |
Headers | show |
Series | RISC-V: Add vsuxei* C++ API intrinsics testcases | expand |
committed, thanks! On Mon, Jan 30, 2023 at 7:25 AM <juzhe.zhong@rivai.ai> wrote: > > From: Ju-Zhe Zhong <juzhe.zhong@rivai.ai> > > gcc/testsuite/ChangeLog: > > * g++.target/riscv/rvv/base/vsuxei16-1.C: New test. > * g++.target/riscv/rvv/base/vsuxei16-2.C: New test. > * g++.target/riscv/rvv/base/vsuxei16-3.C: New test. > * g++.target/riscv/rvv/base/vsuxei32-1.C: New test. > * g++.target/riscv/rvv/base/vsuxei32-2.C: New test. > * g++.target/riscv/rvv/base/vsuxei32-3.C: New test. > * g++.target/riscv/rvv/base/vsuxei64-1.C: New test. > * g++.target/riscv/rvv/base/vsuxei64-2.C: New test. > * g++.target/riscv/rvv/base/vsuxei64-3.C: New test. > * g++.target/riscv/rvv/base/vsuxei8-1.C: New test. > * g++.target/riscv/rvv/base/vsuxei8-2.C: New test. > * g++.target/riscv/rvv/base/vsuxei8-3.C: New test. > > --- > .../g++.target/riscv/rvv/base/vsuxei16-1.C | 660 +++++++++++++++++ > .../g++.target/riscv/rvv/base/vsuxei16-2.C | 660 +++++++++++++++++ > .../g++.target/riscv/rvv/base/vsuxei16-3.C | 660 +++++++++++++++++ > .../g++.target/riscv/rvv/base/vsuxei32-1.C | 608 ++++++++++++++++ > .../g++.target/riscv/rvv/base/vsuxei32-2.C | 608 ++++++++++++++++ > .../g++.target/riscv/rvv/base/vsuxei32-3.C | 608 ++++++++++++++++ > .../g++.target/riscv/rvv/base/vsuxei64-1.C | 518 +++++++++++++ > .../g++.target/riscv/rvv/base/vsuxei64-2.C | 518 +++++++++++++ > .../g++.target/riscv/rvv/base/vsuxei64-3.C | 518 +++++++++++++ > .../g++.target/riscv/rvv/base/vsuxei8-1.C | 686 ++++++++++++++++++ > .../g++.target/riscv/rvv/base/vsuxei8-2.C | 686 ++++++++++++++++++ > .../g++.target/riscv/rvv/base/vsuxei8-3.C | 686 ++++++++++++++++++ > 12 files changed, 7416 insertions(+) > create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsuxei16-1.C > create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsuxei16-2.C > create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsuxei16-3.C > create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsuxei32-1.C > create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsuxei32-2.C > create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsuxei32-3.C > create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsuxei64-1.C > create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsuxei64-2.C > create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsuxei64-3.C > create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsuxei8-1.C > create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsuxei8-2.C > create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsuxei8-3.C > > diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei16-1.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei16-1.C > new file mode 100644 > index 00000000000..85d4dbe024e > --- /dev/null > +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei16-1.C > @@ -0,0 +1,660 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsuxei16(int8_t* base,vuint16mf4_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(int8_t* base,vuint16mf2_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(int8_t* base,vuint16m1_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(int8_t* base,vuint16m2_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(int8_t* base,vuint16m4_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(int8_t* base,vuint16m8_t bindex,vint8m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(int16_t* base,vuint16mf4_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(int16_t* base,vuint16mf2_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(int16_t* base,vuint16m1_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(int16_t* base,vuint16m2_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(int16_t* base,vuint16m4_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(int16_t* base,vuint16m8_t bindex,vint16m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(int32_t* base,vuint16mf4_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(int32_t* base,vuint16mf2_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(int32_t* base,vuint16m1_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(int32_t* base,vuint16m2_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(int32_t* base,vuint16m4_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(int64_t* base,vuint16mf4_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(int64_t* base,vuint16mf2_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(int64_t* base,vuint16m1_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(int64_t* base,vuint16m2_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(uint8_t* base,vuint16mf4_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(uint8_t* base,vuint16mf2_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(uint8_t* base,vuint16m1_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(uint8_t* base,vuint16m2_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(uint8_t* base,vuint16m4_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(uint8_t* base,vuint16m8_t bindex,vuint8m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(uint16_t* base,vuint16mf4_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(uint16_t* base,vuint16mf2_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(uint16_t* base,vuint16m1_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(uint16_t* base,vuint16m2_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(uint16_t* base,vuint16m4_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(uint16_t* base,vuint16m8_t bindex,vuint16m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(uint32_t* base,vuint16mf4_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(uint32_t* base,vuint16mf2_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(uint32_t* base,vuint16m1_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(uint32_t* base,vuint16m2_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(uint32_t* base,vuint16m4_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(uint64_t* base,vuint16mf4_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(uint64_t* base,vuint16mf2_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(uint64_t* base,vuint16m1_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(uint64_t* base,vuint16m2_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(float* base,vuint16mf4_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(float* base,vuint16mf2_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(float* base,vuint16m1_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(float* base,vuint16m2_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(float* base,vuint16m4_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(double* base,vuint16mf4_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(double* base,vuint16mf2_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(double* base,vuint16m1_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(double* base,vuint16m2_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,int8_t* base,vuint16mf4_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,int8_t* base,vuint16mf2_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,int8_t* base,vuint16m1_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,int8_t* base,vuint16m2_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool4_t mask,int8_t* base,vuint16m4_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool2_t mask,int8_t* base,vuint16m8_t bindex,vint8m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,int16_t* base,vuint16mf4_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,int16_t* base,vuint16mf2_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,int16_t* base,vuint16m1_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,int16_t* base,vuint16m2_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool4_t mask,int16_t* base,vuint16m4_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool2_t mask,int16_t* base,vuint16m8_t bindex,vint16m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,int32_t* base,vuint16mf4_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,int32_t* base,vuint16mf2_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,int32_t* base,vuint16m1_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,int32_t* base,vuint16m2_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool4_t mask,int32_t* base,vuint16m4_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,int64_t* base,vuint16mf4_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,int64_t* base,vuint16mf2_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,int64_t* base,vuint16m1_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,int64_t* base,vuint16m2_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,uint8_t* base,vuint16mf4_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,uint8_t* base,vuint16mf2_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,uint8_t* base,vuint16m1_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,uint8_t* base,vuint16m2_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool4_t mask,uint8_t* base,vuint16m4_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool2_t mask,uint8_t* base,vuint16m8_t bindex,vuint8m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,uint16_t* base,vuint16mf4_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,uint16_t* base,vuint16mf2_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,uint16_t* base,vuint16m1_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,uint16_t* base,vuint16m2_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool4_t mask,uint16_t* base,vuint16m4_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool2_t mask,uint16_t* base,vuint16m8_t bindex,vuint16m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,uint32_t* base,vuint16mf4_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,uint32_t* base,vuint16mf2_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,uint32_t* base,vuint16m1_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,uint32_t* base,vuint16m2_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool4_t mask,uint32_t* base,vuint16m4_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,uint64_t* base,vuint16mf4_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,uint64_t* base,vuint16mf2_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,uint64_t* base,vuint16m1_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,uint64_t* base,vuint16m2_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,float* base,vuint16mf4_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,float* base,vuint16mf2_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,float* base,vuint16m1_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,float* base,vuint16m2_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool4_t mask,float* base,vuint16m4_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,double* base,vuint16mf4_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,double* base,vuint16mf2_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,double* base,vuint16m1_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,double* base,vuint16m2_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,vl); > +} > + > + > + > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei16-2.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei16-2.C > new file mode 100644 > index 00000000000..8131d2c2649 > --- /dev/null > +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei16-2.C > @@ -0,0 +1,660 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsuxei16(int8_t* base,vuint16mf4_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(int8_t* base,vuint16mf2_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(int8_t* base,vuint16m1_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(int8_t* base,vuint16m2_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(int8_t* base,vuint16m4_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(int8_t* base,vuint16m8_t bindex,vint8m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(int16_t* base,vuint16mf4_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(int16_t* base,vuint16mf2_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(int16_t* base,vuint16m1_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(int16_t* base,vuint16m2_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(int16_t* base,vuint16m4_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(int16_t* base,vuint16m8_t bindex,vint16m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(int32_t* base,vuint16mf4_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(int32_t* base,vuint16mf2_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(int32_t* base,vuint16m1_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(int32_t* base,vuint16m2_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(int32_t* base,vuint16m4_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(int64_t* base,vuint16mf4_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(int64_t* base,vuint16mf2_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(int64_t* base,vuint16m1_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(int64_t* base,vuint16m2_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(uint8_t* base,vuint16mf4_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(uint8_t* base,vuint16mf2_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(uint8_t* base,vuint16m1_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(uint8_t* base,vuint16m2_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(uint8_t* base,vuint16m4_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(uint8_t* base,vuint16m8_t bindex,vuint8m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(uint16_t* base,vuint16mf4_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(uint16_t* base,vuint16mf2_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(uint16_t* base,vuint16m1_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(uint16_t* base,vuint16m2_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(uint16_t* base,vuint16m4_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(uint16_t* base,vuint16m8_t bindex,vuint16m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(uint32_t* base,vuint16mf4_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(uint32_t* base,vuint16mf2_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(uint32_t* base,vuint16m1_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(uint32_t* base,vuint16m2_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(uint32_t* base,vuint16m4_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(uint64_t* base,vuint16mf4_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(uint64_t* base,vuint16mf2_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(uint64_t* base,vuint16m1_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(uint64_t* base,vuint16m2_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(float* base,vuint16mf4_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(float* base,vuint16mf2_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(float* base,vuint16m1_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(float* base,vuint16m2_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(float* base,vuint16m4_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(double* base,vuint16mf4_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(double* base,vuint16mf2_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(double* base,vuint16m1_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(double* base,vuint16m2_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,int8_t* base,vuint16mf4_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,int8_t* base,vuint16mf2_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,int8_t* base,vuint16m1_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,int8_t* base,vuint16m2_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool4_t mask,int8_t* base,vuint16m4_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool2_t mask,int8_t* base,vuint16m8_t bindex,vint8m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,int16_t* base,vuint16mf4_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,int16_t* base,vuint16mf2_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,int16_t* base,vuint16m1_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,int16_t* base,vuint16m2_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool4_t mask,int16_t* base,vuint16m4_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool2_t mask,int16_t* base,vuint16m8_t bindex,vint16m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,int32_t* base,vuint16mf4_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,int32_t* base,vuint16mf2_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,int32_t* base,vuint16m1_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,int32_t* base,vuint16m2_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool4_t mask,int32_t* base,vuint16m4_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,int64_t* base,vuint16mf4_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,int64_t* base,vuint16mf2_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,int64_t* base,vuint16m1_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,int64_t* base,vuint16m2_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,uint8_t* base,vuint16mf4_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,uint8_t* base,vuint16mf2_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,uint8_t* base,vuint16m1_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,uint8_t* base,vuint16m2_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool4_t mask,uint8_t* base,vuint16m4_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool2_t mask,uint8_t* base,vuint16m8_t bindex,vuint8m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,uint16_t* base,vuint16mf4_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,uint16_t* base,vuint16mf2_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,uint16_t* base,vuint16m1_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,uint16_t* base,vuint16m2_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool4_t mask,uint16_t* base,vuint16m4_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool2_t mask,uint16_t* base,vuint16m8_t bindex,vuint16m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,uint32_t* base,vuint16mf4_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,uint32_t* base,vuint16mf2_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,uint32_t* base,vuint16m1_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,uint32_t* base,vuint16m2_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool4_t mask,uint32_t* base,vuint16m4_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,uint64_t* base,vuint16mf4_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,uint64_t* base,vuint16mf2_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,uint64_t* base,vuint16m1_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,uint64_t* base,vuint16m2_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,float* base,vuint16mf4_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,float* base,vuint16mf2_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,float* base,vuint16m1_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,float* base,vuint16m2_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool4_t mask,float* base,vuint16m4_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,double* base,vuint16mf4_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,double* base,vuint16mf2_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,double* base,vuint16m1_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,double* base,vuint16m2_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,31); > +} > + > + > + > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei16-3.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei16-3.C > new file mode 100644 > index 00000000000..01fc4f631fa > --- /dev/null > +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei16-3.C > @@ -0,0 +1,660 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsuxei16(int8_t* base,vuint16mf4_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(int8_t* base,vuint16mf2_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(int8_t* base,vuint16m1_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(int8_t* base,vuint16m2_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(int8_t* base,vuint16m4_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(int8_t* base,vuint16m8_t bindex,vint8m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(int16_t* base,vuint16mf4_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(int16_t* base,vuint16mf2_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(int16_t* base,vuint16m1_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(int16_t* base,vuint16m2_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(int16_t* base,vuint16m4_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(int16_t* base,vuint16m8_t bindex,vint16m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(int32_t* base,vuint16mf4_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(int32_t* base,vuint16mf2_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(int32_t* base,vuint16m1_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(int32_t* base,vuint16m2_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(int32_t* base,vuint16m4_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(int64_t* base,vuint16mf4_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(int64_t* base,vuint16mf2_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(int64_t* base,vuint16m1_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(int64_t* base,vuint16m2_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(uint8_t* base,vuint16mf4_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(uint8_t* base,vuint16mf2_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(uint8_t* base,vuint16m1_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(uint8_t* base,vuint16m2_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(uint8_t* base,vuint16m4_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(uint8_t* base,vuint16m8_t bindex,vuint8m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(uint16_t* base,vuint16mf4_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(uint16_t* base,vuint16mf2_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(uint16_t* base,vuint16m1_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(uint16_t* base,vuint16m2_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(uint16_t* base,vuint16m4_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(uint16_t* base,vuint16m8_t bindex,vuint16m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(uint32_t* base,vuint16mf4_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(uint32_t* base,vuint16mf2_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(uint32_t* base,vuint16m1_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(uint32_t* base,vuint16m2_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(uint32_t* base,vuint16m4_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(uint64_t* base,vuint16mf4_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(uint64_t* base,vuint16mf2_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(uint64_t* base,vuint16m1_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(uint64_t* base,vuint16m2_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(float* base,vuint16mf4_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(float* base,vuint16mf2_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(float* base,vuint16m1_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(float* base,vuint16m2_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(float* base,vuint16m4_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(double* base,vuint16mf4_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(double* base,vuint16mf2_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(double* base,vuint16m1_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(double* base,vuint16m2_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,int8_t* base,vuint16mf4_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,int8_t* base,vuint16mf2_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,int8_t* base,vuint16m1_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,int8_t* base,vuint16m2_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool4_t mask,int8_t* base,vuint16m4_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool2_t mask,int8_t* base,vuint16m8_t bindex,vint8m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,int16_t* base,vuint16mf4_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,int16_t* base,vuint16mf2_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,int16_t* base,vuint16m1_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,int16_t* base,vuint16m2_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool4_t mask,int16_t* base,vuint16m4_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool2_t mask,int16_t* base,vuint16m8_t bindex,vint16m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,int32_t* base,vuint16mf4_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,int32_t* base,vuint16mf2_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,int32_t* base,vuint16m1_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,int32_t* base,vuint16m2_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool4_t mask,int32_t* base,vuint16m4_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,int64_t* base,vuint16mf4_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,int64_t* base,vuint16mf2_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,int64_t* base,vuint16m1_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,int64_t* base,vuint16m2_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,uint8_t* base,vuint16mf4_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,uint8_t* base,vuint16mf2_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,uint8_t* base,vuint16m1_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,uint8_t* base,vuint16m2_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool4_t mask,uint8_t* base,vuint16m4_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool2_t mask,uint8_t* base,vuint16m8_t bindex,vuint8m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,uint16_t* base,vuint16mf4_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,uint16_t* base,vuint16mf2_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,uint16_t* base,vuint16m1_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,uint16_t* base,vuint16m2_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool4_t mask,uint16_t* base,vuint16m4_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool2_t mask,uint16_t* base,vuint16m8_t bindex,vuint16m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,uint32_t* base,vuint16mf4_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,uint32_t* base,vuint16mf2_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,uint32_t* base,vuint16m1_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,uint32_t* base,vuint16m2_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool4_t mask,uint32_t* base,vuint16m4_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,uint64_t* base,vuint16mf4_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,uint64_t* base,vuint16mf2_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,uint64_t* base,vuint16m1_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,uint64_t* base,vuint16m2_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,float* base,vuint16mf4_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,float* base,vuint16mf2_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,float* base,vuint16m1_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,float* base,vuint16m2_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool4_t mask,float* base,vuint16m4_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool64_t mask,double* base,vuint16mf4_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool32_t mask,double* base,vuint16mf2_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool16_t mask,double* base,vuint16m1_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei16(vbool8_t mask,double* base,vuint16m2_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsuxei16(mask,base,bindex,value,32); > +} > + > + > + > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei32-1.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei32-1.C > new file mode 100644 > index 00000000000..8a00db8b5c9 > --- /dev/null > +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei32-1.C > @@ -0,0 +1,608 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsuxei32(int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool4_t mask,int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool4_t mask,int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool4_t mask,int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool4_t mask,uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool4_t mask,uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool4_t mask,uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool4_t mask,float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,vl); > +} > + > + > + > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei32-2.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei32-2.C > new file mode 100644 > index 00000000000..b7bfa42a374 > --- /dev/null > +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei32-2.C > @@ -0,0 +1,608 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsuxei32(int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool4_t mask,int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool4_t mask,int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool4_t mask,int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool4_t mask,uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool4_t mask,uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool4_t mask,uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool4_t mask,float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,31); > +} > + > + > + > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei32-3.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei32-3.C > new file mode 100644 > index 00000000000..381fbe46956 > --- /dev/null > +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei32-3.C > @@ -0,0 +1,608 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsuxei32(int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool4_t mask,int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool4_t mask,int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool4_t mask,int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool4_t mask,uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool4_t mask,uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool4_t mask,uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool4_t mask,float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool64_t mask,double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool32_t mask,double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool16_t mask,double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei32(vbool8_t mask,double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsuxei32(mask,base,bindex,value,32); > +} > + > + > + > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei64-1.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei64-1.C > new file mode 100644 > index 00000000000..93c598e56b2 > --- /dev/null > +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei64-1.C > @@ -0,0 +1,518 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsuxei64(int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,vl); > +} > + > + > + > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei64-2.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei64-2.C > new file mode 100644 > index 00000000000..7dcb7c67057 > --- /dev/null > +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei64-2.C > @@ -0,0 +1,518 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsuxei64(int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,31); > +} > + > + > + > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei64-3.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei64-3.C > new file mode 100644 > index 00000000000..f38adc8eec9 > --- /dev/null > +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei64-3.C > @@ -0,0 +1,518 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsuxei64(int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsuxei64(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool64_t mask,double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool32_t mask,double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool16_t mask,double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei64(vbool8_t mask,double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsuxei64(mask,base,bindex,value,32); > +} > + > + > + > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei8-1.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei8-1.C > new file mode 100644 > index 00000000000..dc4ff4ff483 > --- /dev/null > +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei8-1.C > @@ -0,0 +1,686 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsuxei8(int8_t* base,vuint8mf8_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(int8_t* base,vuint8mf4_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(int8_t* base,vuint8mf2_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(int8_t* base,vuint8m1_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(int8_t* base,vuint8m2_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(int8_t* base,vuint8m4_t bindex,vint8m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(int8_t* base,vuint8m8_t bindex,vint8m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(int16_t* base,vuint8mf8_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(int16_t* base,vuint8mf4_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(int16_t* base,vuint8mf2_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(int16_t* base,vuint8m1_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(int16_t* base,vuint8m2_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(int16_t* base,vuint8m4_t bindex,vint16m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(int32_t* base,vuint8mf8_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(int32_t* base,vuint8mf4_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(int32_t* base,vuint8mf2_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(int32_t* base,vuint8m1_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(int32_t* base,vuint8m2_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(int64_t* base,vuint8mf8_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(int64_t* base,vuint8mf4_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(int64_t* base,vuint8mf2_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(int64_t* base,vuint8m1_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(uint8_t* base,vuint8mf8_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(uint8_t* base,vuint8mf4_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(uint8_t* base,vuint8mf2_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(uint8_t* base,vuint8m1_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(uint8_t* base,vuint8m2_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(uint8_t* base,vuint8m4_t bindex,vuint8m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(uint8_t* base,vuint8m8_t bindex,vuint8m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(uint16_t* base,vuint8mf8_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(uint16_t* base,vuint8mf4_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(uint16_t* base,vuint8mf2_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(uint16_t* base,vuint8m1_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(uint16_t* base,vuint8m2_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(uint16_t* base,vuint8m4_t bindex,vuint16m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(uint32_t* base,vuint8mf8_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(uint32_t* base,vuint8mf4_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(uint32_t* base,vuint8mf2_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(uint32_t* base,vuint8m1_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(uint32_t* base,vuint8m2_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(uint64_t* base,vuint8mf8_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(uint64_t* base,vuint8mf4_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(uint64_t* base,vuint8mf2_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(uint64_t* base,vuint8m1_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(float* base,vuint8mf8_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(float* base,vuint8mf4_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(float* base,vuint8mf2_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(float* base,vuint8m1_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(float* base,vuint8m2_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(double* base,vuint8mf8_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(double* base,vuint8mf4_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(double* base,vuint8mf2_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(double* base,vuint8m1_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,int8_t* base,vuint8mf8_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,int8_t* base,vuint8mf4_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,int8_t* base,vuint8mf2_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,int8_t* base,vuint8m1_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool4_t mask,int8_t* base,vuint8m2_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool2_t mask,int8_t* base,vuint8m4_t bindex,vint8m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool1_t mask,int8_t* base,vuint8m8_t bindex,vint8m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,int16_t* base,vuint8mf8_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,int16_t* base,vuint8mf4_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,int16_t* base,vuint8mf2_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,int16_t* base,vuint8m1_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool4_t mask,int16_t* base,vuint8m2_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool2_t mask,int16_t* base,vuint8m4_t bindex,vint16m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,int32_t* base,vuint8mf8_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,int32_t* base,vuint8mf4_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,int32_t* base,vuint8mf2_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,int32_t* base,vuint8m1_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool4_t mask,int32_t* base,vuint8m2_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,int64_t* base,vuint8mf8_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,int64_t* base,vuint8mf4_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,int64_t* base,vuint8mf2_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,int64_t* base,vuint8m1_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,uint8_t* base,vuint8mf8_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,uint8_t* base,vuint8mf4_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,uint8_t* base,vuint8mf2_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,uint8_t* base,vuint8m1_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool4_t mask,uint8_t* base,vuint8m2_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool2_t mask,uint8_t* base,vuint8m4_t bindex,vuint8m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool1_t mask,uint8_t* base,vuint8m8_t bindex,vuint8m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,uint16_t* base,vuint8mf8_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,uint16_t* base,vuint8mf4_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,uint16_t* base,vuint8mf2_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,uint16_t* base,vuint8m1_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool4_t mask,uint16_t* base,vuint8m2_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool2_t mask,uint16_t* base,vuint8m4_t bindex,vuint16m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,uint32_t* base,vuint8mf8_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,uint32_t* base,vuint8mf4_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,uint32_t* base,vuint8mf2_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,uint32_t* base,vuint8m1_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool4_t mask,uint32_t* base,vuint8m2_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,uint64_t* base,vuint8mf8_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,uint64_t* base,vuint8mf4_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,uint64_t* base,vuint8mf2_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,uint64_t* base,vuint8m1_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,float* base,vuint8mf8_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,float* base,vuint8mf4_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,float* base,vuint8mf2_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,float* base,vuint8m1_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool4_t mask,float* base,vuint8m2_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,double* base,vuint8mf8_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,double* base,vuint8mf4_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,double* base,vuint8mf2_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,double* base,vuint8m1_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,vl); > +} > + > + > + > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei8-2.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei8-2.C > new file mode 100644 > index 00000000000..f6891acf982 > --- /dev/null > +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei8-2.C > @@ -0,0 +1,686 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsuxei8(int8_t* base,vuint8mf8_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(int8_t* base,vuint8mf4_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(int8_t* base,vuint8mf2_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(int8_t* base,vuint8m1_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(int8_t* base,vuint8m2_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(int8_t* base,vuint8m4_t bindex,vint8m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(int8_t* base,vuint8m8_t bindex,vint8m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(int16_t* base,vuint8mf8_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(int16_t* base,vuint8mf4_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(int16_t* base,vuint8mf2_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(int16_t* base,vuint8m1_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(int16_t* base,vuint8m2_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(int16_t* base,vuint8m4_t bindex,vint16m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(int32_t* base,vuint8mf8_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(int32_t* base,vuint8mf4_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(int32_t* base,vuint8mf2_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(int32_t* base,vuint8m1_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(int32_t* base,vuint8m2_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(int64_t* base,vuint8mf8_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(int64_t* base,vuint8mf4_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(int64_t* base,vuint8mf2_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(int64_t* base,vuint8m1_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(uint8_t* base,vuint8mf8_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(uint8_t* base,vuint8mf4_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(uint8_t* base,vuint8mf2_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(uint8_t* base,vuint8m1_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(uint8_t* base,vuint8m2_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(uint8_t* base,vuint8m4_t bindex,vuint8m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(uint8_t* base,vuint8m8_t bindex,vuint8m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(uint16_t* base,vuint8mf8_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(uint16_t* base,vuint8mf4_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(uint16_t* base,vuint8mf2_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(uint16_t* base,vuint8m1_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(uint16_t* base,vuint8m2_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(uint16_t* base,vuint8m4_t bindex,vuint16m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(uint32_t* base,vuint8mf8_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(uint32_t* base,vuint8mf4_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(uint32_t* base,vuint8mf2_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(uint32_t* base,vuint8m1_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(uint32_t* base,vuint8m2_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(uint64_t* base,vuint8mf8_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(uint64_t* base,vuint8mf4_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(uint64_t* base,vuint8mf2_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(uint64_t* base,vuint8m1_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(float* base,vuint8mf8_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(float* base,vuint8mf4_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(float* base,vuint8mf2_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(float* base,vuint8m1_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(float* base,vuint8m2_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(double* base,vuint8mf8_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(double* base,vuint8mf4_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(double* base,vuint8mf2_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(double* base,vuint8m1_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,int8_t* base,vuint8mf8_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,int8_t* base,vuint8mf4_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,int8_t* base,vuint8mf2_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,int8_t* base,vuint8m1_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool4_t mask,int8_t* base,vuint8m2_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool2_t mask,int8_t* base,vuint8m4_t bindex,vint8m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool1_t mask,int8_t* base,vuint8m8_t bindex,vint8m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,int16_t* base,vuint8mf8_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,int16_t* base,vuint8mf4_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,int16_t* base,vuint8mf2_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,int16_t* base,vuint8m1_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool4_t mask,int16_t* base,vuint8m2_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool2_t mask,int16_t* base,vuint8m4_t bindex,vint16m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,int32_t* base,vuint8mf8_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,int32_t* base,vuint8mf4_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,int32_t* base,vuint8mf2_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,int32_t* base,vuint8m1_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool4_t mask,int32_t* base,vuint8m2_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,int64_t* base,vuint8mf8_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,int64_t* base,vuint8mf4_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,int64_t* base,vuint8mf2_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,int64_t* base,vuint8m1_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,uint8_t* base,vuint8mf8_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,uint8_t* base,vuint8mf4_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,uint8_t* base,vuint8mf2_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,uint8_t* base,vuint8m1_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool4_t mask,uint8_t* base,vuint8m2_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool2_t mask,uint8_t* base,vuint8m4_t bindex,vuint8m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool1_t mask,uint8_t* base,vuint8m8_t bindex,vuint8m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,uint16_t* base,vuint8mf8_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,uint16_t* base,vuint8mf4_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,uint16_t* base,vuint8mf2_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,uint16_t* base,vuint8m1_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool4_t mask,uint16_t* base,vuint8m2_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool2_t mask,uint16_t* base,vuint8m4_t bindex,vuint16m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,uint32_t* base,vuint8mf8_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,uint32_t* base,vuint8mf4_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,uint32_t* base,vuint8mf2_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,uint32_t* base,vuint8m1_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool4_t mask,uint32_t* base,vuint8m2_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,uint64_t* base,vuint8mf8_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,uint64_t* base,vuint8mf4_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,uint64_t* base,vuint8mf2_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,uint64_t* base,vuint8m1_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,float* base,vuint8mf8_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,float* base,vuint8mf4_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,float* base,vuint8mf2_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,float* base,vuint8m1_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool4_t mask,float* base,vuint8m2_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,double* base,vuint8mf8_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,double* base,vuint8mf4_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,double* base,vuint8mf2_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,double* base,vuint8m1_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,31); > +} > + > + > + > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei8-3.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei8-3.C > new file mode 100644 > index 00000000000..59ff5806833 > --- /dev/null > +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei8-3.C > @@ -0,0 +1,686 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsuxei8(int8_t* base,vuint8mf8_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(int8_t* base,vuint8mf4_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(int8_t* base,vuint8mf2_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(int8_t* base,vuint8m1_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(int8_t* base,vuint8m2_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(int8_t* base,vuint8m4_t bindex,vint8m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(int8_t* base,vuint8m8_t bindex,vint8m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(int16_t* base,vuint8mf8_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(int16_t* base,vuint8mf4_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(int16_t* base,vuint8mf2_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(int16_t* base,vuint8m1_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(int16_t* base,vuint8m2_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(int16_t* base,vuint8m4_t bindex,vint16m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(int32_t* base,vuint8mf8_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(int32_t* base,vuint8mf4_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(int32_t* base,vuint8mf2_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(int32_t* base,vuint8m1_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(int32_t* base,vuint8m2_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(int64_t* base,vuint8mf8_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(int64_t* base,vuint8mf4_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(int64_t* base,vuint8mf2_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(int64_t* base,vuint8m1_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(uint8_t* base,vuint8mf8_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(uint8_t* base,vuint8mf4_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(uint8_t* base,vuint8mf2_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(uint8_t* base,vuint8m1_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(uint8_t* base,vuint8m2_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(uint8_t* base,vuint8m4_t bindex,vuint8m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(uint8_t* base,vuint8m8_t bindex,vuint8m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(uint16_t* base,vuint8mf8_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(uint16_t* base,vuint8mf4_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(uint16_t* base,vuint8mf2_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(uint16_t* base,vuint8m1_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(uint16_t* base,vuint8m2_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(uint16_t* base,vuint8m4_t bindex,vuint16m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(uint32_t* base,vuint8mf8_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(uint32_t* base,vuint8mf4_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(uint32_t* base,vuint8mf2_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(uint32_t* base,vuint8m1_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(uint32_t* base,vuint8m2_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(uint64_t* base,vuint8mf8_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(uint64_t* base,vuint8mf4_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(uint64_t* base,vuint8mf2_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(uint64_t* base,vuint8m1_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(float* base,vuint8mf8_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(float* base,vuint8mf4_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(float* base,vuint8mf2_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(float* base,vuint8m1_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(float* base,vuint8m2_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(double* base,vuint8mf8_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(double* base,vuint8mf4_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(double* base,vuint8mf2_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(double* base,vuint8m1_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,int8_t* base,vuint8mf8_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,int8_t* base,vuint8mf4_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,int8_t* base,vuint8mf2_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,int8_t* base,vuint8m1_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool4_t mask,int8_t* base,vuint8m2_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool2_t mask,int8_t* base,vuint8m4_t bindex,vint8m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool1_t mask,int8_t* base,vuint8m8_t bindex,vint8m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,int16_t* base,vuint8mf8_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,int16_t* base,vuint8mf4_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,int16_t* base,vuint8mf2_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,int16_t* base,vuint8m1_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool4_t mask,int16_t* base,vuint8m2_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool2_t mask,int16_t* base,vuint8m4_t bindex,vint16m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,int32_t* base,vuint8mf8_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,int32_t* base,vuint8mf4_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,int32_t* base,vuint8mf2_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,int32_t* base,vuint8m1_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool4_t mask,int32_t* base,vuint8m2_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,int64_t* base,vuint8mf8_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,int64_t* base,vuint8mf4_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,int64_t* base,vuint8mf2_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,int64_t* base,vuint8m1_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,uint8_t* base,vuint8mf8_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,uint8_t* base,vuint8mf4_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,uint8_t* base,vuint8mf2_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,uint8_t* base,vuint8m1_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool4_t mask,uint8_t* base,vuint8m2_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool2_t mask,uint8_t* base,vuint8m4_t bindex,vuint8m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool1_t mask,uint8_t* base,vuint8m8_t bindex,vuint8m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,uint16_t* base,vuint8mf8_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,uint16_t* base,vuint8mf4_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,uint16_t* base,vuint8mf2_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,uint16_t* base,vuint8m1_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool4_t mask,uint16_t* base,vuint8m2_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool2_t mask,uint16_t* base,vuint8m4_t bindex,vuint16m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,uint32_t* base,vuint8mf8_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,uint32_t* base,vuint8mf4_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,uint32_t* base,vuint8mf2_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,uint32_t* base,vuint8m1_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool4_t mask,uint32_t* base,vuint8m2_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,uint64_t* base,vuint8mf8_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,uint64_t* base,vuint8mf4_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,uint64_t* base,vuint8mf2_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,uint64_t* base,vuint8m1_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,float* base,vuint8mf8_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,float* base,vuint8mf4_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,float* base,vuint8mf2_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,float* base,vuint8m1_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool4_t mask,float* base,vuint8m2_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool64_t mask,double* base,vuint8mf8_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool32_t mask,double* base,vuint8mf4_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool16_t mask,double* base,vuint8mf2_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsuxei8(vbool8_t mask,double* base,vuint8m1_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsuxei8(mask,base,bindex,value,32); > +} > + > + > + > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > -- > 2.36.1 >
diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei16-1.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei16-1.C new file mode 100644 index 00000000000..85d4dbe024e --- /dev/null +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei16-1.C @@ -0,0 +1,660 @@ +/* { dg-do compile } */ +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ + +#include "riscv_vector.h" + +void test___riscv_vsuxei16(int8_t* base,vuint16mf4_t bindex,vint8mf8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(int8_t* base,vuint16mf2_t bindex,vint8mf4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(int8_t* base,vuint16m1_t bindex,vint8mf2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(int8_t* base,vuint16m2_t bindex,vint8m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(int8_t* base,vuint16m4_t bindex,vint8m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(int8_t* base,vuint16m8_t bindex,vint8m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(int16_t* base,vuint16mf4_t bindex,vint16mf4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(int16_t* base,vuint16mf2_t bindex,vint16mf2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(int16_t* base,vuint16m1_t bindex,vint16m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(int16_t* base,vuint16m2_t bindex,vint16m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(int16_t* base,vuint16m4_t bindex,vint16m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(int16_t* base,vuint16m8_t bindex,vint16m8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(int32_t* base,vuint16mf4_t bindex,vint32mf2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(int32_t* base,vuint16mf2_t bindex,vint32m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(int32_t* base,vuint16m1_t bindex,vint32m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(int32_t* base,vuint16m2_t bindex,vint32m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(int32_t* base,vuint16m4_t bindex,vint32m8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(int64_t* base,vuint16mf4_t bindex,vint64m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(int64_t* base,vuint16mf2_t bindex,vint64m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(int64_t* base,vuint16m1_t bindex,vint64m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(int64_t* base,vuint16m2_t bindex,vint64m8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(uint8_t* base,vuint16mf4_t bindex,vuint8mf8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(uint8_t* base,vuint16mf2_t bindex,vuint8mf4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(uint8_t* base,vuint16m1_t bindex,vuint8mf2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(uint8_t* base,vuint16m2_t bindex,vuint8m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(uint8_t* base,vuint16m4_t bindex,vuint8m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(uint8_t* base,vuint16m8_t bindex,vuint8m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(uint16_t* base,vuint16mf4_t bindex,vuint16mf4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(uint16_t* base,vuint16mf2_t bindex,vuint16mf2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(uint16_t* base,vuint16m1_t bindex,vuint16m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(uint16_t* base,vuint16m2_t bindex,vuint16m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(uint16_t* base,vuint16m4_t bindex,vuint16m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(uint16_t* base,vuint16m8_t bindex,vuint16m8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(uint32_t* base,vuint16mf4_t bindex,vuint32mf2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(uint32_t* base,vuint16mf2_t bindex,vuint32m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(uint32_t* base,vuint16m1_t bindex,vuint32m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(uint32_t* base,vuint16m2_t bindex,vuint32m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(uint32_t* base,vuint16m4_t bindex,vuint32m8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(uint64_t* base,vuint16mf4_t bindex,vuint64m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(uint64_t* base,vuint16mf2_t bindex,vuint64m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(uint64_t* base,vuint16m1_t bindex,vuint64m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(uint64_t* base,vuint16m2_t bindex,vuint64m8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(float* base,vuint16mf4_t bindex,vfloat32mf2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(float* base,vuint16mf2_t bindex,vfloat32m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(float* base,vuint16m1_t bindex,vfloat32m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(float* base,vuint16m2_t bindex,vfloat32m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(float* base,vuint16m4_t bindex,vfloat32m8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(double* base,vuint16mf4_t bindex,vfloat64m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(double* base,vuint16mf2_t bindex,vfloat64m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(double* base,vuint16m1_t bindex,vfloat64m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(double* base,vuint16m2_t bindex,vfloat64m8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool64_t mask,int8_t* base,vuint16mf4_t bindex,vint8mf8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool32_t mask,int8_t* base,vuint16mf2_t bindex,vint8mf4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool16_t mask,int8_t* base,vuint16m1_t bindex,vint8mf2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool8_t mask,int8_t* base,vuint16m2_t bindex,vint8m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool4_t mask,int8_t* base,vuint16m4_t bindex,vint8m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool2_t mask,int8_t* base,vuint16m8_t bindex,vint8m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool64_t mask,int16_t* base,vuint16mf4_t bindex,vint16mf4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool32_t mask,int16_t* base,vuint16mf2_t bindex,vint16mf2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool16_t mask,int16_t* base,vuint16m1_t bindex,vint16m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool8_t mask,int16_t* base,vuint16m2_t bindex,vint16m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool4_t mask,int16_t* base,vuint16m4_t bindex,vint16m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool2_t mask,int16_t* base,vuint16m8_t bindex,vint16m8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool64_t mask,int32_t* base,vuint16mf4_t bindex,vint32mf2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool32_t mask,int32_t* base,vuint16mf2_t bindex,vint32m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool16_t mask,int32_t* base,vuint16m1_t bindex,vint32m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool8_t mask,int32_t* base,vuint16m2_t bindex,vint32m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool4_t mask,int32_t* base,vuint16m4_t bindex,vint32m8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool64_t mask,int64_t* base,vuint16mf4_t bindex,vint64m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool32_t mask,int64_t* base,vuint16mf2_t bindex,vint64m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool16_t mask,int64_t* base,vuint16m1_t bindex,vint64m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool8_t mask,int64_t* base,vuint16m2_t bindex,vint64m8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool64_t mask,uint8_t* base,vuint16mf4_t bindex,vuint8mf8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool32_t mask,uint8_t* base,vuint16mf2_t bindex,vuint8mf4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool16_t mask,uint8_t* base,vuint16m1_t bindex,vuint8mf2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool8_t mask,uint8_t* base,vuint16m2_t bindex,vuint8m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool4_t mask,uint8_t* base,vuint16m4_t bindex,vuint8m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool2_t mask,uint8_t* base,vuint16m8_t bindex,vuint8m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool64_t mask,uint16_t* base,vuint16mf4_t bindex,vuint16mf4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool32_t mask,uint16_t* base,vuint16mf2_t bindex,vuint16mf2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool16_t mask,uint16_t* base,vuint16m1_t bindex,vuint16m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool8_t mask,uint16_t* base,vuint16m2_t bindex,vuint16m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool4_t mask,uint16_t* base,vuint16m4_t bindex,vuint16m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool2_t mask,uint16_t* base,vuint16m8_t bindex,vuint16m8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool64_t mask,uint32_t* base,vuint16mf4_t bindex,vuint32mf2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool32_t mask,uint32_t* base,vuint16mf2_t bindex,vuint32m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool16_t mask,uint32_t* base,vuint16m1_t bindex,vuint32m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool8_t mask,uint32_t* base,vuint16m2_t bindex,vuint32m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool4_t mask,uint32_t* base,vuint16m4_t bindex,vuint32m8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool64_t mask,uint64_t* base,vuint16mf4_t bindex,vuint64m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool32_t mask,uint64_t* base,vuint16mf2_t bindex,vuint64m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool16_t mask,uint64_t* base,vuint16m1_t bindex,vuint64m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool8_t mask,uint64_t* base,vuint16m2_t bindex,vuint64m8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool64_t mask,float* base,vuint16mf4_t bindex,vfloat32mf2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool32_t mask,float* base,vuint16mf2_t bindex,vfloat32m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool16_t mask,float* base,vuint16m1_t bindex,vfloat32m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool8_t mask,float* base,vuint16m2_t bindex,vfloat32m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool4_t mask,float* base,vuint16m4_t bindex,vfloat32m8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool64_t mask,double* base,vuint16mf4_t bindex,vfloat64m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool32_t mask,double* base,vuint16mf2_t bindex,vfloat64m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool16_t mask,double* base,vuint16m1_t bindex,vfloat64m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei16(vbool8_t mask,double* base,vuint16m2_t bindex,vfloat64m8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,vl); +} + + + +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei16-2.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei16-2.C new file mode 100644 index 00000000000..8131d2c2649 --- /dev/null +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei16-2.C @@ -0,0 +1,660 @@ +/* { dg-do compile } */ +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ + +#include "riscv_vector.h" + +void test___riscv_vsuxei16(int8_t* base,vuint16mf4_t bindex,vint8mf8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(int8_t* base,vuint16mf2_t bindex,vint8mf4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(int8_t* base,vuint16m1_t bindex,vint8mf2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(int8_t* base,vuint16m2_t bindex,vint8m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(int8_t* base,vuint16m4_t bindex,vint8m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(int8_t* base,vuint16m8_t bindex,vint8m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(int16_t* base,vuint16mf4_t bindex,vint16mf4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(int16_t* base,vuint16mf2_t bindex,vint16mf2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(int16_t* base,vuint16m1_t bindex,vint16m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(int16_t* base,vuint16m2_t bindex,vint16m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(int16_t* base,vuint16m4_t bindex,vint16m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(int16_t* base,vuint16m8_t bindex,vint16m8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(int32_t* base,vuint16mf4_t bindex,vint32mf2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(int32_t* base,vuint16mf2_t bindex,vint32m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(int32_t* base,vuint16m1_t bindex,vint32m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(int32_t* base,vuint16m2_t bindex,vint32m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(int32_t* base,vuint16m4_t bindex,vint32m8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(int64_t* base,vuint16mf4_t bindex,vint64m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(int64_t* base,vuint16mf2_t bindex,vint64m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(int64_t* base,vuint16m1_t bindex,vint64m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(int64_t* base,vuint16m2_t bindex,vint64m8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(uint8_t* base,vuint16mf4_t bindex,vuint8mf8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(uint8_t* base,vuint16mf2_t bindex,vuint8mf4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(uint8_t* base,vuint16m1_t bindex,vuint8mf2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(uint8_t* base,vuint16m2_t bindex,vuint8m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(uint8_t* base,vuint16m4_t bindex,vuint8m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(uint8_t* base,vuint16m8_t bindex,vuint8m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(uint16_t* base,vuint16mf4_t bindex,vuint16mf4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(uint16_t* base,vuint16mf2_t bindex,vuint16mf2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(uint16_t* base,vuint16m1_t bindex,vuint16m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(uint16_t* base,vuint16m2_t bindex,vuint16m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(uint16_t* base,vuint16m4_t bindex,vuint16m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(uint16_t* base,vuint16m8_t bindex,vuint16m8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(uint32_t* base,vuint16mf4_t bindex,vuint32mf2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(uint32_t* base,vuint16mf2_t bindex,vuint32m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(uint32_t* base,vuint16m1_t bindex,vuint32m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(uint32_t* base,vuint16m2_t bindex,vuint32m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(uint32_t* base,vuint16m4_t bindex,vuint32m8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(uint64_t* base,vuint16mf4_t bindex,vuint64m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(uint64_t* base,vuint16mf2_t bindex,vuint64m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(uint64_t* base,vuint16m1_t bindex,vuint64m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(uint64_t* base,vuint16m2_t bindex,vuint64m8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(float* base,vuint16mf4_t bindex,vfloat32mf2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(float* base,vuint16mf2_t bindex,vfloat32m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(float* base,vuint16m1_t bindex,vfloat32m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(float* base,vuint16m2_t bindex,vfloat32m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(float* base,vuint16m4_t bindex,vfloat32m8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(double* base,vuint16mf4_t bindex,vfloat64m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(double* base,vuint16mf2_t bindex,vfloat64m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(double* base,vuint16m1_t bindex,vfloat64m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(double* base,vuint16m2_t bindex,vfloat64m8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool64_t mask,int8_t* base,vuint16mf4_t bindex,vint8mf8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool32_t mask,int8_t* base,vuint16mf2_t bindex,vint8mf4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool16_t mask,int8_t* base,vuint16m1_t bindex,vint8mf2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool8_t mask,int8_t* base,vuint16m2_t bindex,vint8m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool4_t mask,int8_t* base,vuint16m4_t bindex,vint8m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool2_t mask,int8_t* base,vuint16m8_t bindex,vint8m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool64_t mask,int16_t* base,vuint16mf4_t bindex,vint16mf4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool32_t mask,int16_t* base,vuint16mf2_t bindex,vint16mf2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool16_t mask,int16_t* base,vuint16m1_t bindex,vint16m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool8_t mask,int16_t* base,vuint16m2_t bindex,vint16m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool4_t mask,int16_t* base,vuint16m4_t bindex,vint16m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool2_t mask,int16_t* base,vuint16m8_t bindex,vint16m8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool64_t mask,int32_t* base,vuint16mf4_t bindex,vint32mf2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool32_t mask,int32_t* base,vuint16mf2_t bindex,vint32m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool16_t mask,int32_t* base,vuint16m1_t bindex,vint32m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool8_t mask,int32_t* base,vuint16m2_t bindex,vint32m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool4_t mask,int32_t* base,vuint16m4_t bindex,vint32m8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool64_t mask,int64_t* base,vuint16mf4_t bindex,vint64m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool32_t mask,int64_t* base,vuint16mf2_t bindex,vint64m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool16_t mask,int64_t* base,vuint16m1_t bindex,vint64m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool8_t mask,int64_t* base,vuint16m2_t bindex,vint64m8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool64_t mask,uint8_t* base,vuint16mf4_t bindex,vuint8mf8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool32_t mask,uint8_t* base,vuint16mf2_t bindex,vuint8mf4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool16_t mask,uint8_t* base,vuint16m1_t bindex,vuint8mf2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool8_t mask,uint8_t* base,vuint16m2_t bindex,vuint8m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool4_t mask,uint8_t* base,vuint16m4_t bindex,vuint8m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool2_t mask,uint8_t* base,vuint16m8_t bindex,vuint8m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool64_t mask,uint16_t* base,vuint16mf4_t bindex,vuint16mf4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool32_t mask,uint16_t* base,vuint16mf2_t bindex,vuint16mf2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool16_t mask,uint16_t* base,vuint16m1_t bindex,vuint16m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool8_t mask,uint16_t* base,vuint16m2_t bindex,vuint16m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool4_t mask,uint16_t* base,vuint16m4_t bindex,vuint16m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool2_t mask,uint16_t* base,vuint16m8_t bindex,vuint16m8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool64_t mask,uint32_t* base,vuint16mf4_t bindex,vuint32mf2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool32_t mask,uint32_t* base,vuint16mf2_t bindex,vuint32m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool16_t mask,uint32_t* base,vuint16m1_t bindex,vuint32m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool8_t mask,uint32_t* base,vuint16m2_t bindex,vuint32m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool4_t mask,uint32_t* base,vuint16m4_t bindex,vuint32m8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool64_t mask,uint64_t* base,vuint16mf4_t bindex,vuint64m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool32_t mask,uint64_t* base,vuint16mf2_t bindex,vuint64m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool16_t mask,uint64_t* base,vuint16m1_t bindex,vuint64m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool8_t mask,uint64_t* base,vuint16m2_t bindex,vuint64m8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool64_t mask,float* base,vuint16mf4_t bindex,vfloat32mf2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool32_t mask,float* base,vuint16mf2_t bindex,vfloat32m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool16_t mask,float* base,vuint16m1_t bindex,vfloat32m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool8_t mask,float* base,vuint16m2_t bindex,vfloat32m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool4_t mask,float* base,vuint16m4_t bindex,vfloat32m8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool64_t mask,double* base,vuint16mf4_t bindex,vfloat64m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool32_t mask,double* base,vuint16mf2_t bindex,vfloat64m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool16_t mask,double* base,vuint16m1_t bindex,vfloat64m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei16(vbool8_t mask,double* base,vuint16m2_t bindex,vfloat64m8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,31); +} + + + +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei16-3.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei16-3.C new file mode 100644 index 00000000000..01fc4f631fa --- /dev/null +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei16-3.C @@ -0,0 +1,660 @@ +/* { dg-do compile } */ +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ + +#include "riscv_vector.h" + +void test___riscv_vsuxei16(int8_t* base,vuint16mf4_t bindex,vint8mf8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(int8_t* base,vuint16mf2_t bindex,vint8mf4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(int8_t* base,vuint16m1_t bindex,vint8mf2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(int8_t* base,vuint16m2_t bindex,vint8m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(int8_t* base,vuint16m4_t bindex,vint8m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(int8_t* base,vuint16m8_t bindex,vint8m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(int16_t* base,vuint16mf4_t bindex,vint16mf4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(int16_t* base,vuint16mf2_t bindex,vint16mf2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(int16_t* base,vuint16m1_t bindex,vint16m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(int16_t* base,vuint16m2_t bindex,vint16m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(int16_t* base,vuint16m4_t bindex,vint16m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(int16_t* base,vuint16m8_t bindex,vint16m8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(int32_t* base,vuint16mf4_t bindex,vint32mf2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(int32_t* base,vuint16mf2_t bindex,vint32m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(int32_t* base,vuint16m1_t bindex,vint32m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(int32_t* base,vuint16m2_t bindex,vint32m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(int32_t* base,vuint16m4_t bindex,vint32m8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(int64_t* base,vuint16mf4_t bindex,vint64m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(int64_t* base,vuint16mf2_t bindex,vint64m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(int64_t* base,vuint16m1_t bindex,vint64m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(int64_t* base,vuint16m2_t bindex,vint64m8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(uint8_t* base,vuint16mf4_t bindex,vuint8mf8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(uint8_t* base,vuint16mf2_t bindex,vuint8mf4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(uint8_t* base,vuint16m1_t bindex,vuint8mf2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(uint8_t* base,vuint16m2_t bindex,vuint8m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(uint8_t* base,vuint16m4_t bindex,vuint8m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(uint8_t* base,vuint16m8_t bindex,vuint8m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(uint16_t* base,vuint16mf4_t bindex,vuint16mf4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(uint16_t* base,vuint16mf2_t bindex,vuint16mf2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(uint16_t* base,vuint16m1_t bindex,vuint16m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(uint16_t* base,vuint16m2_t bindex,vuint16m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(uint16_t* base,vuint16m4_t bindex,vuint16m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(uint16_t* base,vuint16m8_t bindex,vuint16m8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(uint32_t* base,vuint16mf4_t bindex,vuint32mf2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(uint32_t* base,vuint16mf2_t bindex,vuint32m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(uint32_t* base,vuint16m1_t bindex,vuint32m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(uint32_t* base,vuint16m2_t bindex,vuint32m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(uint32_t* base,vuint16m4_t bindex,vuint32m8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(uint64_t* base,vuint16mf4_t bindex,vuint64m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(uint64_t* base,vuint16mf2_t bindex,vuint64m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(uint64_t* base,vuint16m1_t bindex,vuint64m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(uint64_t* base,vuint16m2_t bindex,vuint64m8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(float* base,vuint16mf4_t bindex,vfloat32mf2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(float* base,vuint16mf2_t bindex,vfloat32m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(float* base,vuint16m1_t bindex,vfloat32m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(float* base,vuint16m2_t bindex,vfloat32m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(float* base,vuint16m4_t bindex,vfloat32m8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(double* base,vuint16mf4_t bindex,vfloat64m1_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(double* base,vuint16mf2_t bindex,vfloat64m2_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(double* base,vuint16m1_t bindex,vfloat64m4_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(double* base,vuint16m2_t bindex,vfloat64m8_t value,size_t vl) +{ + __riscv_vsuxei16(base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool64_t mask,int8_t* base,vuint16mf4_t bindex,vint8mf8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool32_t mask,int8_t* base,vuint16mf2_t bindex,vint8mf4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool16_t mask,int8_t* base,vuint16m1_t bindex,vint8mf2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool8_t mask,int8_t* base,vuint16m2_t bindex,vint8m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool4_t mask,int8_t* base,vuint16m4_t bindex,vint8m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool2_t mask,int8_t* base,vuint16m8_t bindex,vint8m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool64_t mask,int16_t* base,vuint16mf4_t bindex,vint16mf4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool32_t mask,int16_t* base,vuint16mf2_t bindex,vint16mf2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool16_t mask,int16_t* base,vuint16m1_t bindex,vint16m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool8_t mask,int16_t* base,vuint16m2_t bindex,vint16m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool4_t mask,int16_t* base,vuint16m4_t bindex,vint16m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool2_t mask,int16_t* base,vuint16m8_t bindex,vint16m8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool64_t mask,int32_t* base,vuint16mf4_t bindex,vint32mf2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool32_t mask,int32_t* base,vuint16mf2_t bindex,vint32m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool16_t mask,int32_t* base,vuint16m1_t bindex,vint32m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool8_t mask,int32_t* base,vuint16m2_t bindex,vint32m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool4_t mask,int32_t* base,vuint16m4_t bindex,vint32m8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool64_t mask,int64_t* base,vuint16mf4_t bindex,vint64m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool32_t mask,int64_t* base,vuint16mf2_t bindex,vint64m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool16_t mask,int64_t* base,vuint16m1_t bindex,vint64m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool8_t mask,int64_t* base,vuint16m2_t bindex,vint64m8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool64_t mask,uint8_t* base,vuint16mf4_t bindex,vuint8mf8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool32_t mask,uint8_t* base,vuint16mf2_t bindex,vuint8mf4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool16_t mask,uint8_t* base,vuint16m1_t bindex,vuint8mf2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool8_t mask,uint8_t* base,vuint16m2_t bindex,vuint8m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool4_t mask,uint8_t* base,vuint16m4_t bindex,vuint8m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool2_t mask,uint8_t* base,vuint16m8_t bindex,vuint8m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool64_t mask,uint16_t* base,vuint16mf4_t bindex,vuint16mf4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool32_t mask,uint16_t* base,vuint16mf2_t bindex,vuint16mf2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool16_t mask,uint16_t* base,vuint16m1_t bindex,vuint16m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool8_t mask,uint16_t* base,vuint16m2_t bindex,vuint16m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool4_t mask,uint16_t* base,vuint16m4_t bindex,vuint16m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool2_t mask,uint16_t* base,vuint16m8_t bindex,vuint16m8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool64_t mask,uint32_t* base,vuint16mf4_t bindex,vuint32mf2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool32_t mask,uint32_t* base,vuint16mf2_t bindex,vuint32m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool16_t mask,uint32_t* base,vuint16m1_t bindex,vuint32m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool8_t mask,uint32_t* base,vuint16m2_t bindex,vuint32m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool4_t mask,uint32_t* base,vuint16m4_t bindex,vuint32m8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool64_t mask,uint64_t* base,vuint16mf4_t bindex,vuint64m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool32_t mask,uint64_t* base,vuint16mf2_t bindex,vuint64m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool16_t mask,uint64_t* base,vuint16m1_t bindex,vuint64m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool8_t mask,uint64_t* base,vuint16m2_t bindex,vuint64m8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool64_t mask,float* base,vuint16mf4_t bindex,vfloat32mf2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool32_t mask,float* base,vuint16mf2_t bindex,vfloat32m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool16_t mask,float* base,vuint16m1_t bindex,vfloat32m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool8_t mask,float* base,vuint16m2_t bindex,vfloat32m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool4_t mask,float* base,vuint16m4_t bindex,vfloat32m8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool64_t mask,double* base,vuint16mf4_t bindex,vfloat64m1_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool32_t mask,double* base,vuint16mf2_t bindex,vfloat64m2_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool16_t mask,double* base,vuint16m1_t bindex,vfloat64m4_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei16(vbool8_t mask,double* base,vuint16m2_t bindex,vfloat64m8_t value,size_t vl) +{ + __riscv_vsuxei16(mask,base,bindex,value,32); +} + + + +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei32-1.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei32-1.C new file mode 100644 index 00000000000..8a00db8b5c9 --- /dev/null +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei32-1.C @@ -0,0 +1,608 @@ +/* { dg-do compile } */ +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ + +#include "riscv_vector.h" + +void test___riscv_vsuxei32(int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool64_t mask,int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool32_t mask,int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool16_t mask,int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool8_t mask,int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool4_t mask,int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool64_t mask,int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool32_t mask,int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool16_t mask,int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool8_t mask,int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool4_t mask,int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool64_t mask,int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool32_t mask,int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool16_t mask,int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool8_t mask,int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool4_t mask,int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool64_t mask,int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool32_t mask,int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool16_t mask,int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool8_t mask,int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool64_t mask,uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool32_t mask,uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool16_t mask,uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool8_t mask,uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool4_t mask,uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool64_t mask,uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool32_t mask,uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool16_t mask,uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool8_t mask,uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool4_t mask,uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool64_t mask,uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool32_t mask,uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool16_t mask,uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool8_t mask,uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool4_t mask,uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool64_t mask,uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool32_t mask,uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool16_t mask,uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool8_t mask,uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool64_t mask,float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool32_t mask,float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool16_t mask,float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool8_t mask,float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool4_t mask,float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool64_t mask,double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool32_t mask,double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool16_t mask,double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei32(vbool8_t mask,double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,vl); +} + + + +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei32-2.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei32-2.C new file mode 100644 index 00000000000..b7bfa42a374 --- /dev/null +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei32-2.C @@ -0,0 +1,608 @@ +/* { dg-do compile } */ +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ + +#include "riscv_vector.h" + +void test___riscv_vsuxei32(int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool64_t mask,int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool32_t mask,int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool16_t mask,int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool8_t mask,int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool4_t mask,int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool64_t mask,int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool32_t mask,int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool16_t mask,int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool8_t mask,int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool4_t mask,int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool64_t mask,int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool32_t mask,int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool16_t mask,int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool8_t mask,int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool4_t mask,int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool64_t mask,int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool32_t mask,int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool16_t mask,int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool8_t mask,int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool64_t mask,uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool32_t mask,uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool16_t mask,uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool8_t mask,uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool4_t mask,uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool64_t mask,uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool32_t mask,uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool16_t mask,uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool8_t mask,uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool4_t mask,uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool64_t mask,uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool32_t mask,uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool16_t mask,uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool8_t mask,uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool4_t mask,uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool64_t mask,uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool32_t mask,uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool16_t mask,uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool8_t mask,uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool64_t mask,float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool32_t mask,float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool16_t mask,float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool8_t mask,float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool4_t mask,float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool64_t mask,double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool32_t mask,double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool16_t mask,double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei32(vbool8_t mask,double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,31); +} + + + +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei32-3.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei32-3.C new file mode 100644 index 00000000000..381fbe46956 --- /dev/null +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei32-3.C @@ -0,0 +1,608 @@ +/* { dg-do compile } */ +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ + +#include "riscv_vector.h" + +void test___riscv_vsuxei32(int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl) +{ + __riscv_vsuxei32(base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool64_t mask,int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool32_t mask,int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool16_t mask,int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool8_t mask,int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool4_t mask,int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool64_t mask,int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool32_t mask,int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool16_t mask,int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool8_t mask,int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool4_t mask,int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool64_t mask,int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool32_t mask,int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool16_t mask,int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool8_t mask,int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool4_t mask,int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool64_t mask,int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool32_t mask,int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool16_t mask,int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool8_t mask,int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool64_t mask,uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool32_t mask,uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool16_t mask,uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool8_t mask,uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool4_t mask,uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool64_t mask,uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool32_t mask,uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool16_t mask,uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool8_t mask,uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool4_t mask,uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool64_t mask,uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool32_t mask,uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool16_t mask,uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool8_t mask,uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool4_t mask,uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool64_t mask,uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool32_t mask,uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool16_t mask,uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool8_t mask,uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool64_t mask,float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool32_t mask,float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool16_t mask,float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool8_t mask,float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool4_t mask,float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool64_t mask,double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool32_t mask,double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool16_t mask,double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei32(vbool8_t mask,double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl) +{ + __riscv_vsuxei32(mask,base,bindex,value,32); +} + + + +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei32\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei64-1.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei64-1.C new file mode 100644 index 00000000000..93c598e56b2 --- /dev/null +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei64-1.C @@ -0,0 +1,518 @@ +/* { dg-do compile } */ +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ + +#include "riscv_vector.h" + +void test___riscv_vsuxei64(int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool64_t mask,int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool32_t mask,int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool16_t mask,int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool8_t mask,int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool64_t mask,int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool32_t mask,int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool16_t mask,int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool8_t mask,int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool64_t mask,int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool32_t mask,int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool16_t mask,int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool8_t mask,int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool64_t mask,int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool32_t mask,int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool16_t mask,int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool8_t mask,int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool64_t mask,uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool32_t mask,uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool16_t mask,uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool8_t mask,uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool64_t mask,uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool32_t mask,uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool16_t mask,uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool8_t mask,uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool64_t mask,uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool32_t mask,uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool16_t mask,uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool8_t mask,uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool64_t mask,uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool32_t mask,uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool16_t mask,uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool8_t mask,uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool64_t mask,float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool32_t mask,float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool16_t mask,float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool8_t mask,float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool64_t mask,double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool32_t mask,double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool16_t mask,double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei64(vbool8_t mask,double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,vl); +} + + + +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei64-2.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei64-2.C new file mode 100644 index 00000000000..7dcb7c67057 --- /dev/null +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei64-2.C @@ -0,0 +1,518 @@ +/* { dg-do compile } */ +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ + +#include "riscv_vector.h" + +void test___riscv_vsuxei64(int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool64_t mask,int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool32_t mask,int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool16_t mask,int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool8_t mask,int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool64_t mask,int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool32_t mask,int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool16_t mask,int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool8_t mask,int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool64_t mask,int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool32_t mask,int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool16_t mask,int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool8_t mask,int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool64_t mask,int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool32_t mask,int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool16_t mask,int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool8_t mask,int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool64_t mask,uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool32_t mask,uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool16_t mask,uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool8_t mask,uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool64_t mask,uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool32_t mask,uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool16_t mask,uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool8_t mask,uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool64_t mask,uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool32_t mask,uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool16_t mask,uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool8_t mask,uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool64_t mask,uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool32_t mask,uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool16_t mask,uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool8_t mask,uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool64_t mask,float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool32_t mask,float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool16_t mask,float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool8_t mask,float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool64_t mask,double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool32_t mask,double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool16_t mask,double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei64(vbool8_t mask,double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,31); +} + + + +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei64-3.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei64-3.C new file mode 100644 index 00000000000..f38adc8eec9 --- /dev/null +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei64-3.C @@ -0,0 +1,518 @@ +/* { dg-do compile } */ +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ + +#include "riscv_vector.h" + +void test___riscv_vsuxei64(int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl) +{ + __riscv_vsuxei64(base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool64_t mask,int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool32_t mask,int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool16_t mask,int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool8_t mask,int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool64_t mask,int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool32_t mask,int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool16_t mask,int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool8_t mask,int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool64_t mask,int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool32_t mask,int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool16_t mask,int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool8_t mask,int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool64_t mask,int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool32_t mask,int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool16_t mask,int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool8_t mask,int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool64_t mask,uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool32_t mask,uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool16_t mask,uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool8_t mask,uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool64_t mask,uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool32_t mask,uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool16_t mask,uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool8_t mask,uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool64_t mask,uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool32_t mask,uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool16_t mask,uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool8_t mask,uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool64_t mask,uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool32_t mask,uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool16_t mask,uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool8_t mask,uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool64_t mask,float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool32_t mask,float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool16_t mask,float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool8_t mask,float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool64_t mask,double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool32_t mask,double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool16_t mask,double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei64(vbool8_t mask,double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl) +{ + __riscv_vsuxei64(mask,base,bindex,value,32); +} + + + +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei8-1.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei8-1.C new file mode 100644 index 00000000000..dc4ff4ff483 --- /dev/null +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei8-1.C @@ -0,0 +1,686 @@ +/* { dg-do compile } */ +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ + +#include "riscv_vector.h" + +void test___riscv_vsuxei8(int8_t* base,vuint8mf8_t bindex,vint8mf8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(int8_t* base,vuint8mf4_t bindex,vint8mf4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(int8_t* base,vuint8mf2_t bindex,vint8mf2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(int8_t* base,vuint8m1_t bindex,vint8m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(int8_t* base,vuint8m2_t bindex,vint8m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(int8_t* base,vuint8m4_t bindex,vint8m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(int8_t* base,vuint8m8_t bindex,vint8m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(int16_t* base,vuint8mf8_t bindex,vint16mf4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(int16_t* base,vuint8mf4_t bindex,vint16mf2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(int16_t* base,vuint8mf2_t bindex,vint16m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(int16_t* base,vuint8m1_t bindex,vint16m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(int16_t* base,vuint8m2_t bindex,vint16m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(int16_t* base,vuint8m4_t bindex,vint16m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(int32_t* base,vuint8mf8_t bindex,vint32mf2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(int32_t* base,vuint8mf4_t bindex,vint32m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(int32_t* base,vuint8mf2_t bindex,vint32m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(int32_t* base,vuint8m1_t bindex,vint32m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(int32_t* base,vuint8m2_t bindex,vint32m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(int64_t* base,vuint8mf8_t bindex,vint64m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(int64_t* base,vuint8mf4_t bindex,vint64m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(int64_t* base,vuint8mf2_t bindex,vint64m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(int64_t* base,vuint8m1_t bindex,vint64m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(uint8_t* base,vuint8mf8_t bindex,vuint8mf8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(uint8_t* base,vuint8mf4_t bindex,vuint8mf4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(uint8_t* base,vuint8mf2_t bindex,vuint8mf2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(uint8_t* base,vuint8m1_t bindex,vuint8m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(uint8_t* base,vuint8m2_t bindex,vuint8m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(uint8_t* base,vuint8m4_t bindex,vuint8m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(uint8_t* base,vuint8m8_t bindex,vuint8m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(uint16_t* base,vuint8mf8_t bindex,vuint16mf4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(uint16_t* base,vuint8mf4_t bindex,vuint16mf2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(uint16_t* base,vuint8mf2_t bindex,vuint16m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(uint16_t* base,vuint8m1_t bindex,vuint16m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(uint16_t* base,vuint8m2_t bindex,vuint16m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(uint16_t* base,vuint8m4_t bindex,vuint16m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(uint32_t* base,vuint8mf8_t bindex,vuint32mf2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(uint32_t* base,vuint8mf4_t bindex,vuint32m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(uint32_t* base,vuint8mf2_t bindex,vuint32m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(uint32_t* base,vuint8m1_t bindex,vuint32m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(uint32_t* base,vuint8m2_t bindex,vuint32m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(uint64_t* base,vuint8mf8_t bindex,vuint64m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(uint64_t* base,vuint8mf4_t bindex,vuint64m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(uint64_t* base,vuint8mf2_t bindex,vuint64m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(uint64_t* base,vuint8m1_t bindex,vuint64m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(float* base,vuint8mf8_t bindex,vfloat32mf2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(float* base,vuint8mf4_t bindex,vfloat32m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(float* base,vuint8mf2_t bindex,vfloat32m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(float* base,vuint8m1_t bindex,vfloat32m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(float* base,vuint8m2_t bindex,vfloat32m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(double* base,vuint8mf8_t bindex,vfloat64m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(double* base,vuint8mf4_t bindex,vfloat64m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(double* base,vuint8mf2_t bindex,vfloat64m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(double* base,vuint8m1_t bindex,vfloat64m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool64_t mask,int8_t* base,vuint8mf8_t bindex,vint8mf8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool32_t mask,int8_t* base,vuint8mf4_t bindex,vint8mf4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool16_t mask,int8_t* base,vuint8mf2_t bindex,vint8mf2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool8_t mask,int8_t* base,vuint8m1_t bindex,vint8m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool4_t mask,int8_t* base,vuint8m2_t bindex,vint8m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool2_t mask,int8_t* base,vuint8m4_t bindex,vint8m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool1_t mask,int8_t* base,vuint8m8_t bindex,vint8m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool64_t mask,int16_t* base,vuint8mf8_t bindex,vint16mf4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool32_t mask,int16_t* base,vuint8mf4_t bindex,vint16mf2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool16_t mask,int16_t* base,vuint8mf2_t bindex,vint16m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool8_t mask,int16_t* base,vuint8m1_t bindex,vint16m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool4_t mask,int16_t* base,vuint8m2_t bindex,vint16m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool2_t mask,int16_t* base,vuint8m4_t bindex,vint16m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool64_t mask,int32_t* base,vuint8mf8_t bindex,vint32mf2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool32_t mask,int32_t* base,vuint8mf4_t bindex,vint32m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool16_t mask,int32_t* base,vuint8mf2_t bindex,vint32m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool8_t mask,int32_t* base,vuint8m1_t bindex,vint32m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool4_t mask,int32_t* base,vuint8m2_t bindex,vint32m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool64_t mask,int64_t* base,vuint8mf8_t bindex,vint64m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool32_t mask,int64_t* base,vuint8mf4_t bindex,vint64m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool16_t mask,int64_t* base,vuint8mf2_t bindex,vint64m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool8_t mask,int64_t* base,vuint8m1_t bindex,vint64m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool64_t mask,uint8_t* base,vuint8mf8_t bindex,vuint8mf8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool32_t mask,uint8_t* base,vuint8mf4_t bindex,vuint8mf4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool16_t mask,uint8_t* base,vuint8mf2_t bindex,vuint8mf2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool8_t mask,uint8_t* base,vuint8m1_t bindex,vuint8m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool4_t mask,uint8_t* base,vuint8m2_t bindex,vuint8m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool2_t mask,uint8_t* base,vuint8m4_t bindex,vuint8m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool1_t mask,uint8_t* base,vuint8m8_t bindex,vuint8m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool64_t mask,uint16_t* base,vuint8mf8_t bindex,vuint16mf4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool32_t mask,uint16_t* base,vuint8mf4_t bindex,vuint16mf2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool16_t mask,uint16_t* base,vuint8mf2_t bindex,vuint16m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool8_t mask,uint16_t* base,vuint8m1_t bindex,vuint16m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool4_t mask,uint16_t* base,vuint8m2_t bindex,vuint16m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool2_t mask,uint16_t* base,vuint8m4_t bindex,vuint16m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool64_t mask,uint32_t* base,vuint8mf8_t bindex,vuint32mf2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool32_t mask,uint32_t* base,vuint8mf4_t bindex,vuint32m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool16_t mask,uint32_t* base,vuint8mf2_t bindex,vuint32m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool8_t mask,uint32_t* base,vuint8m1_t bindex,vuint32m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool4_t mask,uint32_t* base,vuint8m2_t bindex,vuint32m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool64_t mask,uint64_t* base,vuint8mf8_t bindex,vuint64m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool32_t mask,uint64_t* base,vuint8mf4_t bindex,vuint64m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool16_t mask,uint64_t* base,vuint8mf2_t bindex,vuint64m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool8_t mask,uint64_t* base,vuint8m1_t bindex,vuint64m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool64_t mask,float* base,vuint8mf8_t bindex,vfloat32mf2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool32_t mask,float* base,vuint8mf4_t bindex,vfloat32m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool16_t mask,float* base,vuint8mf2_t bindex,vfloat32m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool8_t mask,float* base,vuint8m1_t bindex,vfloat32m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool4_t mask,float* base,vuint8m2_t bindex,vfloat32m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool64_t mask,double* base,vuint8mf8_t bindex,vfloat64m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool32_t mask,double* base,vuint8mf4_t bindex,vfloat64m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool16_t mask,double* base,vuint8mf2_t bindex,vfloat64m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + +void test___riscv_vsuxei8(vbool8_t mask,double* base,vuint8m1_t bindex,vfloat64m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,vl); +} + + + +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei8-2.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei8-2.C new file mode 100644 index 00000000000..f6891acf982 --- /dev/null +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei8-2.C @@ -0,0 +1,686 @@ +/* { dg-do compile } */ +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ + +#include "riscv_vector.h" + +void test___riscv_vsuxei8(int8_t* base,vuint8mf8_t bindex,vint8mf8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(int8_t* base,vuint8mf4_t bindex,vint8mf4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(int8_t* base,vuint8mf2_t bindex,vint8mf2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(int8_t* base,vuint8m1_t bindex,vint8m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(int8_t* base,vuint8m2_t bindex,vint8m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(int8_t* base,vuint8m4_t bindex,vint8m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(int8_t* base,vuint8m8_t bindex,vint8m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(int16_t* base,vuint8mf8_t bindex,vint16mf4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(int16_t* base,vuint8mf4_t bindex,vint16mf2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(int16_t* base,vuint8mf2_t bindex,vint16m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(int16_t* base,vuint8m1_t bindex,vint16m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(int16_t* base,vuint8m2_t bindex,vint16m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(int16_t* base,vuint8m4_t bindex,vint16m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(int32_t* base,vuint8mf8_t bindex,vint32mf2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(int32_t* base,vuint8mf4_t bindex,vint32m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(int32_t* base,vuint8mf2_t bindex,vint32m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(int32_t* base,vuint8m1_t bindex,vint32m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(int32_t* base,vuint8m2_t bindex,vint32m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(int64_t* base,vuint8mf8_t bindex,vint64m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(int64_t* base,vuint8mf4_t bindex,vint64m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(int64_t* base,vuint8mf2_t bindex,vint64m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(int64_t* base,vuint8m1_t bindex,vint64m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(uint8_t* base,vuint8mf8_t bindex,vuint8mf8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(uint8_t* base,vuint8mf4_t bindex,vuint8mf4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(uint8_t* base,vuint8mf2_t bindex,vuint8mf2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(uint8_t* base,vuint8m1_t bindex,vuint8m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(uint8_t* base,vuint8m2_t bindex,vuint8m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(uint8_t* base,vuint8m4_t bindex,vuint8m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(uint8_t* base,vuint8m8_t bindex,vuint8m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(uint16_t* base,vuint8mf8_t bindex,vuint16mf4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(uint16_t* base,vuint8mf4_t bindex,vuint16mf2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(uint16_t* base,vuint8mf2_t bindex,vuint16m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(uint16_t* base,vuint8m1_t bindex,vuint16m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(uint16_t* base,vuint8m2_t bindex,vuint16m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(uint16_t* base,vuint8m4_t bindex,vuint16m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(uint32_t* base,vuint8mf8_t bindex,vuint32mf2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(uint32_t* base,vuint8mf4_t bindex,vuint32m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(uint32_t* base,vuint8mf2_t bindex,vuint32m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(uint32_t* base,vuint8m1_t bindex,vuint32m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(uint32_t* base,vuint8m2_t bindex,vuint32m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(uint64_t* base,vuint8mf8_t bindex,vuint64m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(uint64_t* base,vuint8mf4_t bindex,vuint64m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(uint64_t* base,vuint8mf2_t bindex,vuint64m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(uint64_t* base,vuint8m1_t bindex,vuint64m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(float* base,vuint8mf8_t bindex,vfloat32mf2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(float* base,vuint8mf4_t bindex,vfloat32m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(float* base,vuint8mf2_t bindex,vfloat32m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(float* base,vuint8m1_t bindex,vfloat32m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(float* base,vuint8m2_t bindex,vfloat32m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(double* base,vuint8mf8_t bindex,vfloat64m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(double* base,vuint8mf4_t bindex,vfloat64m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(double* base,vuint8mf2_t bindex,vfloat64m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(double* base,vuint8m1_t bindex,vfloat64m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool64_t mask,int8_t* base,vuint8mf8_t bindex,vint8mf8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool32_t mask,int8_t* base,vuint8mf4_t bindex,vint8mf4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool16_t mask,int8_t* base,vuint8mf2_t bindex,vint8mf2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool8_t mask,int8_t* base,vuint8m1_t bindex,vint8m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool4_t mask,int8_t* base,vuint8m2_t bindex,vint8m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool2_t mask,int8_t* base,vuint8m4_t bindex,vint8m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool1_t mask,int8_t* base,vuint8m8_t bindex,vint8m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool64_t mask,int16_t* base,vuint8mf8_t bindex,vint16mf4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool32_t mask,int16_t* base,vuint8mf4_t bindex,vint16mf2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool16_t mask,int16_t* base,vuint8mf2_t bindex,vint16m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool8_t mask,int16_t* base,vuint8m1_t bindex,vint16m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool4_t mask,int16_t* base,vuint8m2_t bindex,vint16m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool2_t mask,int16_t* base,vuint8m4_t bindex,vint16m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool64_t mask,int32_t* base,vuint8mf8_t bindex,vint32mf2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool32_t mask,int32_t* base,vuint8mf4_t bindex,vint32m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool16_t mask,int32_t* base,vuint8mf2_t bindex,vint32m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool8_t mask,int32_t* base,vuint8m1_t bindex,vint32m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool4_t mask,int32_t* base,vuint8m2_t bindex,vint32m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool64_t mask,int64_t* base,vuint8mf8_t bindex,vint64m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool32_t mask,int64_t* base,vuint8mf4_t bindex,vint64m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool16_t mask,int64_t* base,vuint8mf2_t bindex,vint64m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool8_t mask,int64_t* base,vuint8m1_t bindex,vint64m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool64_t mask,uint8_t* base,vuint8mf8_t bindex,vuint8mf8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool32_t mask,uint8_t* base,vuint8mf4_t bindex,vuint8mf4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool16_t mask,uint8_t* base,vuint8mf2_t bindex,vuint8mf2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool8_t mask,uint8_t* base,vuint8m1_t bindex,vuint8m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool4_t mask,uint8_t* base,vuint8m2_t bindex,vuint8m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool2_t mask,uint8_t* base,vuint8m4_t bindex,vuint8m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool1_t mask,uint8_t* base,vuint8m8_t bindex,vuint8m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool64_t mask,uint16_t* base,vuint8mf8_t bindex,vuint16mf4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool32_t mask,uint16_t* base,vuint8mf4_t bindex,vuint16mf2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool16_t mask,uint16_t* base,vuint8mf2_t bindex,vuint16m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool8_t mask,uint16_t* base,vuint8m1_t bindex,vuint16m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool4_t mask,uint16_t* base,vuint8m2_t bindex,vuint16m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool2_t mask,uint16_t* base,vuint8m4_t bindex,vuint16m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool64_t mask,uint32_t* base,vuint8mf8_t bindex,vuint32mf2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool32_t mask,uint32_t* base,vuint8mf4_t bindex,vuint32m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool16_t mask,uint32_t* base,vuint8mf2_t bindex,vuint32m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool8_t mask,uint32_t* base,vuint8m1_t bindex,vuint32m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool4_t mask,uint32_t* base,vuint8m2_t bindex,vuint32m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool64_t mask,uint64_t* base,vuint8mf8_t bindex,vuint64m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool32_t mask,uint64_t* base,vuint8mf4_t bindex,vuint64m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool16_t mask,uint64_t* base,vuint8mf2_t bindex,vuint64m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool8_t mask,uint64_t* base,vuint8m1_t bindex,vuint64m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool64_t mask,float* base,vuint8mf8_t bindex,vfloat32mf2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool32_t mask,float* base,vuint8mf4_t bindex,vfloat32m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool16_t mask,float* base,vuint8mf2_t bindex,vfloat32m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool8_t mask,float* base,vuint8m1_t bindex,vfloat32m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool4_t mask,float* base,vuint8m2_t bindex,vfloat32m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool64_t mask,double* base,vuint8mf8_t bindex,vfloat64m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool32_t mask,double* base,vuint8mf4_t bindex,vfloat64m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool16_t mask,double* base,vuint8mf2_t bindex,vfloat64m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + +void test___riscv_vsuxei8(vbool8_t mask,double* base,vuint8m1_t bindex,vfloat64m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,31); +} + + + +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei8-3.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei8-3.C new file mode 100644 index 00000000000..59ff5806833 --- /dev/null +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsuxei8-3.C @@ -0,0 +1,686 @@ +/* { dg-do compile } */ +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ + +#include "riscv_vector.h" + +void test___riscv_vsuxei8(int8_t* base,vuint8mf8_t bindex,vint8mf8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(int8_t* base,vuint8mf4_t bindex,vint8mf4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(int8_t* base,vuint8mf2_t bindex,vint8mf2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(int8_t* base,vuint8m1_t bindex,vint8m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(int8_t* base,vuint8m2_t bindex,vint8m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(int8_t* base,vuint8m4_t bindex,vint8m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(int8_t* base,vuint8m8_t bindex,vint8m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(int16_t* base,vuint8mf8_t bindex,vint16mf4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(int16_t* base,vuint8mf4_t bindex,vint16mf2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(int16_t* base,vuint8mf2_t bindex,vint16m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(int16_t* base,vuint8m1_t bindex,vint16m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(int16_t* base,vuint8m2_t bindex,vint16m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(int16_t* base,vuint8m4_t bindex,vint16m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(int32_t* base,vuint8mf8_t bindex,vint32mf2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(int32_t* base,vuint8mf4_t bindex,vint32m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(int32_t* base,vuint8mf2_t bindex,vint32m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(int32_t* base,vuint8m1_t bindex,vint32m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(int32_t* base,vuint8m2_t bindex,vint32m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(int64_t* base,vuint8mf8_t bindex,vint64m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(int64_t* base,vuint8mf4_t bindex,vint64m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(int64_t* base,vuint8mf2_t bindex,vint64m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(int64_t* base,vuint8m1_t bindex,vint64m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(uint8_t* base,vuint8mf8_t bindex,vuint8mf8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(uint8_t* base,vuint8mf4_t bindex,vuint8mf4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(uint8_t* base,vuint8mf2_t bindex,vuint8mf2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(uint8_t* base,vuint8m1_t bindex,vuint8m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(uint8_t* base,vuint8m2_t bindex,vuint8m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(uint8_t* base,vuint8m4_t bindex,vuint8m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(uint8_t* base,vuint8m8_t bindex,vuint8m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(uint16_t* base,vuint8mf8_t bindex,vuint16mf4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(uint16_t* base,vuint8mf4_t bindex,vuint16mf2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(uint16_t* base,vuint8mf2_t bindex,vuint16m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(uint16_t* base,vuint8m1_t bindex,vuint16m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(uint16_t* base,vuint8m2_t bindex,vuint16m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(uint16_t* base,vuint8m4_t bindex,vuint16m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(uint32_t* base,vuint8mf8_t bindex,vuint32mf2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(uint32_t* base,vuint8mf4_t bindex,vuint32m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(uint32_t* base,vuint8mf2_t bindex,vuint32m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(uint32_t* base,vuint8m1_t bindex,vuint32m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(uint32_t* base,vuint8m2_t bindex,vuint32m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(uint64_t* base,vuint8mf8_t bindex,vuint64m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(uint64_t* base,vuint8mf4_t bindex,vuint64m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(uint64_t* base,vuint8mf2_t bindex,vuint64m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(uint64_t* base,vuint8m1_t bindex,vuint64m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(float* base,vuint8mf8_t bindex,vfloat32mf2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(float* base,vuint8mf4_t bindex,vfloat32m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(float* base,vuint8mf2_t bindex,vfloat32m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(float* base,vuint8m1_t bindex,vfloat32m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(float* base,vuint8m2_t bindex,vfloat32m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(double* base,vuint8mf8_t bindex,vfloat64m1_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(double* base,vuint8mf4_t bindex,vfloat64m2_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(double* base,vuint8mf2_t bindex,vfloat64m4_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(double* base,vuint8m1_t bindex,vfloat64m8_t value,size_t vl) +{ + __riscv_vsuxei8(base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool64_t mask,int8_t* base,vuint8mf8_t bindex,vint8mf8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool32_t mask,int8_t* base,vuint8mf4_t bindex,vint8mf4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool16_t mask,int8_t* base,vuint8mf2_t bindex,vint8mf2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool8_t mask,int8_t* base,vuint8m1_t bindex,vint8m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool4_t mask,int8_t* base,vuint8m2_t bindex,vint8m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool2_t mask,int8_t* base,vuint8m4_t bindex,vint8m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool1_t mask,int8_t* base,vuint8m8_t bindex,vint8m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool64_t mask,int16_t* base,vuint8mf8_t bindex,vint16mf4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool32_t mask,int16_t* base,vuint8mf4_t bindex,vint16mf2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool16_t mask,int16_t* base,vuint8mf2_t bindex,vint16m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool8_t mask,int16_t* base,vuint8m1_t bindex,vint16m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool4_t mask,int16_t* base,vuint8m2_t bindex,vint16m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool2_t mask,int16_t* base,vuint8m4_t bindex,vint16m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool64_t mask,int32_t* base,vuint8mf8_t bindex,vint32mf2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool32_t mask,int32_t* base,vuint8mf4_t bindex,vint32m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool16_t mask,int32_t* base,vuint8mf2_t bindex,vint32m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool8_t mask,int32_t* base,vuint8m1_t bindex,vint32m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool4_t mask,int32_t* base,vuint8m2_t bindex,vint32m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool64_t mask,int64_t* base,vuint8mf8_t bindex,vint64m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool32_t mask,int64_t* base,vuint8mf4_t bindex,vint64m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool16_t mask,int64_t* base,vuint8mf2_t bindex,vint64m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool8_t mask,int64_t* base,vuint8m1_t bindex,vint64m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool64_t mask,uint8_t* base,vuint8mf8_t bindex,vuint8mf8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool32_t mask,uint8_t* base,vuint8mf4_t bindex,vuint8mf4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool16_t mask,uint8_t* base,vuint8mf2_t bindex,vuint8mf2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool8_t mask,uint8_t* base,vuint8m1_t bindex,vuint8m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool4_t mask,uint8_t* base,vuint8m2_t bindex,vuint8m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool2_t mask,uint8_t* base,vuint8m4_t bindex,vuint8m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool1_t mask,uint8_t* base,vuint8m8_t bindex,vuint8m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool64_t mask,uint16_t* base,vuint8mf8_t bindex,vuint16mf4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool32_t mask,uint16_t* base,vuint8mf4_t bindex,vuint16mf2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool16_t mask,uint16_t* base,vuint8mf2_t bindex,vuint16m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool8_t mask,uint16_t* base,vuint8m1_t bindex,vuint16m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool4_t mask,uint16_t* base,vuint8m2_t bindex,vuint16m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool2_t mask,uint16_t* base,vuint8m4_t bindex,vuint16m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool64_t mask,uint32_t* base,vuint8mf8_t bindex,vuint32mf2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool32_t mask,uint32_t* base,vuint8mf4_t bindex,vuint32m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool16_t mask,uint32_t* base,vuint8mf2_t bindex,vuint32m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool8_t mask,uint32_t* base,vuint8m1_t bindex,vuint32m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool4_t mask,uint32_t* base,vuint8m2_t bindex,vuint32m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool64_t mask,uint64_t* base,vuint8mf8_t bindex,vuint64m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool32_t mask,uint64_t* base,vuint8mf4_t bindex,vuint64m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool16_t mask,uint64_t* base,vuint8mf2_t bindex,vuint64m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool8_t mask,uint64_t* base,vuint8m1_t bindex,vuint64m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool64_t mask,float* base,vuint8mf8_t bindex,vfloat32mf2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool32_t mask,float* base,vuint8mf4_t bindex,vfloat32m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool16_t mask,float* base,vuint8mf2_t bindex,vfloat32m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool8_t mask,float* base,vuint8m1_t bindex,vfloat32m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool4_t mask,float* base,vuint8m2_t bindex,vfloat32m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool64_t mask,double* base,vuint8mf8_t bindex,vfloat64m1_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool32_t mask,double* base,vuint8mf4_t bindex,vfloat64m2_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool16_t mask,double* base,vuint8mf2_t bindex,vfloat64m4_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + +void test___riscv_vsuxei8(vbool8_t mask,double* base,vuint8m1_t bindex,vfloat64m8_t value,size_t vl) +{ + __riscv_vsuxei8(mask,base,bindex,value,32); +} + + + +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+\s+} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsuxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */
From: Ju-Zhe Zhong <juzhe.zhong@rivai.ai> gcc/testsuite/ChangeLog: * g++.target/riscv/rvv/base/vsuxei16-1.C: New test. * g++.target/riscv/rvv/base/vsuxei16-2.C: New test. * g++.target/riscv/rvv/base/vsuxei16-3.C: New test. * g++.target/riscv/rvv/base/vsuxei32-1.C: New test. * g++.target/riscv/rvv/base/vsuxei32-2.C: New test. * g++.target/riscv/rvv/base/vsuxei32-3.C: New test. * g++.target/riscv/rvv/base/vsuxei64-1.C: New test. * g++.target/riscv/rvv/base/vsuxei64-2.C: New test. * g++.target/riscv/rvv/base/vsuxei64-3.C: New test. * g++.target/riscv/rvv/base/vsuxei8-1.C: New test. * g++.target/riscv/rvv/base/vsuxei8-2.C: New test. * g++.target/riscv/rvv/base/vsuxei8-3.C: New test. --- .../g++.target/riscv/rvv/base/vsuxei16-1.C | 660 +++++++++++++++++ .../g++.target/riscv/rvv/base/vsuxei16-2.C | 660 +++++++++++++++++ .../g++.target/riscv/rvv/base/vsuxei16-3.C | 660 +++++++++++++++++ .../g++.target/riscv/rvv/base/vsuxei32-1.C | 608 ++++++++++++++++ .../g++.target/riscv/rvv/base/vsuxei32-2.C | 608 ++++++++++++++++ .../g++.target/riscv/rvv/base/vsuxei32-3.C | 608 ++++++++++++++++ .../g++.target/riscv/rvv/base/vsuxei64-1.C | 518 +++++++++++++ .../g++.target/riscv/rvv/base/vsuxei64-2.C | 518 +++++++++++++ .../g++.target/riscv/rvv/base/vsuxei64-3.C | 518 +++++++++++++ .../g++.target/riscv/rvv/base/vsuxei8-1.C | 686 ++++++++++++++++++ .../g++.target/riscv/rvv/base/vsuxei8-2.C | 686 ++++++++++++++++++ .../g++.target/riscv/rvv/base/vsuxei8-3.C | 686 ++++++++++++++++++ 12 files changed, 7416 insertions(+) create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsuxei16-1.C create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsuxei16-2.C create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsuxei16-3.C create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsuxei32-1.C create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsuxei32-2.C create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsuxei32-3.C create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsuxei64-1.C create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsuxei64-2.C create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsuxei64-3.C create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsuxei8-1.C create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsuxei8-2.C create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsuxei8-3.C