diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei16-1.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei16-1.C
new file mode 100644
index 00000000000..44737078711
--- /dev/null
+++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei16-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_vsoxei16(int8_t* base,vuint16mf4_t bindex,vint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(int8_t* base,vuint16mf2_t bindex,vint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(int8_t* base,vuint16m1_t bindex,vint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(int8_t* base,vuint16m2_t bindex,vint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(int8_t* base,vuint16m4_t bindex,vint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(int8_t* base,vuint16m8_t bindex,vint8m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(int16_t* base,vuint16mf4_t bindex,vint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(int16_t* base,vuint16mf2_t bindex,vint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(int16_t* base,vuint16m1_t bindex,vint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(int16_t* base,vuint16m2_t bindex,vint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(int16_t* base,vuint16m4_t bindex,vint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(int16_t* base,vuint16m8_t bindex,vint16m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(int32_t* base,vuint16mf4_t bindex,vint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(int32_t* base,vuint16mf2_t bindex,vint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(int32_t* base,vuint16m1_t bindex,vint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(int32_t* base,vuint16m2_t bindex,vint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(int32_t* base,vuint16m4_t bindex,vint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(int64_t* base,vuint16mf4_t bindex,vint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(int64_t* base,vuint16mf2_t bindex,vint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(int64_t* base,vuint16m1_t bindex,vint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(int64_t* base,vuint16m2_t bindex,vint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(uint8_t* base,vuint16mf4_t bindex,vuint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(uint8_t* base,vuint16mf2_t bindex,vuint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(uint8_t* base,vuint16m1_t bindex,vuint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(uint8_t* base,vuint16m2_t bindex,vuint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(uint8_t* base,vuint16m4_t bindex,vuint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(uint8_t* base,vuint16m8_t bindex,vuint8m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(uint16_t* base,vuint16mf4_t bindex,vuint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(uint16_t* base,vuint16mf2_t bindex,vuint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(uint16_t* base,vuint16m1_t bindex,vuint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(uint16_t* base,vuint16m2_t bindex,vuint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(uint16_t* base,vuint16m4_t bindex,vuint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(uint16_t* base,vuint16m8_t bindex,vuint16m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(uint32_t* base,vuint16mf4_t bindex,vuint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(uint32_t* base,vuint16mf2_t bindex,vuint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(uint32_t* base,vuint16m1_t bindex,vuint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(uint32_t* base,vuint16m2_t bindex,vuint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(uint32_t* base,vuint16m4_t bindex,vuint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(uint64_t* base,vuint16mf4_t bindex,vuint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(uint64_t* base,vuint16mf2_t bindex,vuint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(uint64_t* base,vuint16m1_t bindex,vuint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(uint64_t* base,vuint16m2_t bindex,vuint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(float* base,vuint16mf4_t bindex,vfloat32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(float* base,vuint16mf2_t bindex,vfloat32m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(float* base,vuint16m1_t bindex,vfloat32m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(float* base,vuint16m2_t bindex,vfloat32m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(float* base,vuint16m4_t bindex,vfloat32m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(double* base,vuint16mf4_t bindex,vfloat64m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(double* base,vuint16mf2_t bindex,vfloat64m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(double* base,vuint16m1_t bindex,vfloat64m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(double* base,vuint16m2_t bindex,vfloat64m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,int8_t* base,vuint16mf4_t bindex,vint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,int8_t* base,vuint16mf2_t bindex,vint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,int8_t* base,vuint16m1_t bindex,vint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,int8_t* base,vuint16m2_t bindex,vint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool4_t mask,int8_t* base,vuint16m4_t bindex,vint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool2_t mask,int8_t* base,vuint16m8_t bindex,vint8m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,int16_t* base,vuint16mf4_t bindex,vint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,int16_t* base,vuint16mf2_t bindex,vint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,int16_t* base,vuint16m1_t bindex,vint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,int16_t* base,vuint16m2_t bindex,vint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool4_t mask,int16_t* base,vuint16m4_t bindex,vint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool2_t mask,int16_t* base,vuint16m8_t bindex,vint16m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,int32_t* base,vuint16mf4_t bindex,vint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,int32_t* base,vuint16mf2_t bindex,vint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,int32_t* base,vuint16m1_t bindex,vint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,int32_t* base,vuint16m2_t bindex,vint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool4_t mask,int32_t* base,vuint16m4_t bindex,vint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,int64_t* base,vuint16mf4_t bindex,vint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,int64_t* base,vuint16mf2_t bindex,vint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,int64_t* base,vuint16m1_t bindex,vint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,int64_t* base,vuint16m2_t bindex,vint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,uint8_t* base,vuint16mf4_t bindex,vuint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,uint8_t* base,vuint16mf2_t bindex,vuint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,uint8_t* base,vuint16m1_t bindex,vuint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,uint8_t* base,vuint16m2_t bindex,vuint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool4_t mask,uint8_t* base,vuint16m4_t bindex,vuint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool2_t mask,uint8_t* base,vuint16m8_t bindex,vuint8m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,uint16_t* base,vuint16mf4_t bindex,vuint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,uint16_t* base,vuint16mf2_t bindex,vuint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,uint16_t* base,vuint16m1_t bindex,vuint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,uint16_t* base,vuint16m2_t bindex,vuint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool4_t mask,uint16_t* base,vuint16m4_t bindex,vuint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool2_t mask,uint16_t* base,vuint16m8_t bindex,vuint16m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,uint32_t* base,vuint16mf4_t bindex,vuint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,uint32_t* base,vuint16mf2_t bindex,vuint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,uint32_t* base,vuint16m1_t bindex,vuint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,uint32_t* base,vuint16m2_t bindex,vuint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool4_t mask,uint32_t* base,vuint16m4_t bindex,vuint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,uint64_t* base,vuint16mf4_t bindex,vuint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,uint64_t* base,vuint16mf2_t bindex,vuint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,uint64_t* base,vuint16m1_t bindex,vuint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,uint64_t* base,vuint16m2_t bindex,vuint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,float* base,vuint16mf4_t bindex,vfloat32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,float* base,vuint16mf2_t bindex,vfloat32m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,float* base,vuint16m1_t bindex,vfloat32m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,float* base,vuint16m2_t bindex,vfloat32m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool4_t mask,float* base,vuint16m4_t bindex,vfloat32m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,double* base,vuint16mf4_t bindex,vfloat64m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,double* base,vuint16mf2_t bindex,vfloat64m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,double* base,vuint16m1_t bindex,vfloat64m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,double* base,vuint16m2_t bindex,vfloat64m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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/vsoxei16-2.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei16-2.C
new file mode 100644
index 00000000000..929f7cfd252
--- /dev/null
+++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei16-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_vsoxei16(int8_t* base,vuint16mf4_t bindex,vint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(int8_t* base,vuint16mf2_t bindex,vint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(int8_t* base,vuint16m1_t bindex,vint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(int8_t* base,vuint16m2_t bindex,vint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(int8_t* base,vuint16m4_t bindex,vint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(int8_t* base,vuint16m8_t bindex,vint8m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(int16_t* base,vuint16mf4_t bindex,vint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(int16_t* base,vuint16mf2_t bindex,vint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(int16_t* base,vuint16m1_t bindex,vint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(int16_t* base,vuint16m2_t bindex,vint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(int16_t* base,vuint16m4_t bindex,vint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(int16_t* base,vuint16m8_t bindex,vint16m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(int32_t* base,vuint16mf4_t bindex,vint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(int32_t* base,vuint16mf2_t bindex,vint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(int32_t* base,vuint16m1_t bindex,vint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(int32_t* base,vuint16m2_t bindex,vint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(int32_t* base,vuint16m4_t bindex,vint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(int64_t* base,vuint16mf4_t bindex,vint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(int64_t* base,vuint16mf2_t bindex,vint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(int64_t* base,vuint16m1_t bindex,vint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(int64_t* base,vuint16m2_t bindex,vint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(uint8_t* base,vuint16mf4_t bindex,vuint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(uint8_t* base,vuint16mf2_t bindex,vuint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(uint8_t* base,vuint16m1_t bindex,vuint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(uint8_t* base,vuint16m2_t bindex,vuint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(uint8_t* base,vuint16m4_t bindex,vuint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(uint8_t* base,vuint16m8_t bindex,vuint8m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(uint16_t* base,vuint16mf4_t bindex,vuint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(uint16_t* base,vuint16mf2_t bindex,vuint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(uint16_t* base,vuint16m1_t bindex,vuint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(uint16_t* base,vuint16m2_t bindex,vuint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(uint16_t* base,vuint16m4_t bindex,vuint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(uint16_t* base,vuint16m8_t bindex,vuint16m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(uint32_t* base,vuint16mf4_t bindex,vuint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(uint32_t* base,vuint16mf2_t bindex,vuint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(uint32_t* base,vuint16m1_t bindex,vuint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(uint32_t* base,vuint16m2_t bindex,vuint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(uint32_t* base,vuint16m4_t bindex,vuint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(uint64_t* base,vuint16mf4_t bindex,vuint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(uint64_t* base,vuint16mf2_t bindex,vuint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(uint64_t* base,vuint16m1_t bindex,vuint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(uint64_t* base,vuint16m2_t bindex,vuint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(float* base,vuint16mf4_t bindex,vfloat32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(float* base,vuint16mf2_t bindex,vfloat32m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(float* base,vuint16m1_t bindex,vfloat32m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(float* base,vuint16m2_t bindex,vfloat32m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(float* base,vuint16m4_t bindex,vfloat32m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(double* base,vuint16mf4_t bindex,vfloat64m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(double* base,vuint16mf2_t bindex,vfloat64m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(double* base,vuint16m1_t bindex,vfloat64m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(double* base,vuint16m2_t bindex,vfloat64m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,int8_t* base,vuint16mf4_t bindex,vint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,int8_t* base,vuint16mf2_t bindex,vint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,int8_t* base,vuint16m1_t bindex,vint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,int8_t* base,vuint16m2_t bindex,vint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool4_t mask,int8_t* base,vuint16m4_t bindex,vint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool2_t mask,int8_t* base,vuint16m8_t bindex,vint8m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,int16_t* base,vuint16mf4_t bindex,vint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,int16_t* base,vuint16mf2_t bindex,vint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,int16_t* base,vuint16m1_t bindex,vint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,int16_t* base,vuint16m2_t bindex,vint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool4_t mask,int16_t* base,vuint16m4_t bindex,vint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool2_t mask,int16_t* base,vuint16m8_t bindex,vint16m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,int32_t* base,vuint16mf4_t bindex,vint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,int32_t* base,vuint16mf2_t bindex,vint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,int32_t* base,vuint16m1_t bindex,vint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,int32_t* base,vuint16m2_t bindex,vint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool4_t mask,int32_t* base,vuint16m4_t bindex,vint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,int64_t* base,vuint16mf4_t bindex,vint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,int64_t* base,vuint16mf2_t bindex,vint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,int64_t* base,vuint16m1_t bindex,vint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,int64_t* base,vuint16m2_t bindex,vint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,uint8_t* base,vuint16mf4_t bindex,vuint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,uint8_t* base,vuint16mf2_t bindex,vuint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,uint8_t* base,vuint16m1_t bindex,vuint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,uint8_t* base,vuint16m2_t bindex,vuint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool4_t mask,uint8_t* base,vuint16m4_t bindex,vuint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool2_t mask,uint8_t* base,vuint16m8_t bindex,vuint8m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,uint16_t* base,vuint16mf4_t bindex,vuint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,uint16_t* base,vuint16mf2_t bindex,vuint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,uint16_t* base,vuint16m1_t bindex,vuint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,uint16_t* base,vuint16m2_t bindex,vuint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool4_t mask,uint16_t* base,vuint16m4_t bindex,vuint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool2_t mask,uint16_t* base,vuint16m8_t bindex,vuint16m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,uint32_t* base,vuint16mf4_t bindex,vuint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,uint32_t* base,vuint16mf2_t bindex,vuint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,uint32_t* base,vuint16m1_t bindex,vuint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,uint32_t* base,vuint16m2_t bindex,vuint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool4_t mask,uint32_t* base,vuint16m4_t bindex,vuint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,uint64_t* base,vuint16mf4_t bindex,vuint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,uint64_t* base,vuint16mf2_t bindex,vuint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,uint64_t* base,vuint16m1_t bindex,vuint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,uint64_t* base,vuint16m2_t bindex,vuint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,float* base,vuint16mf4_t bindex,vfloat32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,float* base,vuint16mf2_t bindex,vfloat32m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,float* base,vuint16m1_t bindex,vfloat32m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,float* base,vuint16m2_t bindex,vfloat32m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool4_t mask,float* base,vuint16m4_t bindex,vfloat32m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,double* base,vuint16mf4_t bindex,vfloat64m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,double* base,vuint16mf2_t bindex,vfloat64m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,double* base,vuint16m1_t bindex,vfloat64m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,double* base,vuint16m2_t bindex,vfloat64m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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/vsoxei16-3.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei16-3.C
new file mode 100644
index 00000000000..e80368bebc4
--- /dev/null
+++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei16-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_vsoxei16(int8_t* base,vuint16mf4_t bindex,vint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(int8_t* base,vuint16mf2_t bindex,vint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(int8_t* base,vuint16m1_t bindex,vint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(int8_t* base,vuint16m2_t bindex,vint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(int8_t* base,vuint16m4_t bindex,vint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(int8_t* base,vuint16m8_t bindex,vint8m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(int16_t* base,vuint16mf4_t bindex,vint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(int16_t* base,vuint16mf2_t bindex,vint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(int16_t* base,vuint16m1_t bindex,vint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(int16_t* base,vuint16m2_t bindex,vint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(int16_t* base,vuint16m4_t bindex,vint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(int16_t* base,vuint16m8_t bindex,vint16m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(int32_t* base,vuint16mf4_t bindex,vint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(int32_t* base,vuint16mf2_t bindex,vint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(int32_t* base,vuint16m1_t bindex,vint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(int32_t* base,vuint16m2_t bindex,vint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(int32_t* base,vuint16m4_t bindex,vint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(int64_t* base,vuint16mf4_t bindex,vint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(int64_t* base,vuint16mf2_t bindex,vint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(int64_t* base,vuint16m1_t bindex,vint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(int64_t* base,vuint16m2_t bindex,vint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(uint8_t* base,vuint16mf4_t bindex,vuint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(uint8_t* base,vuint16mf2_t bindex,vuint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(uint8_t* base,vuint16m1_t bindex,vuint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(uint8_t* base,vuint16m2_t bindex,vuint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(uint8_t* base,vuint16m4_t bindex,vuint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(uint8_t* base,vuint16m8_t bindex,vuint8m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(uint16_t* base,vuint16mf4_t bindex,vuint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(uint16_t* base,vuint16mf2_t bindex,vuint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(uint16_t* base,vuint16m1_t bindex,vuint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(uint16_t* base,vuint16m2_t bindex,vuint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(uint16_t* base,vuint16m4_t bindex,vuint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(uint16_t* base,vuint16m8_t bindex,vuint16m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(uint32_t* base,vuint16mf4_t bindex,vuint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(uint32_t* base,vuint16mf2_t bindex,vuint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(uint32_t* base,vuint16m1_t bindex,vuint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(uint32_t* base,vuint16m2_t bindex,vuint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(uint32_t* base,vuint16m4_t bindex,vuint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(uint64_t* base,vuint16mf4_t bindex,vuint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(uint64_t* base,vuint16mf2_t bindex,vuint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(uint64_t* base,vuint16m1_t bindex,vuint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(uint64_t* base,vuint16m2_t bindex,vuint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(float* base,vuint16mf4_t bindex,vfloat32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(float* base,vuint16mf2_t bindex,vfloat32m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(float* base,vuint16m1_t bindex,vfloat32m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(float* base,vuint16m2_t bindex,vfloat32m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(float* base,vuint16m4_t bindex,vfloat32m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(double* base,vuint16mf4_t bindex,vfloat64m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(double* base,vuint16mf2_t bindex,vfloat64m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(double* base,vuint16m1_t bindex,vfloat64m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(double* base,vuint16m2_t bindex,vfloat64m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,int8_t* base,vuint16mf4_t bindex,vint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,int8_t* base,vuint16mf2_t bindex,vint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,int8_t* base,vuint16m1_t bindex,vint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,int8_t* base,vuint16m2_t bindex,vint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool4_t mask,int8_t* base,vuint16m4_t bindex,vint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool2_t mask,int8_t* base,vuint16m8_t bindex,vint8m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,int16_t* base,vuint16mf4_t bindex,vint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,int16_t* base,vuint16mf2_t bindex,vint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,int16_t* base,vuint16m1_t bindex,vint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,int16_t* base,vuint16m2_t bindex,vint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool4_t mask,int16_t* base,vuint16m4_t bindex,vint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool2_t mask,int16_t* base,vuint16m8_t bindex,vint16m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,int32_t* base,vuint16mf4_t bindex,vint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,int32_t* base,vuint16mf2_t bindex,vint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,int32_t* base,vuint16m1_t bindex,vint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,int32_t* base,vuint16m2_t bindex,vint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool4_t mask,int32_t* base,vuint16m4_t bindex,vint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,int64_t* base,vuint16mf4_t bindex,vint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,int64_t* base,vuint16mf2_t bindex,vint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,int64_t* base,vuint16m1_t bindex,vint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,int64_t* base,vuint16m2_t bindex,vint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,uint8_t* base,vuint16mf4_t bindex,vuint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,uint8_t* base,vuint16mf2_t bindex,vuint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,uint8_t* base,vuint16m1_t bindex,vuint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,uint8_t* base,vuint16m2_t bindex,vuint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool4_t mask,uint8_t* base,vuint16m4_t bindex,vuint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool2_t mask,uint8_t* base,vuint16m8_t bindex,vuint8m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,uint16_t* base,vuint16mf4_t bindex,vuint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,uint16_t* base,vuint16mf2_t bindex,vuint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,uint16_t* base,vuint16m1_t bindex,vuint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,uint16_t* base,vuint16m2_t bindex,vuint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool4_t mask,uint16_t* base,vuint16m4_t bindex,vuint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool2_t mask,uint16_t* base,vuint16m8_t bindex,vuint16m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,uint32_t* base,vuint16mf4_t bindex,vuint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,uint32_t* base,vuint16mf2_t bindex,vuint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,uint32_t* base,vuint16m1_t bindex,vuint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,uint32_t* base,vuint16m2_t bindex,vuint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool4_t mask,uint32_t* base,vuint16m4_t bindex,vuint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,uint64_t* base,vuint16mf4_t bindex,vuint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,uint64_t* base,vuint16mf2_t bindex,vuint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,uint64_t* base,vuint16m1_t bindex,vuint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,uint64_t* base,vuint16m2_t bindex,vuint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,float* base,vuint16mf4_t bindex,vfloat32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,float* base,vuint16mf2_t bindex,vfloat32m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,float* base,vuint16m1_t bindex,vfloat32m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,float* base,vuint16m2_t bindex,vfloat32m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool4_t mask,float* base,vuint16m4_t bindex,vfloat32m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool64_t mask,double* base,vuint16mf4_t bindex,vfloat64m1_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool32_t mask,double* base,vuint16mf2_t bindex,vfloat64m2_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool16_t mask,double* base,vuint16m1_t bindex,vfloat64m4_t value,size_t vl)
+{
+    __riscv_vsoxei16(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei16(vbool8_t mask,double* base,vuint16m2_t bindex,vfloat64m8_t value,size_t vl)
+{
+    __riscv_vsoxei16(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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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+vsoxei16\.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/vsoxei8-1.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei8-1.C
new file mode 100644
index 00000000000..8abc0abed32
--- /dev/null
+++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei8-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_vsoxei8(int8_t* base,vuint8mf8_t bindex,vint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(int8_t* base,vuint8mf4_t bindex,vint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(int8_t* base,vuint8mf2_t bindex,vint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(int8_t* base,vuint8m1_t bindex,vint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(int8_t* base,vuint8m2_t bindex,vint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(int8_t* base,vuint8m4_t bindex,vint8m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(int8_t* base,vuint8m8_t bindex,vint8m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(int16_t* base,vuint8mf8_t bindex,vint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(int16_t* base,vuint8mf4_t bindex,vint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(int16_t* base,vuint8mf2_t bindex,vint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(int16_t* base,vuint8m1_t bindex,vint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(int16_t* base,vuint8m2_t bindex,vint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(int16_t* base,vuint8m4_t bindex,vint16m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(int32_t* base,vuint8mf8_t bindex,vint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(int32_t* base,vuint8mf4_t bindex,vint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(int32_t* base,vuint8mf2_t bindex,vint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(int32_t* base,vuint8m1_t bindex,vint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(int32_t* base,vuint8m2_t bindex,vint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(int64_t* base,vuint8mf8_t bindex,vint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(int64_t* base,vuint8mf4_t bindex,vint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(int64_t* base,vuint8mf2_t bindex,vint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(int64_t* base,vuint8m1_t bindex,vint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(uint8_t* base,vuint8mf8_t bindex,vuint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(uint8_t* base,vuint8mf4_t bindex,vuint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(uint8_t* base,vuint8mf2_t bindex,vuint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(uint8_t* base,vuint8m1_t bindex,vuint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(uint8_t* base,vuint8m2_t bindex,vuint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(uint8_t* base,vuint8m4_t bindex,vuint8m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(uint8_t* base,vuint8m8_t bindex,vuint8m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(uint16_t* base,vuint8mf8_t bindex,vuint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(uint16_t* base,vuint8mf4_t bindex,vuint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(uint16_t* base,vuint8mf2_t bindex,vuint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(uint16_t* base,vuint8m1_t bindex,vuint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(uint16_t* base,vuint8m2_t bindex,vuint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(uint16_t* base,vuint8m4_t bindex,vuint16m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(uint32_t* base,vuint8mf8_t bindex,vuint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(uint32_t* base,vuint8mf4_t bindex,vuint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(uint32_t* base,vuint8mf2_t bindex,vuint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(uint32_t* base,vuint8m1_t bindex,vuint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(uint32_t* base,vuint8m2_t bindex,vuint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(uint64_t* base,vuint8mf8_t bindex,vuint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(uint64_t* base,vuint8mf4_t bindex,vuint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(uint64_t* base,vuint8mf2_t bindex,vuint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(uint64_t* base,vuint8m1_t bindex,vuint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(float* base,vuint8mf8_t bindex,vfloat32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(float* base,vuint8mf4_t bindex,vfloat32m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(float* base,vuint8mf2_t bindex,vfloat32m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(float* base,vuint8m1_t bindex,vfloat32m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(float* base,vuint8m2_t bindex,vfloat32m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(double* base,vuint8mf8_t bindex,vfloat64m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(double* base,vuint8mf4_t bindex,vfloat64m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(double* base,vuint8mf2_t bindex,vfloat64m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(double* base,vuint8m1_t bindex,vfloat64m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,int8_t* base,vuint8mf8_t bindex,vint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,int8_t* base,vuint8mf4_t bindex,vint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,int8_t* base,vuint8mf2_t bindex,vint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,int8_t* base,vuint8m1_t bindex,vint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool4_t mask,int8_t* base,vuint8m2_t bindex,vint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool2_t mask,int8_t* base,vuint8m4_t bindex,vint8m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool1_t mask,int8_t* base,vuint8m8_t bindex,vint8m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,int16_t* base,vuint8mf8_t bindex,vint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,int16_t* base,vuint8mf4_t bindex,vint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,int16_t* base,vuint8mf2_t bindex,vint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,int16_t* base,vuint8m1_t bindex,vint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool4_t mask,int16_t* base,vuint8m2_t bindex,vint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool2_t mask,int16_t* base,vuint8m4_t bindex,vint16m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,int32_t* base,vuint8mf8_t bindex,vint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,int32_t* base,vuint8mf4_t bindex,vint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,int32_t* base,vuint8mf2_t bindex,vint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,int32_t* base,vuint8m1_t bindex,vint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool4_t mask,int32_t* base,vuint8m2_t bindex,vint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,int64_t* base,vuint8mf8_t bindex,vint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,int64_t* base,vuint8mf4_t bindex,vint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,int64_t* base,vuint8mf2_t bindex,vint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,int64_t* base,vuint8m1_t bindex,vint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,uint8_t* base,vuint8mf8_t bindex,vuint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,uint8_t* base,vuint8mf4_t bindex,vuint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,uint8_t* base,vuint8mf2_t bindex,vuint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,uint8_t* base,vuint8m1_t bindex,vuint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool4_t mask,uint8_t* base,vuint8m2_t bindex,vuint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool2_t mask,uint8_t* base,vuint8m4_t bindex,vuint8m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool1_t mask,uint8_t* base,vuint8m8_t bindex,vuint8m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,uint16_t* base,vuint8mf8_t bindex,vuint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,uint16_t* base,vuint8mf4_t bindex,vuint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,uint16_t* base,vuint8mf2_t bindex,vuint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,uint16_t* base,vuint8m1_t bindex,vuint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool4_t mask,uint16_t* base,vuint8m2_t bindex,vuint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool2_t mask,uint16_t* base,vuint8m4_t bindex,vuint16m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,uint32_t* base,vuint8mf8_t bindex,vuint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,uint32_t* base,vuint8mf4_t bindex,vuint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,uint32_t* base,vuint8mf2_t bindex,vuint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,uint32_t* base,vuint8m1_t bindex,vuint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool4_t mask,uint32_t* base,vuint8m2_t bindex,vuint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,uint64_t* base,vuint8mf8_t bindex,vuint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,uint64_t* base,vuint8mf4_t bindex,vuint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,uint64_t* base,vuint8mf2_t bindex,vuint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,uint64_t* base,vuint8m1_t bindex,vuint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,float* base,vuint8mf8_t bindex,vfloat32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,float* base,vuint8mf4_t bindex,vfloat32m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,float* base,vuint8mf2_t bindex,vfloat32m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,float* base,vuint8m1_t bindex,vfloat32m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool4_t mask,float* base,vuint8m2_t bindex,vfloat32m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,double* base,vuint8mf8_t bindex,vfloat64m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,double* base,vuint8mf4_t bindex,vfloat64m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,double* base,vuint8mf2_t bindex,vfloat64m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,double* base,vuint8m1_t bindex,vfloat64m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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/vsoxei8-2.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei8-2.C
new file mode 100644
index 00000000000..b876bdf747a
--- /dev/null
+++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei8-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_vsoxei8(int8_t* base,vuint8mf8_t bindex,vint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(int8_t* base,vuint8mf4_t bindex,vint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(int8_t* base,vuint8mf2_t bindex,vint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(int8_t* base,vuint8m1_t bindex,vint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(int8_t* base,vuint8m2_t bindex,vint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(int8_t* base,vuint8m4_t bindex,vint8m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(int8_t* base,vuint8m8_t bindex,vint8m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(int16_t* base,vuint8mf8_t bindex,vint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(int16_t* base,vuint8mf4_t bindex,vint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(int16_t* base,vuint8mf2_t bindex,vint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(int16_t* base,vuint8m1_t bindex,vint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(int16_t* base,vuint8m2_t bindex,vint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(int16_t* base,vuint8m4_t bindex,vint16m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(int32_t* base,vuint8mf8_t bindex,vint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(int32_t* base,vuint8mf4_t bindex,vint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(int32_t* base,vuint8mf2_t bindex,vint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(int32_t* base,vuint8m1_t bindex,vint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(int32_t* base,vuint8m2_t bindex,vint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(int64_t* base,vuint8mf8_t bindex,vint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(int64_t* base,vuint8mf4_t bindex,vint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(int64_t* base,vuint8mf2_t bindex,vint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(int64_t* base,vuint8m1_t bindex,vint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(uint8_t* base,vuint8mf8_t bindex,vuint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(uint8_t* base,vuint8mf4_t bindex,vuint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(uint8_t* base,vuint8mf2_t bindex,vuint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(uint8_t* base,vuint8m1_t bindex,vuint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(uint8_t* base,vuint8m2_t bindex,vuint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(uint8_t* base,vuint8m4_t bindex,vuint8m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(uint8_t* base,vuint8m8_t bindex,vuint8m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(uint16_t* base,vuint8mf8_t bindex,vuint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(uint16_t* base,vuint8mf4_t bindex,vuint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(uint16_t* base,vuint8mf2_t bindex,vuint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(uint16_t* base,vuint8m1_t bindex,vuint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(uint16_t* base,vuint8m2_t bindex,vuint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(uint16_t* base,vuint8m4_t bindex,vuint16m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(uint32_t* base,vuint8mf8_t bindex,vuint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(uint32_t* base,vuint8mf4_t bindex,vuint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(uint32_t* base,vuint8mf2_t bindex,vuint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(uint32_t* base,vuint8m1_t bindex,vuint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(uint32_t* base,vuint8m2_t bindex,vuint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(uint64_t* base,vuint8mf8_t bindex,vuint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(uint64_t* base,vuint8mf4_t bindex,vuint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(uint64_t* base,vuint8mf2_t bindex,vuint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(uint64_t* base,vuint8m1_t bindex,vuint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(float* base,vuint8mf8_t bindex,vfloat32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(float* base,vuint8mf4_t bindex,vfloat32m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(float* base,vuint8mf2_t bindex,vfloat32m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(float* base,vuint8m1_t bindex,vfloat32m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(float* base,vuint8m2_t bindex,vfloat32m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(double* base,vuint8mf8_t bindex,vfloat64m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(double* base,vuint8mf4_t bindex,vfloat64m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(double* base,vuint8mf2_t bindex,vfloat64m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(double* base,vuint8m1_t bindex,vfloat64m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,int8_t* base,vuint8mf8_t bindex,vint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,int8_t* base,vuint8mf4_t bindex,vint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,int8_t* base,vuint8mf2_t bindex,vint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,int8_t* base,vuint8m1_t bindex,vint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool4_t mask,int8_t* base,vuint8m2_t bindex,vint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool2_t mask,int8_t* base,vuint8m4_t bindex,vint8m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool1_t mask,int8_t* base,vuint8m8_t bindex,vint8m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,int16_t* base,vuint8mf8_t bindex,vint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,int16_t* base,vuint8mf4_t bindex,vint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,int16_t* base,vuint8mf2_t bindex,vint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,int16_t* base,vuint8m1_t bindex,vint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool4_t mask,int16_t* base,vuint8m2_t bindex,vint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool2_t mask,int16_t* base,vuint8m4_t bindex,vint16m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,int32_t* base,vuint8mf8_t bindex,vint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,int32_t* base,vuint8mf4_t bindex,vint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,int32_t* base,vuint8mf2_t bindex,vint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,int32_t* base,vuint8m1_t bindex,vint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool4_t mask,int32_t* base,vuint8m2_t bindex,vint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,int64_t* base,vuint8mf8_t bindex,vint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,int64_t* base,vuint8mf4_t bindex,vint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,int64_t* base,vuint8mf2_t bindex,vint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,int64_t* base,vuint8m1_t bindex,vint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,uint8_t* base,vuint8mf8_t bindex,vuint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,uint8_t* base,vuint8mf4_t bindex,vuint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,uint8_t* base,vuint8mf2_t bindex,vuint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,uint8_t* base,vuint8m1_t bindex,vuint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool4_t mask,uint8_t* base,vuint8m2_t bindex,vuint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool2_t mask,uint8_t* base,vuint8m4_t bindex,vuint8m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool1_t mask,uint8_t* base,vuint8m8_t bindex,vuint8m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,uint16_t* base,vuint8mf8_t bindex,vuint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,uint16_t* base,vuint8mf4_t bindex,vuint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,uint16_t* base,vuint8mf2_t bindex,vuint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,uint16_t* base,vuint8m1_t bindex,vuint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool4_t mask,uint16_t* base,vuint8m2_t bindex,vuint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool2_t mask,uint16_t* base,vuint8m4_t bindex,vuint16m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,uint32_t* base,vuint8mf8_t bindex,vuint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,uint32_t* base,vuint8mf4_t bindex,vuint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,uint32_t* base,vuint8mf2_t bindex,vuint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,uint32_t* base,vuint8m1_t bindex,vuint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool4_t mask,uint32_t* base,vuint8m2_t bindex,vuint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,uint64_t* base,vuint8mf8_t bindex,vuint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,uint64_t* base,vuint8mf4_t bindex,vuint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,uint64_t* base,vuint8mf2_t bindex,vuint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,uint64_t* base,vuint8m1_t bindex,vuint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,float* base,vuint8mf8_t bindex,vfloat32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,float* base,vuint8mf4_t bindex,vfloat32m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,float* base,vuint8mf2_t bindex,vfloat32m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,float* base,vuint8m1_t bindex,vfloat32m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool4_t mask,float* base,vuint8m2_t bindex,vfloat32m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,double* base,vuint8mf8_t bindex,vfloat64m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,double* base,vuint8mf4_t bindex,vfloat64m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,double* base,vuint8mf2_t bindex,vfloat64m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,double* base,vuint8m1_t bindex,vfloat64m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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/vsoxei8-3.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei8-3.C
new file mode 100644
index 00000000000..65806e34664
--- /dev/null
+++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei8-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_vsoxei8(int8_t* base,vuint8mf8_t bindex,vint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(int8_t* base,vuint8mf4_t bindex,vint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(int8_t* base,vuint8mf2_t bindex,vint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(int8_t* base,vuint8m1_t bindex,vint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(int8_t* base,vuint8m2_t bindex,vint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(int8_t* base,vuint8m4_t bindex,vint8m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(int8_t* base,vuint8m8_t bindex,vint8m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(int16_t* base,vuint8mf8_t bindex,vint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(int16_t* base,vuint8mf4_t bindex,vint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(int16_t* base,vuint8mf2_t bindex,vint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(int16_t* base,vuint8m1_t bindex,vint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(int16_t* base,vuint8m2_t bindex,vint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(int16_t* base,vuint8m4_t bindex,vint16m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(int32_t* base,vuint8mf8_t bindex,vint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(int32_t* base,vuint8mf4_t bindex,vint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(int32_t* base,vuint8mf2_t bindex,vint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(int32_t* base,vuint8m1_t bindex,vint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(int32_t* base,vuint8m2_t bindex,vint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(int64_t* base,vuint8mf8_t bindex,vint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(int64_t* base,vuint8mf4_t bindex,vint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(int64_t* base,vuint8mf2_t bindex,vint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(int64_t* base,vuint8m1_t bindex,vint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(uint8_t* base,vuint8mf8_t bindex,vuint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(uint8_t* base,vuint8mf4_t bindex,vuint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(uint8_t* base,vuint8mf2_t bindex,vuint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(uint8_t* base,vuint8m1_t bindex,vuint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(uint8_t* base,vuint8m2_t bindex,vuint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(uint8_t* base,vuint8m4_t bindex,vuint8m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(uint8_t* base,vuint8m8_t bindex,vuint8m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(uint16_t* base,vuint8mf8_t bindex,vuint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(uint16_t* base,vuint8mf4_t bindex,vuint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(uint16_t* base,vuint8mf2_t bindex,vuint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(uint16_t* base,vuint8m1_t bindex,vuint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(uint16_t* base,vuint8m2_t bindex,vuint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(uint16_t* base,vuint8m4_t bindex,vuint16m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(uint32_t* base,vuint8mf8_t bindex,vuint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(uint32_t* base,vuint8mf4_t bindex,vuint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(uint32_t* base,vuint8mf2_t bindex,vuint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(uint32_t* base,vuint8m1_t bindex,vuint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(uint32_t* base,vuint8m2_t bindex,vuint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(uint64_t* base,vuint8mf8_t bindex,vuint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(uint64_t* base,vuint8mf4_t bindex,vuint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(uint64_t* base,vuint8mf2_t bindex,vuint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(uint64_t* base,vuint8m1_t bindex,vuint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(float* base,vuint8mf8_t bindex,vfloat32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(float* base,vuint8mf4_t bindex,vfloat32m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(float* base,vuint8mf2_t bindex,vfloat32m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(float* base,vuint8m1_t bindex,vfloat32m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(float* base,vuint8m2_t bindex,vfloat32m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(double* base,vuint8mf8_t bindex,vfloat64m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(double* base,vuint8mf4_t bindex,vfloat64m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(double* base,vuint8mf2_t bindex,vfloat64m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(double* base,vuint8m1_t bindex,vfloat64m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,int8_t* base,vuint8mf8_t bindex,vint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,int8_t* base,vuint8mf4_t bindex,vint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,int8_t* base,vuint8mf2_t bindex,vint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,int8_t* base,vuint8m1_t bindex,vint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool4_t mask,int8_t* base,vuint8m2_t bindex,vint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool2_t mask,int8_t* base,vuint8m4_t bindex,vint8m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool1_t mask,int8_t* base,vuint8m8_t bindex,vint8m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,int16_t* base,vuint8mf8_t bindex,vint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,int16_t* base,vuint8mf4_t bindex,vint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,int16_t* base,vuint8mf2_t bindex,vint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,int16_t* base,vuint8m1_t bindex,vint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool4_t mask,int16_t* base,vuint8m2_t bindex,vint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool2_t mask,int16_t* base,vuint8m4_t bindex,vint16m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,int32_t* base,vuint8mf8_t bindex,vint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,int32_t* base,vuint8mf4_t bindex,vint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,int32_t* base,vuint8mf2_t bindex,vint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,int32_t* base,vuint8m1_t bindex,vint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool4_t mask,int32_t* base,vuint8m2_t bindex,vint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,int64_t* base,vuint8mf8_t bindex,vint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,int64_t* base,vuint8mf4_t bindex,vint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,int64_t* base,vuint8mf2_t bindex,vint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,int64_t* base,vuint8m1_t bindex,vint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,uint8_t* base,vuint8mf8_t bindex,vuint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,uint8_t* base,vuint8mf4_t bindex,vuint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,uint8_t* base,vuint8mf2_t bindex,vuint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,uint8_t* base,vuint8m1_t bindex,vuint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool4_t mask,uint8_t* base,vuint8m2_t bindex,vuint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool2_t mask,uint8_t* base,vuint8m4_t bindex,vuint8m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool1_t mask,uint8_t* base,vuint8m8_t bindex,vuint8m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,uint16_t* base,vuint8mf8_t bindex,vuint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,uint16_t* base,vuint8mf4_t bindex,vuint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,uint16_t* base,vuint8mf2_t bindex,vuint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,uint16_t* base,vuint8m1_t bindex,vuint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool4_t mask,uint16_t* base,vuint8m2_t bindex,vuint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool2_t mask,uint16_t* base,vuint8m4_t bindex,vuint16m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,uint32_t* base,vuint8mf8_t bindex,vuint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,uint32_t* base,vuint8mf4_t bindex,vuint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,uint32_t* base,vuint8mf2_t bindex,vuint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,uint32_t* base,vuint8m1_t bindex,vuint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool4_t mask,uint32_t* base,vuint8m2_t bindex,vuint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,uint64_t* base,vuint8mf8_t bindex,vuint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,uint64_t* base,vuint8mf4_t bindex,vuint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,uint64_t* base,vuint8mf2_t bindex,vuint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,uint64_t* base,vuint8m1_t bindex,vuint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,float* base,vuint8mf8_t bindex,vfloat32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,float* base,vuint8mf4_t bindex,vfloat32m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,float* base,vuint8mf2_t bindex,vfloat32m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,float* base,vuint8m1_t bindex,vfloat32m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool4_t mask,float* base,vuint8m2_t bindex,vfloat32m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool64_t mask,double* base,vuint8mf8_t bindex,vfloat64m1_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool32_t mask,double* base,vuint8mf4_t bindex,vfloat64m2_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool16_t mask,double* base,vuint8mf2_t bindex,vfloat64m4_t value,size_t vl)
+{
+    __riscv_vsoxei8(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei8(vbool8_t mask,double* base,vuint8m1_t bindex,vfloat64m8_t value,size_t vl)
+{
+    __riscv_vsoxei8(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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.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+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */
