RISC-V: Add vsoxei32 && vsoxei64 C++ API intrinsic testcase

Message ID 20230129231444.90559-1-juzhe.zhong@rivai.ai
State Accepted
Headers
Series RISC-V: Add vsoxei32 && vsoxei64 C++ API intrinsic testcase |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

juzhe.zhong@rivai.ai Jan. 29, 2023, 11:14 p.m. UTC
  From: Ju-Zhe Zhong <juzhe.zhong@rivai.ai>

gcc/testsuite/ChangeLog:

        * g++.target/riscv/rvv/base/vsoxei32-1.C: New test.
        * g++.target/riscv/rvv/base/vsoxei32-2.C: New test.
        * g++.target/riscv/rvv/base/vsoxei32-3.C: New test.
        * g++.target/riscv/rvv/base/vsoxei64-1.C: New test.
        * g++.target/riscv/rvv/base/vsoxei64-2.C: New test.
        * g++.target/riscv/rvv/base/vsoxei64-3.C: New test.

---
 .../g++.target/riscv/rvv/base/vsoxei32-1.C    | 608 ++++++++++++++++++
 .../g++.target/riscv/rvv/base/vsoxei32-2.C    | 608 ++++++++++++++++++
 .../g++.target/riscv/rvv/base/vsoxei32-3.C    | 608 ++++++++++++++++++
 .../g++.target/riscv/rvv/base/vsoxei64-1.C    | 518 +++++++++++++++
 .../g++.target/riscv/rvv/base/vsoxei64-2.C    | 518 +++++++++++++++
 .../g++.target/riscv/rvv/base/vsoxei64-3.C    | 518 +++++++++++++++
 6 files changed, 3378 insertions(+)
 create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsoxei32-1.C
 create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsoxei32-2.C
 create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsoxei32-3.C
 create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsoxei64-1.C
 create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsoxei64-2.C
 create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsoxei64-3.C
  

Comments

Kito Cheng Jan. 30, 2023, 4:52 p.m. UTC | #1
committed, thanks!

On Mon, Jan 30, 2023 at 7:15 AM <juzhe.zhong@rivai.ai> wrote:
>
> From: Ju-Zhe Zhong <juzhe.zhong@rivai.ai>
>
> gcc/testsuite/ChangeLog:
>
>         * g++.target/riscv/rvv/base/vsoxei32-1.C: New test.
>         * g++.target/riscv/rvv/base/vsoxei32-2.C: New test.
>         * g++.target/riscv/rvv/base/vsoxei32-3.C: New test.
>         * g++.target/riscv/rvv/base/vsoxei64-1.C: New test.
>         * g++.target/riscv/rvv/base/vsoxei64-2.C: New test.
>         * g++.target/riscv/rvv/base/vsoxei64-3.C: New test.
>
> ---
>  .../g++.target/riscv/rvv/base/vsoxei32-1.C    | 608 ++++++++++++++++++
>  .../g++.target/riscv/rvv/base/vsoxei32-2.C    | 608 ++++++++++++++++++
>  .../g++.target/riscv/rvv/base/vsoxei32-3.C    | 608 ++++++++++++++++++
>  .../g++.target/riscv/rvv/base/vsoxei64-1.C    | 518 +++++++++++++++
>  .../g++.target/riscv/rvv/base/vsoxei64-2.C    | 518 +++++++++++++++
>  .../g++.target/riscv/rvv/base/vsoxei64-3.C    | 518 +++++++++++++++
>  6 files changed, 3378 insertions(+)
>  create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsoxei32-1.C
>  create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsoxei32-2.C
>  create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsoxei32-3.C
>  create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsoxei64-1.C
>  create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsoxei64-2.C
>  create mode 100644 gcc/testsuite/g++.target/riscv/rvv/base/vsoxei64-3.C
>
> diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei32-1.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei32-1.C
> new file mode 100644
> index 00000000000..3f39f889d1f
> --- /dev/null
> +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei32-1.C
> @@ -0,0 +1,608 @@
> +/* { dg-do compile } */
> +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */
> +
> +#include "riscv_vector.h"
> +
> +void test___riscv_vsoxei32(int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool4_t mask,int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool4_t mask,int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool4_t mask,int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool4_t mask,uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool4_t mask,uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool4_t mask,uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool4_t mask,float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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/vsoxei32-2.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei32-2.C
> new file mode 100644
> index 00000000000..d0b6b510500
> --- /dev/null
> +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei32-2.C
> @@ -0,0 +1,608 @@
> +/* { dg-do compile } */
> +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */
> +
> +#include "riscv_vector.h"
> +
> +void test___riscv_vsoxei32(int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool4_t mask,int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool4_t mask,int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool4_t mask,int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool4_t mask,uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool4_t mask,uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool4_t mask,uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool4_t mask,float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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/vsoxei32-3.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei32-3.C
> new file mode 100644
> index 00000000000..0845841dc7f
> --- /dev/null
> +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei32-3.C
> @@ -0,0 +1,608 @@
> +/* { dg-do compile } */
> +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */
> +
> +#include "riscv_vector.h"
> +
> +void test___riscv_vsoxei32(int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool4_t mask,int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool4_t mask,int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool4_t mask,int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool4_t mask,uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool4_t mask,uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool4_t mask,uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool4_t mask,float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool64_t mask,double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool32_t mask,double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool16_t mask,double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei32(vbool8_t mask,double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei32(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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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/vsoxei64-1.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei64-1.C
> new file mode 100644
> index 00000000000..f8f5938cebc
> --- /dev/null
> +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei64-1.C
> @@ -0,0 +1,518 @@
> +/* { dg-do compile } */
> +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */
> +
> +#include "riscv_vector.h"
> +
> +void test___riscv_vsoxei64(int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,vl);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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/vsoxei64-2.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei64-2.C
> new file mode 100644
> index 00000000000..0a1c26d2036
> --- /dev/null
> +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei64-2.C
> @@ -0,0 +1,518 @@
> +/* { dg-do compile } */
> +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */
> +
> +#include "riscv_vector.h"
> +
> +void test___riscv_vsoxei64(int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,31);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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/vsoxei64-3.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei64-3.C
> new file mode 100644
> index 00000000000..326c9dc6f7a
> --- /dev/null
> +++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei64-3.C
> @@ -0,0 +1,518 @@
> +/* { dg-do compile } */
> +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */
> +
> +#include "riscv_vector.h"
> +
> +void test___riscv_vsoxei64(int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool64_t mask,double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool32_t mask,double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool16_t mask,double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(mask,base,bindex,value,32);
> +}
> +
> +
> +void test___riscv_vsoxei64(vbool8_t mask,double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl)
> +{
> +    __riscv_vsoxei64(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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */
> --
> 2.36.1
>
  

Patch

diff --git a/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei32-1.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei32-1.C
new file mode 100644
index 00000000000..3f39f889d1f
--- /dev/null
+++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei32-1.C
@@ -0,0 +1,608 @@ 
+/* { dg-do compile } */
+/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */
+
+#include "riscv_vector.h"
+
+void test___riscv_vsoxei32(int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool4_t mask,int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool4_t mask,int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool4_t mask,int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool4_t mask,uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool4_t mask,uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool4_t mask,uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool4_t mask,float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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/vsoxei32-2.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei32-2.C
new file mode 100644
index 00000000000..d0b6b510500
--- /dev/null
+++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei32-2.C
@@ -0,0 +1,608 @@ 
+/* { dg-do compile } */
+/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */
+
+#include "riscv_vector.h"
+
+void test___riscv_vsoxei32(int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool4_t mask,int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool4_t mask,int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool4_t mask,int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool4_t mask,uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool4_t mask,uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool4_t mask,uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool4_t mask,float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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/vsoxei32-3.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei32-3.C
new file mode 100644
index 00000000000..0845841dc7f
--- /dev/null
+++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei32-3.C
@@ -0,0 +1,608 @@ 
+/* { dg-do compile } */
+/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */
+
+#include "riscv_vector.h"
+
+void test___riscv_vsoxei32(int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool4_t mask,int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool4_t mask,int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool4_t mask,int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool4_t mask,uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool4_t mask,uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool4_t mask,uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool4_t mask,float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool64_t mask,double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool32_t mask,double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool16_t mask,double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl)
+{
+    __riscv_vsoxei32(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei32(vbool8_t mask,double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl)
+{
+    __riscv_vsoxei32(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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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+vsoxei32\.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/vsoxei64-1.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei64-1.C
new file mode 100644
index 00000000000..f8f5938cebc
--- /dev/null
+++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei64-1.C
@@ -0,0 +1,518 @@ 
+/* { dg-do compile } */
+/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */
+
+#include "riscv_vector.h"
+
+void test___riscv_vsoxei64(int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,vl);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl)
+{
+    __riscv_vsoxei64(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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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/vsoxei64-2.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei64-2.C
new file mode 100644
index 00000000000..0a1c26d2036
--- /dev/null
+++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei64-2.C
@@ -0,0 +1,518 @@ 
+/* { dg-do compile } */
+/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */
+
+#include "riscv_vector.h"
+
+void test___riscv_vsoxei64(int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,31);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl)
+{
+    __riscv_vsoxei64(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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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/vsoxei64-3.C b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei64-3.C
new file mode 100644
index 00000000000..326c9dc6f7a
--- /dev/null
+++ b/gcc/testsuite/g++.target/riscv/rvv/base/vsoxei64-3.C
@@ -0,0 +1,518 @@ 
+/* { dg-do compile } */
+/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */
+
+#include "riscv_vector.h"
+
+void test___riscv_vsoxei64(int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl)
+{
+    __riscv_vsoxei64(base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool64_t mask,double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool32_t mask,double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool16_t mask,double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl)
+{
+    __riscv_vsoxei64(mask,base,bindex,value,32);
+}
+
+
+void test___riscv_vsoxei64(vbool8_t mask,double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl)
+{
+    __riscv_vsoxei64(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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.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+vsoxei64\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */