From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa1-x35.google.com (mail-oa1-x35.google.com [IPv6:2001:4860:4864:20::35]) by sourceware.org (Postfix) with ESMTPS id C1A853858D28 for ; Mon, 30 Jan 2023 16:52:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C1A853858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oa1-x35.google.com with SMTP id 586e51a60fabf-1442977d77dso15768475fac.6 for ; Mon, 30 Jan 2023 08:52:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=9Vi3poPiUjpFy3gPY0pTXbegTUoJ6TJd93NGBg/N/Es=; b=TJQumKnGrt72UGs8DNkR4QAG6oVOIbz6M0W7rFpD620FkmGbdAixusUIeuOvJQOkXl O+Mpo4lhxy3ut+nt9a7y+0PqS/mCekl+biGwxattcKuOGrunQEyJZ3naWu+srea/44dh MyEzwUUtUwGqukYw1PUaOUWsClepe1Wl5UkEo11m1BHJb5YS84H54GTG2Gclv9iyEIU2 y9INoci0lHYz751N32cj+a/RKV747zShoLf875xYluatbuW4KZionujJzZ8ZXUTWgsqC 4PmcNVz9Bwp+BZKNU/Njto+dS9v+jbukRTlDEEOoYo/K+k4o3ErhO7GCVNDZHPaLD1GM ee2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9Vi3poPiUjpFy3gPY0pTXbegTUoJ6TJd93NGBg/N/Es=; b=YTTn/r48W2HMHkKfNIqWEngDc3dtGNc270NN+DzvCUd6rQcbwKS4W0OwEhZoXkdPml 1koTU318gsd/0CVjjQOUQsV0xf6kYw+6WnUo19gfQFXW+DYOpFNH26tqAlLmcaoQHCD6 j/BbVzOM+/p428GdQtb39iN0yOHB6lkLBsZZpqSCXyzlLAeHMoxDci+L9Z/HtMqqzJCr 7OgKUocjG1N2Gcaehd16wHHUFBsn/4HxREiMfRp1H8a4GSea/snf8yEQyFwdYtalmbB/ hc3obodCQ+HLTTJp7x8741ysb4P49ijCYII/JFriDTB6P0VxZWgjpCfP7innvpEFpxDP 87xw== X-Gm-Message-State: AFqh2kr5IS0lYKc65meQoLhp/YBRsts1Bl0N+ahHC5YZcHL7iwVszXqs 6XTq1mnxNQVr39YkfwzOmc5xeK07E5VRH3FbceFSA6Y0ePw= X-Google-Smtp-Source: AMrXdXvnBCJ7shli8K13cOkvrvZmgYIyaXo5BCAKZnmzaNxixnLrhQTK1zum+qxNGydVvkR+1ATEccr5Me5DMKqplb8= X-Received: by 2002:a05:6870:be8e:b0:155:dc52:48a9 with SMTP id nx14-20020a056870be8e00b00155dc5248a9mr3508440oab.86.1675097552315; Mon, 30 Jan 2023 08:52:32 -0800 (PST) MIME-Version: 1.0 References: <20230129231658.90834-1-juzhe.zhong@rivai.ai> In-Reply-To: <20230129231658.90834-1-juzhe.zhong@rivai.ai> From: Kito Cheng Date: Tue, 31 Jan 2023 00:52:19 +0800 Message-ID: Subject: Re: [PATCH] RISC-V: Add vsoxei C API intrinsic testcase To: juzhe.zhong@rivai.ai Cc: gcc-patches@gcc.gnu.org, palmer@dabbelt.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-8.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GIT_PATCH_0,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: committed, thanks! On Mon, Jan 30, 2023 at 7:16 AM wrote: > > From: Ju-Zhe Zhong > > gcc/testsuite/ChangeLog: > > * gcc.target/riscv/rvv/base/vsoxei16_v-1.c: New test. > * gcc.target/riscv/rvv/base/vsoxei16_v-2.c: New test. > * gcc.target/riscv/rvv/base/vsoxei16_v-3.c: New test. > * gcc.target/riscv/rvv/base/vsoxei16_v_m-1.c: New test. > * gcc.target/riscv/rvv/base/vsoxei16_v_m-2.c: New test. > * gcc.target/riscv/rvv/base/vsoxei16_v_m-3.c: New test. > * gcc.target/riscv/rvv/base/vsoxei32_v-1.c: New test. > * gcc.target/riscv/rvv/base/vsoxei32_v-2.c: New test. > * gcc.target/riscv/rvv/base/vsoxei32_v-3.c: New test. > * gcc.target/riscv/rvv/base/vsoxei32_v_m-1.c: New test. > * gcc.target/riscv/rvv/base/vsoxei32_v_m-2.c: New test. > * gcc.target/riscv/rvv/base/vsoxei32_v_m-3.c: New test. > * gcc.target/riscv/rvv/base/vsoxei64_v-1.c: New test. > * gcc.target/riscv/rvv/base/vsoxei64_v-2.c: New test. > * gcc.target/riscv/rvv/base/vsoxei64_v-3.c: New test. > * gcc.target/riscv/rvv/base/vsoxei64_v_m-1.c: New test. > * gcc.target/riscv/rvv/base/vsoxei64_v_m-2.c: New test. > * gcc.target/riscv/rvv/base/vsoxei64_v_m-3.c: New test. > * gcc.target/riscv/rvv/base/vsoxei8_v-1.c: New test. > * gcc.target/riscv/rvv/base/vsoxei8_v-2.c: New test. > * gcc.target/riscv/rvv/base/vsoxei8_v-3.c: New test. > * gcc.target/riscv/rvv/base/vsoxei8_v_m-1.c: New test. > * gcc.target/riscv/rvv/base/vsoxei8_v_m-2.c: New test. > * gcc.target/riscv/rvv/base/vsoxei8_v_m-3.c: New test. > > --- > .../gcc.target/riscv/rvv/base/vsoxei16_v-1.c | 333 +++++++++++++++++ > .../gcc.target/riscv/rvv/base/vsoxei16_v-2.c | 333 +++++++++++++++++ > .../gcc.target/riscv/rvv/base/vsoxei16_v-3.c | 333 +++++++++++++++++ > .../riscv/rvv/base/vsoxei16_v_m-1.c | 333 +++++++++++++++++ > .../riscv/rvv/base/vsoxei16_v_m-2.c | 333 +++++++++++++++++ > .../riscv/rvv/base/vsoxei16_v_m-3.c | 333 +++++++++++++++++ > .../gcc.target/riscv/rvv/base/vsoxei32_v-1.c | 307 ++++++++++++++++ > .../gcc.target/riscv/rvv/base/vsoxei32_v-2.c | 307 ++++++++++++++++ > .../gcc.target/riscv/rvv/base/vsoxei32_v-3.c | 307 ++++++++++++++++ > .../riscv/rvv/base/vsoxei32_v_m-1.c | 307 ++++++++++++++++ > .../riscv/rvv/base/vsoxei32_v_m-2.c | 307 ++++++++++++++++ > .../riscv/rvv/base/vsoxei32_v_m-3.c | 307 ++++++++++++++++ > .../gcc.target/riscv/rvv/base/vsoxei64_v-1.c | 262 +++++++++++++ > .../gcc.target/riscv/rvv/base/vsoxei64_v-2.c | 262 +++++++++++++ > .../gcc.target/riscv/rvv/base/vsoxei64_v-3.c | 262 +++++++++++++ > .../riscv/rvv/base/vsoxei64_v_m-1.c | 262 +++++++++++++ > .../riscv/rvv/base/vsoxei64_v_m-2.c | 262 +++++++++++++ > .../riscv/rvv/base/vsoxei64_v_m-3.c | 262 +++++++++++++ > .../gcc.target/riscv/rvv/base/vsoxei8_v-1.c | 346 ++++++++++++++++++ > .../gcc.target/riscv/rvv/base/vsoxei8_v-2.c | 346 ++++++++++++++++++ > .../gcc.target/riscv/rvv/base/vsoxei8_v-3.c | 346 ++++++++++++++++++ > .../gcc.target/riscv/rvv/base/vsoxei8_v_m-1.c | 346 ++++++++++++++++++ > .../gcc.target/riscv/rvv/base/vsoxei8_v_m-2.c | 346 ++++++++++++++++++ > .../gcc.target/riscv/rvv/base/vsoxei8_v_m-3.c | 346 ++++++++++++++++++ > 24 files changed, 7488 insertions(+) > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei16_v-1.c > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei16_v-2.c > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei16_v-3.c > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei16_v_m-1.c > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei16_v_m-2.c > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei16_v_m-3.c > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei32_v-1.c > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei32_v-2.c > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei32_v-3.c > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei32_v_m-1.c > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei32_v_m-2.c > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei32_v_m-3.c > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei64_v-1.c > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei64_v-2.c > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei64_v-3.c > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei64_v_m-1.c > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei64_v_m-2.c > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei64_v_m-3.c > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei8_v-1.c > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei8_v-2.c > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei8_v-3.c > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei8_v_m-1.c > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei8_v_m-2.c > create mode 100644 gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei8_v_m-3.c > > diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei16_v-1.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei16_v-1.c > new file mode 100644 > index 00000000000..3ae8e0934e0 > --- /dev/null > +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei16_v-1.c > @@ -0,0 +1,333 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsoxei16_v_i8mf8(int8_t* base,vuint16mf4_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8mf8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i8mf4(int8_t* base,vuint16mf2_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8mf4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i8mf2(int8_t* base,vuint16m1_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i8m1(int8_t* base,vuint16m2_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i8m2(int8_t* base,vuint16m4_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i8m4(int8_t* base,vuint16m8_t bindex,vint8m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i16mf4(int16_t* base,vuint16mf4_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16mf4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i16mf2(int16_t* base,vuint16mf2_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i16m1(int16_t* base,vuint16m1_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i16m2(int16_t* base,vuint16m2_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i16m4(int16_t* base,vuint16m4_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i16m8(int16_t* base,vuint16m8_t bindex,vint16m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16m8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i32mf2(int32_t* base,vuint16mf4_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i32m1(int32_t* base,vuint16mf2_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i32m2(int32_t* base,vuint16m1_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i32m4(int32_t* base,vuint16m2_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i32m8(int32_t* base,vuint16m4_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32m8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i64m1(int64_t* base,vuint16mf4_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i64m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i64m2(int64_t* base,vuint16mf2_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i64m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i64m4(int64_t* base,vuint16m1_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i64m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i64m8(int64_t* base,vuint16m2_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i64m8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u8mf8(uint8_t* base,vuint16mf4_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8mf8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u8mf4(uint8_t* base,vuint16mf2_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8mf4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u8mf2(uint8_t* base,vuint16m1_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u8m1(uint8_t* base,vuint16m2_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u8m2(uint8_t* base,vuint16m4_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u8m4(uint8_t* base,vuint16m8_t bindex,vuint8m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u16mf4(uint16_t* base,vuint16mf4_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16mf4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u16mf2(uint16_t* base,vuint16mf2_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u16m1(uint16_t* base,vuint16m1_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u16m2(uint16_t* base,vuint16m2_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u16m4(uint16_t* base,vuint16m4_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u16m8(uint16_t* base,vuint16m8_t bindex,vuint16m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16m8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u32mf2(uint32_t* base,vuint16mf4_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u32m1(uint32_t* base,vuint16mf2_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u32m2(uint32_t* base,vuint16m1_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u32m4(uint32_t* base,vuint16m2_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u32m8(uint32_t* base,vuint16m4_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32m8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u64m1(uint64_t* base,vuint16mf4_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u64m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u64m2(uint64_t* base,vuint16mf2_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u64m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u64m4(uint64_t* base,vuint16m1_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u64m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u64m8(uint64_t* base,vuint16m2_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u64m8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_f32mf2(float* base,vuint16mf4_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_f32m1(float* base,vuint16mf2_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_f32m2(float* base,vuint16m1_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_f32m4(float* base,vuint16m2_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_f32m8(float* base,vuint16m4_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32m8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_f64m1(double* base,vuint16mf4_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f64m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_f64m2(double* base,vuint16mf2_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f64m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_f64m4(double* base,vuint16m1_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f64m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_f64m8(double* base,vuint16m2_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f64m8(base,bindex,value,vl); > +} > + > + > + > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei16_v-2.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei16_v-2.c > new file mode 100644 > index 00000000000..4d900e211cb > --- /dev/null > +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei16_v-2.c > @@ -0,0 +1,333 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsoxei16_v_i8mf8(int8_t* base,vuint16mf4_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8mf8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i8mf4(int8_t* base,vuint16mf2_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8mf4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i8mf2(int8_t* base,vuint16m1_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i8m1(int8_t* base,vuint16m2_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i8m2(int8_t* base,vuint16m4_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i8m4(int8_t* base,vuint16m8_t bindex,vint8m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i16mf4(int16_t* base,vuint16mf4_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16mf4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i16mf2(int16_t* base,vuint16mf2_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i16m1(int16_t* base,vuint16m1_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i16m2(int16_t* base,vuint16m2_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i16m4(int16_t* base,vuint16m4_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i16m8(int16_t* base,vuint16m8_t bindex,vint16m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16m8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i32mf2(int32_t* base,vuint16mf4_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i32m1(int32_t* base,vuint16mf2_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i32m2(int32_t* base,vuint16m1_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i32m4(int32_t* base,vuint16m2_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i32m8(int32_t* base,vuint16m4_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32m8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i64m1(int64_t* base,vuint16mf4_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i64m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i64m2(int64_t* base,vuint16mf2_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i64m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i64m4(int64_t* base,vuint16m1_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i64m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i64m8(int64_t* base,vuint16m2_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i64m8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u8mf8(uint8_t* base,vuint16mf4_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8mf8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u8mf4(uint8_t* base,vuint16mf2_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8mf4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u8mf2(uint8_t* base,vuint16m1_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u8m1(uint8_t* base,vuint16m2_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u8m2(uint8_t* base,vuint16m4_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u8m4(uint8_t* base,vuint16m8_t bindex,vuint8m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u16mf4(uint16_t* base,vuint16mf4_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16mf4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u16mf2(uint16_t* base,vuint16mf2_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u16m1(uint16_t* base,vuint16m1_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u16m2(uint16_t* base,vuint16m2_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u16m4(uint16_t* base,vuint16m4_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u16m8(uint16_t* base,vuint16m8_t bindex,vuint16m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16m8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u32mf2(uint32_t* base,vuint16mf4_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u32m1(uint32_t* base,vuint16mf2_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u32m2(uint32_t* base,vuint16m1_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u32m4(uint32_t* base,vuint16m2_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u32m8(uint32_t* base,vuint16m4_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32m8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u64m1(uint64_t* base,vuint16mf4_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u64m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u64m2(uint64_t* base,vuint16mf2_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u64m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u64m4(uint64_t* base,vuint16m1_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u64m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u64m8(uint64_t* base,vuint16m2_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u64m8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_f32mf2(float* base,vuint16mf4_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_f32m1(float* base,vuint16mf2_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_f32m2(float* base,vuint16m1_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_f32m4(float* base,vuint16m2_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_f32m8(float* base,vuint16m4_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32m8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_f64m1(double* base,vuint16mf4_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f64m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_f64m2(double* base,vuint16mf2_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f64m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_f64m4(double* base,vuint16m1_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f64m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_f64m8(double* base,vuint16m2_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f64m8(base,bindex,value,31); > +} > + > + > + > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei16_v-3.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei16_v-3.c > new file mode 100644 > index 00000000000..409a5dfe2f8 > --- /dev/null > +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei16_v-3.c > @@ -0,0 +1,333 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsoxei16_v_i8mf8(int8_t* base,vuint16mf4_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8mf8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i8mf4(int8_t* base,vuint16mf2_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8mf4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i8mf2(int8_t* base,vuint16m1_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i8m1(int8_t* base,vuint16m2_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i8m2(int8_t* base,vuint16m4_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i8m4(int8_t* base,vuint16m8_t bindex,vint8m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i16mf4(int16_t* base,vuint16mf4_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16mf4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i16mf2(int16_t* base,vuint16mf2_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i16m1(int16_t* base,vuint16m1_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i16m2(int16_t* base,vuint16m2_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i16m4(int16_t* base,vuint16m4_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i16m8(int16_t* base,vuint16m8_t bindex,vint16m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16m8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i32mf2(int32_t* base,vuint16mf4_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i32m1(int32_t* base,vuint16mf2_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i32m2(int32_t* base,vuint16m1_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i32m4(int32_t* base,vuint16m2_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i32m8(int32_t* base,vuint16m4_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32m8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i64m1(int64_t* base,vuint16mf4_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i64m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i64m2(int64_t* base,vuint16mf2_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i64m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i64m4(int64_t* base,vuint16m1_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i64m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i64m8(int64_t* base,vuint16m2_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i64m8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u8mf8(uint8_t* base,vuint16mf4_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8mf8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u8mf4(uint8_t* base,vuint16mf2_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8mf4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u8mf2(uint8_t* base,vuint16m1_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u8m1(uint8_t* base,vuint16m2_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u8m2(uint8_t* base,vuint16m4_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u8m4(uint8_t* base,vuint16m8_t bindex,vuint8m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u16mf4(uint16_t* base,vuint16mf4_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16mf4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u16mf2(uint16_t* base,vuint16mf2_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u16m1(uint16_t* base,vuint16m1_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u16m2(uint16_t* base,vuint16m2_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u16m4(uint16_t* base,vuint16m4_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u16m8(uint16_t* base,vuint16m8_t bindex,vuint16m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16m8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u32mf2(uint32_t* base,vuint16mf4_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u32m1(uint32_t* base,vuint16mf2_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u32m2(uint32_t* base,vuint16m1_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u32m4(uint32_t* base,vuint16m2_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u32m8(uint32_t* base,vuint16m4_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32m8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u64m1(uint64_t* base,vuint16mf4_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u64m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u64m2(uint64_t* base,vuint16mf2_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u64m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u64m4(uint64_t* base,vuint16m1_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u64m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u64m8(uint64_t* base,vuint16m2_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u64m8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_f32mf2(float* base,vuint16mf4_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_f32m1(float* base,vuint16mf2_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_f32m2(float* base,vuint16m1_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_f32m4(float* base,vuint16m2_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_f32m8(float* base,vuint16m4_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32m8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_f64m1(double* base,vuint16mf4_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f64m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_f64m2(double* base,vuint16mf2_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f64m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_f64m4(double* base,vuint16m1_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f64m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_f64m8(double* base,vuint16m2_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f64m8(base,bindex,value,32); > +} > + > + > + > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei16_v_m-1.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei16_v_m-1.c > new file mode 100644 > index 00000000000..ad67492b5e9 > --- /dev/null > +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei16_v_m-1.c > @@ -0,0 +1,333 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsoxei16_v_i8mf8_m(vbool64_t mask,int8_t* base,vuint16mf4_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8mf8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i8mf4_m(vbool32_t mask,int8_t* base,vuint16mf2_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8mf4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i8mf2_m(vbool16_t mask,int8_t* base,vuint16m1_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i8m1_m(vbool8_t mask,int8_t* base,vuint16m2_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i8m2_m(vbool4_t mask,int8_t* base,vuint16m4_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i8m4_m(vbool2_t mask,int8_t* base,vuint16m8_t bindex,vint8m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i16mf4_m(vbool64_t mask,int16_t* base,vuint16mf4_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16mf4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i16mf2_m(vbool32_t mask,int16_t* base,vuint16mf2_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i16m1_m(vbool16_t mask,int16_t* base,vuint16m1_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i16m2_m(vbool8_t mask,int16_t* base,vuint16m2_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i16m4_m(vbool4_t mask,int16_t* base,vuint16m4_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i16m8_m(vbool2_t mask,int16_t* base,vuint16m8_t bindex,vint16m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16m8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i32mf2_m(vbool64_t mask,int32_t* base,vuint16mf4_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i32m1_m(vbool32_t mask,int32_t* base,vuint16mf2_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i32m2_m(vbool16_t mask,int32_t* base,vuint16m1_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i32m4_m(vbool8_t mask,int32_t* base,vuint16m2_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i32m8_m(vbool4_t mask,int32_t* base,vuint16m4_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32m8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i64m1_m(vbool64_t mask,int64_t* base,vuint16mf4_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i64m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i64m2_m(vbool32_t mask,int64_t* base,vuint16mf2_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i64m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i64m4_m(vbool16_t mask,int64_t* base,vuint16m1_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i64m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_i64m8_m(vbool8_t mask,int64_t* base,vuint16m2_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i64m8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u8mf8_m(vbool64_t mask,uint8_t* base,vuint16mf4_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8mf8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u8mf4_m(vbool32_t mask,uint8_t* base,vuint16mf2_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8mf4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u8mf2_m(vbool16_t mask,uint8_t* base,vuint16m1_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u8m1_m(vbool8_t mask,uint8_t* base,vuint16m2_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u8m2_m(vbool4_t mask,uint8_t* base,vuint16m4_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u8m4_m(vbool2_t mask,uint8_t* base,vuint16m8_t bindex,vuint8m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u16mf4_m(vbool64_t mask,uint16_t* base,vuint16mf4_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16mf4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u16mf2_m(vbool32_t mask,uint16_t* base,vuint16mf2_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u16m1_m(vbool16_t mask,uint16_t* base,vuint16m1_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u16m2_m(vbool8_t mask,uint16_t* base,vuint16m2_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u16m4_m(vbool4_t mask,uint16_t* base,vuint16m4_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u16m8_m(vbool2_t mask,uint16_t* base,vuint16m8_t bindex,vuint16m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16m8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u32mf2_m(vbool64_t mask,uint32_t* base,vuint16mf4_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u32m1_m(vbool32_t mask,uint32_t* base,vuint16mf2_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u32m2_m(vbool16_t mask,uint32_t* base,vuint16m1_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u32m4_m(vbool8_t mask,uint32_t* base,vuint16m2_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u32m8_m(vbool4_t mask,uint32_t* base,vuint16m4_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32m8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u64m1_m(vbool64_t mask,uint64_t* base,vuint16mf4_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u64m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u64m2_m(vbool32_t mask,uint64_t* base,vuint16mf2_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u64m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u64m4_m(vbool16_t mask,uint64_t* base,vuint16m1_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u64m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_u64m8_m(vbool8_t mask,uint64_t* base,vuint16m2_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u64m8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_f32mf2_m(vbool64_t mask,float* base,vuint16mf4_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_f32m1_m(vbool32_t mask,float* base,vuint16mf2_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_f32m2_m(vbool16_t mask,float* base,vuint16m1_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_f32m4_m(vbool8_t mask,float* base,vuint16m2_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_f32m8_m(vbool4_t mask,float* base,vuint16m4_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32m8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_f64m1_m(vbool64_t mask,double* base,vuint16mf4_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f64m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_f64m2_m(vbool32_t mask,double* base,vuint16mf2_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f64m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_f64m4_m(vbool16_t mask,double* base,vuint16m1_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f64m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei16_v_f64m8_m(vbool8_t mask,double* base,vuint16m2_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f64m8_m(mask,base,bindex,value,vl); > +} > + > + > + > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei16_v_m-2.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei16_v_m-2.c > new file mode 100644 > index 00000000000..8585c4dcda8 > --- /dev/null > +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei16_v_m-2.c > @@ -0,0 +1,333 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsoxei16_v_i8mf8_m(vbool64_t mask,int8_t* base,vuint16mf4_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8mf8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i8mf4_m(vbool32_t mask,int8_t* base,vuint16mf2_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8mf4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i8mf2_m(vbool16_t mask,int8_t* base,vuint16m1_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i8m1_m(vbool8_t mask,int8_t* base,vuint16m2_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i8m2_m(vbool4_t mask,int8_t* base,vuint16m4_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i8m4_m(vbool2_t mask,int8_t* base,vuint16m8_t bindex,vint8m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i16mf4_m(vbool64_t mask,int16_t* base,vuint16mf4_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16mf4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i16mf2_m(vbool32_t mask,int16_t* base,vuint16mf2_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i16m1_m(vbool16_t mask,int16_t* base,vuint16m1_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i16m2_m(vbool8_t mask,int16_t* base,vuint16m2_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i16m4_m(vbool4_t mask,int16_t* base,vuint16m4_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i16m8_m(vbool2_t mask,int16_t* base,vuint16m8_t bindex,vint16m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16m8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i32mf2_m(vbool64_t mask,int32_t* base,vuint16mf4_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i32m1_m(vbool32_t mask,int32_t* base,vuint16mf2_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i32m2_m(vbool16_t mask,int32_t* base,vuint16m1_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i32m4_m(vbool8_t mask,int32_t* base,vuint16m2_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i32m8_m(vbool4_t mask,int32_t* base,vuint16m4_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32m8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i64m1_m(vbool64_t mask,int64_t* base,vuint16mf4_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i64m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i64m2_m(vbool32_t mask,int64_t* base,vuint16mf2_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i64m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i64m4_m(vbool16_t mask,int64_t* base,vuint16m1_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i64m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_i64m8_m(vbool8_t mask,int64_t* base,vuint16m2_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i64m8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u8mf8_m(vbool64_t mask,uint8_t* base,vuint16mf4_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8mf8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u8mf4_m(vbool32_t mask,uint8_t* base,vuint16mf2_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8mf4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u8mf2_m(vbool16_t mask,uint8_t* base,vuint16m1_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u8m1_m(vbool8_t mask,uint8_t* base,vuint16m2_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u8m2_m(vbool4_t mask,uint8_t* base,vuint16m4_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u8m4_m(vbool2_t mask,uint8_t* base,vuint16m8_t bindex,vuint8m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u16mf4_m(vbool64_t mask,uint16_t* base,vuint16mf4_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16mf4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u16mf2_m(vbool32_t mask,uint16_t* base,vuint16mf2_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u16m1_m(vbool16_t mask,uint16_t* base,vuint16m1_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u16m2_m(vbool8_t mask,uint16_t* base,vuint16m2_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u16m4_m(vbool4_t mask,uint16_t* base,vuint16m4_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u16m8_m(vbool2_t mask,uint16_t* base,vuint16m8_t bindex,vuint16m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16m8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u32mf2_m(vbool64_t mask,uint32_t* base,vuint16mf4_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u32m1_m(vbool32_t mask,uint32_t* base,vuint16mf2_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u32m2_m(vbool16_t mask,uint32_t* base,vuint16m1_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u32m4_m(vbool8_t mask,uint32_t* base,vuint16m2_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u32m8_m(vbool4_t mask,uint32_t* base,vuint16m4_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32m8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u64m1_m(vbool64_t mask,uint64_t* base,vuint16mf4_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u64m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u64m2_m(vbool32_t mask,uint64_t* base,vuint16mf2_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u64m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u64m4_m(vbool16_t mask,uint64_t* base,vuint16m1_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u64m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_u64m8_m(vbool8_t mask,uint64_t* base,vuint16m2_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u64m8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_f32mf2_m(vbool64_t mask,float* base,vuint16mf4_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_f32m1_m(vbool32_t mask,float* base,vuint16mf2_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_f32m2_m(vbool16_t mask,float* base,vuint16m1_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_f32m4_m(vbool8_t mask,float* base,vuint16m2_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_f32m8_m(vbool4_t mask,float* base,vuint16m4_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32m8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_f64m1_m(vbool64_t mask,double* base,vuint16mf4_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f64m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_f64m2_m(vbool32_t mask,double* base,vuint16mf2_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f64m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_f64m4_m(vbool16_t mask,double* base,vuint16m1_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f64m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei16_v_f64m8_m(vbool8_t mask,double* base,vuint16m2_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f64m8_m(mask,base,bindex,value,31); > +} > + > + > + > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei16_v_m-3.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei16_v_m-3.c > new file mode 100644 > index 00000000000..c032df5633a > --- /dev/null > +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei16_v_m-3.c > @@ -0,0 +1,333 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsoxei16_v_i8mf8_m(vbool64_t mask,int8_t* base,vuint16mf4_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8mf8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i8mf4_m(vbool32_t mask,int8_t* base,vuint16mf2_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8mf4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i8mf2_m(vbool16_t mask,int8_t* base,vuint16m1_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i8m1_m(vbool8_t mask,int8_t* base,vuint16m2_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i8m2_m(vbool4_t mask,int8_t* base,vuint16m4_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i8m4_m(vbool2_t mask,int8_t* base,vuint16m8_t bindex,vint8m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i8m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i16mf4_m(vbool64_t mask,int16_t* base,vuint16mf4_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16mf4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i16mf2_m(vbool32_t mask,int16_t* base,vuint16mf2_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i16m1_m(vbool16_t mask,int16_t* base,vuint16m1_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i16m2_m(vbool8_t mask,int16_t* base,vuint16m2_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i16m4_m(vbool4_t mask,int16_t* base,vuint16m4_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i16m8_m(vbool2_t mask,int16_t* base,vuint16m8_t bindex,vint16m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i16m8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i32mf2_m(vbool64_t mask,int32_t* base,vuint16mf4_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i32m1_m(vbool32_t mask,int32_t* base,vuint16mf2_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i32m2_m(vbool16_t mask,int32_t* base,vuint16m1_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i32m4_m(vbool8_t mask,int32_t* base,vuint16m2_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i32m8_m(vbool4_t mask,int32_t* base,vuint16m4_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i32m8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i64m1_m(vbool64_t mask,int64_t* base,vuint16mf4_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i64m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i64m2_m(vbool32_t mask,int64_t* base,vuint16mf2_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i64m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i64m4_m(vbool16_t mask,int64_t* base,vuint16m1_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i64m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_i64m8_m(vbool8_t mask,int64_t* base,vuint16m2_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_i64m8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u8mf8_m(vbool64_t mask,uint8_t* base,vuint16mf4_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8mf8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u8mf4_m(vbool32_t mask,uint8_t* base,vuint16mf2_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8mf4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u8mf2_m(vbool16_t mask,uint8_t* base,vuint16m1_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u8m1_m(vbool8_t mask,uint8_t* base,vuint16m2_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u8m2_m(vbool4_t mask,uint8_t* base,vuint16m4_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u8m4_m(vbool2_t mask,uint8_t* base,vuint16m8_t bindex,vuint8m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u8m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u16mf4_m(vbool64_t mask,uint16_t* base,vuint16mf4_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16mf4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u16mf2_m(vbool32_t mask,uint16_t* base,vuint16mf2_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u16m1_m(vbool16_t mask,uint16_t* base,vuint16m1_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u16m2_m(vbool8_t mask,uint16_t* base,vuint16m2_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u16m4_m(vbool4_t mask,uint16_t* base,vuint16m4_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u16m8_m(vbool2_t mask,uint16_t* base,vuint16m8_t bindex,vuint16m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u16m8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u32mf2_m(vbool64_t mask,uint32_t* base,vuint16mf4_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u32m1_m(vbool32_t mask,uint32_t* base,vuint16mf2_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u32m2_m(vbool16_t mask,uint32_t* base,vuint16m1_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u32m4_m(vbool8_t mask,uint32_t* base,vuint16m2_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u32m8_m(vbool4_t mask,uint32_t* base,vuint16m4_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u32m8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u64m1_m(vbool64_t mask,uint64_t* base,vuint16mf4_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u64m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u64m2_m(vbool32_t mask,uint64_t* base,vuint16mf2_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u64m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u64m4_m(vbool16_t mask,uint64_t* base,vuint16m1_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u64m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_u64m8_m(vbool8_t mask,uint64_t* base,vuint16m2_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_u64m8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_f32mf2_m(vbool64_t mask,float* base,vuint16mf4_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_f32m1_m(vbool32_t mask,float* base,vuint16mf2_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_f32m2_m(vbool16_t mask,float* base,vuint16m1_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_f32m4_m(vbool8_t mask,float* base,vuint16m2_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_f32m8_m(vbool4_t mask,float* base,vuint16m4_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f32m8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_f64m1_m(vbool64_t mask,double* base,vuint16mf4_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f64m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_f64m2_m(vbool32_t mask,double* base,vuint16mf2_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f64m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_f64m4_m(vbool16_t mask,double* base,vuint16m1_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f64m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei16_v_f64m8_m(vbool8_t mask,double* base,vuint16m2_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsoxei16_v_f64m8_m(mask,base,bindex,value,32); > +} > + > + > + > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsoxei16\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei32_v-1.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei32_v-1.c > new file mode 100644 > index 00000000000..87b11ce54c0 > --- /dev/null > +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei32_v-1.c > @@ -0,0 +1,307 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsoxei32_v_i8mf8(int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8mf8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i8mf4(int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8mf4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i8mf2(int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i8m1(int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i8m2(int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i16mf4(int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16mf4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i16mf2(int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i16m1(int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i16m2(int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i16m4(int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i32mf2(int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i32m1(int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i32m2(int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i32m4(int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i32m8(int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32m8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i64m1(int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i64m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i64m2(int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i64m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i64m4(int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i64m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i64m8(int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i64m8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u8mf8(uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8mf8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u8mf4(uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8mf4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u8mf2(uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u8m1(uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u8m2(uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u16mf4(uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16mf4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u16mf2(uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u16m1(uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u16m2(uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u16m4(uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u32mf2(uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u32m1(uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u32m2(uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u32m4(uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u32m8(uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32m8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u64m1(uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u64m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u64m2(uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u64m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u64m4(uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u64m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u64m8(uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u64m8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_f32mf2(float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_f32m1(float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_f32m2(float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_f32m4(float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_f32m8(float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32m8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_f64m1(double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f64m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_f64m2(double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f64m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_f64m4(double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f64m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_f64m8(double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f64m8(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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 3 } } */ > diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei32_v-2.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei32_v-2.c > new file mode 100644 > index 00000000000..c9c25a0c933 > --- /dev/null > +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei32_v-2.c > @@ -0,0 +1,307 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsoxei32_v_i8mf8(int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8mf8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i8mf4(int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8mf4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i8mf2(int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i8m1(int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i8m2(int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i16mf4(int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16mf4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i16mf2(int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i16m1(int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i16m2(int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i16m4(int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i32mf2(int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i32m1(int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i32m2(int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i32m4(int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i32m8(int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32m8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i64m1(int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i64m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i64m2(int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i64m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i64m4(int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i64m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i64m8(int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i64m8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u8mf8(uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8mf8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u8mf4(uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8mf4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u8mf2(uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u8m1(uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u8m2(uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u16mf4(uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16mf4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u16mf2(uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u16m1(uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u16m2(uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u16m4(uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u32mf2(uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u32m1(uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u32m2(uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u32m4(uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u32m8(uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32m8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u64m1(uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u64m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u64m2(uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u64m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u64m4(uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u64m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u64m8(uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u64m8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_f32mf2(float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_f32m1(float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_f32m2(float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_f32m4(float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_f32m8(float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32m8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_f64m1(double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f64m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_f64m2(double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f64m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_f64m4(double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f64m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_f64m8(double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f64m8(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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 3 } } */ > diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei32_v-3.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei32_v-3.c > new file mode 100644 > index 00000000000..574b76c1fc6 > --- /dev/null > +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei32_v-3.c > @@ -0,0 +1,307 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsoxei32_v_i8mf8(int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8mf8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i8mf4(int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8mf4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i8mf2(int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i8m1(int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i8m2(int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i16mf4(int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16mf4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i16mf2(int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i16m1(int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i16m2(int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i16m4(int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i32mf2(int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i32m1(int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i32m2(int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i32m4(int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i32m8(int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32m8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i64m1(int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i64m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i64m2(int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i64m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i64m4(int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i64m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i64m8(int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i64m8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u8mf8(uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8mf8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u8mf4(uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8mf4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u8mf2(uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u8m1(uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u8m2(uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u16mf4(uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16mf4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u16mf2(uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u16m1(uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u16m2(uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u16m4(uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u32mf2(uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u32m1(uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u32m2(uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u32m4(uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u32m8(uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32m8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u64m1(uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u64m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u64m2(uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u64m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u64m4(uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u64m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u64m8(uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u64m8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_f32mf2(float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_f32m1(float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_f32m2(float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_f32m4(float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_f32m8(float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32m8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_f64m1(double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f64m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_f64m2(double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f64m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_f64m4(double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f64m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_f64m8(double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f64m8(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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 3 } } */ > diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei32_v_m-1.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei32_v_m-1.c > new file mode 100644 > index 00000000000..16b05164fcc > --- /dev/null > +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei32_v_m-1.c > @@ -0,0 +1,307 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsoxei32_v_i8mf8_m(vbool64_t mask,int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8mf8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i8mf4_m(vbool32_t mask,int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8mf4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i8mf2_m(vbool16_t mask,int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i8m1_m(vbool8_t mask,int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i8m2_m(vbool4_t mask,int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i16mf4_m(vbool64_t mask,int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16mf4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i16mf2_m(vbool32_t mask,int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i16m1_m(vbool16_t mask,int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i16m2_m(vbool8_t mask,int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i16m4_m(vbool4_t mask,int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i32mf2_m(vbool64_t mask,int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i32m1_m(vbool32_t mask,int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i32m2_m(vbool16_t mask,int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i32m4_m(vbool8_t mask,int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i32m8_m(vbool4_t mask,int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32m8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i64m1_m(vbool64_t mask,int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i64m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i64m2_m(vbool32_t mask,int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i64m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i64m4_m(vbool16_t mask,int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i64m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_i64m8_m(vbool8_t mask,int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i64m8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u8mf8_m(vbool64_t mask,uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8mf8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u8mf4_m(vbool32_t mask,uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8mf4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u8mf2_m(vbool16_t mask,uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u8m1_m(vbool8_t mask,uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u8m2_m(vbool4_t mask,uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u16mf4_m(vbool64_t mask,uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16mf4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u16mf2_m(vbool32_t mask,uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u16m1_m(vbool16_t mask,uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u16m2_m(vbool8_t mask,uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u16m4_m(vbool4_t mask,uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u32mf2_m(vbool64_t mask,uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u32m1_m(vbool32_t mask,uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u32m2_m(vbool16_t mask,uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u32m4_m(vbool8_t mask,uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u32m8_m(vbool4_t mask,uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32m8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u64m1_m(vbool64_t mask,uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u64m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u64m2_m(vbool32_t mask,uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u64m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u64m4_m(vbool16_t mask,uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u64m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_u64m8_m(vbool8_t mask,uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u64m8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_f32mf2_m(vbool64_t mask,float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_f32m1_m(vbool32_t mask,float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_f32m2_m(vbool16_t mask,float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_f32m4_m(vbool8_t mask,float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_f32m8_m(vbool4_t mask,float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32m8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_f64m1_m(vbool64_t mask,double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f64m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_f64m2_m(vbool32_t mask,double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f64m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_f64m4_m(vbool16_t mask,double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f64m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei32_v_f64m8_m(vbool8_t mask,double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f64m8_m(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*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/gcc.target/riscv/rvv/base/vsoxei32_v_m-2.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei32_v_m-2.c > new file mode 100644 > index 00000000000..45b4af4368b > --- /dev/null > +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei32_v_m-2.c > @@ -0,0 +1,307 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsoxei32_v_i8mf8_m(vbool64_t mask,int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8mf8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i8mf4_m(vbool32_t mask,int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8mf4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i8mf2_m(vbool16_t mask,int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i8m1_m(vbool8_t mask,int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i8m2_m(vbool4_t mask,int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i16mf4_m(vbool64_t mask,int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16mf4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i16mf2_m(vbool32_t mask,int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i16m1_m(vbool16_t mask,int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i16m2_m(vbool8_t mask,int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i16m4_m(vbool4_t mask,int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i32mf2_m(vbool64_t mask,int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i32m1_m(vbool32_t mask,int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i32m2_m(vbool16_t mask,int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i32m4_m(vbool8_t mask,int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i32m8_m(vbool4_t mask,int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32m8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i64m1_m(vbool64_t mask,int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i64m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i64m2_m(vbool32_t mask,int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i64m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i64m4_m(vbool16_t mask,int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i64m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_i64m8_m(vbool8_t mask,int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i64m8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u8mf8_m(vbool64_t mask,uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8mf8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u8mf4_m(vbool32_t mask,uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8mf4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u8mf2_m(vbool16_t mask,uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u8m1_m(vbool8_t mask,uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u8m2_m(vbool4_t mask,uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u16mf4_m(vbool64_t mask,uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16mf4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u16mf2_m(vbool32_t mask,uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u16m1_m(vbool16_t mask,uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u16m2_m(vbool8_t mask,uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u16m4_m(vbool4_t mask,uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u32mf2_m(vbool64_t mask,uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u32m1_m(vbool32_t mask,uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u32m2_m(vbool16_t mask,uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u32m4_m(vbool8_t mask,uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u32m8_m(vbool4_t mask,uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32m8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u64m1_m(vbool64_t mask,uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u64m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u64m2_m(vbool32_t mask,uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u64m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u64m4_m(vbool16_t mask,uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u64m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_u64m8_m(vbool8_t mask,uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u64m8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_f32mf2_m(vbool64_t mask,float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_f32m1_m(vbool32_t mask,float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_f32m2_m(vbool16_t mask,float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_f32m4_m(vbool8_t mask,float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_f32m8_m(vbool4_t mask,float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32m8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_f64m1_m(vbool64_t mask,double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f64m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_f64m2_m(vbool32_t mask,double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f64m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_f64m4_m(vbool16_t mask,double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f64m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei32_v_f64m8_m(vbool8_t mask,double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f64m8_m(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*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/gcc.target/riscv/rvv/base/vsoxei32_v_m-3.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei32_v_m-3.c > new file mode 100644 > index 00000000000..4194dc6394c > --- /dev/null > +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei32_v_m-3.c > @@ -0,0 +1,307 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsoxei32_v_i8mf8_m(vbool64_t mask,int8_t* base,vuint32mf2_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8mf8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i8mf4_m(vbool32_t mask,int8_t* base,vuint32m1_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8mf4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i8mf2_m(vbool16_t mask,int8_t* base,vuint32m2_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i8m1_m(vbool8_t mask,int8_t* base,vuint32m4_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i8m2_m(vbool4_t mask,int8_t* base,vuint32m8_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i8m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i16mf4_m(vbool64_t mask,int16_t* base,vuint32mf2_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16mf4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i16mf2_m(vbool32_t mask,int16_t* base,vuint32m1_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i16m1_m(vbool16_t mask,int16_t* base,vuint32m2_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i16m2_m(vbool8_t mask,int16_t* base,vuint32m4_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i16m4_m(vbool4_t mask,int16_t* base,vuint32m8_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i16m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i32mf2_m(vbool64_t mask,int32_t* base,vuint32mf2_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i32m1_m(vbool32_t mask,int32_t* base,vuint32m1_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i32m2_m(vbool16_t mask,int32_t* base,vuint32m2_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i32m4_m(vbool8_t mask,int32_t* base,vuint32m4_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i32m8_m(vbool4_t mask,int32_t* base,vuint32m8_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i32m8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i64m1_m(vbool64_t mask,int64_t* base,vuint32mf2_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i64m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i64m2_m(vbool32_t mask,int64_t* base,vuint32m1_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i64m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i64m4_m(vbool16_t mask,int64_t* base,vuint32m2_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i64m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_i64m8_m(vbool8_t mask,int64_t* base,vuint32m4_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_i64m8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u8mf8_m(vbool64_t mask,uint8_t* base,vuint32mf2_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8mf8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u8mf4_m(vbool32_t mask,uint8_t* base,vuint32m1_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8mf4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u8mf2_m(vbool16_t mask,uint8_t* base,vuint32m2_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u8m1_m(vbool8_t mask,uint8_t* base,vuint32m4_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u8m2_m(vbool4_t mask,uint8_t* base,vuint32m8_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u8m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u16mf4_m(vbool64_t mask,uint16_t* base,vuint32mf2_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16mf4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u16mf2_m(vbool32_t mask,uint16_t* base,vuint32m1_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u16m1_m(vbool16_t mask,uint16_t* base,vuint32m2_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u16m2_m(vbool8_t mask,uint16_t* base,vuint32m4_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u16m4_m(vbool4_t mask,uint16_t* base,vuint32m8_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u16m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u32mf2_m(vbool64_t mask,uint32_t* base,vuint32mf2_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u32m1_m(vbool32_t mask,uint32_t* base,vuint32m1_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u32m2_m(vbool16_t mask,uint32_t* base,vuint32m2_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u32m4_m(vbool8_t mask,uint32_t* base,vuint32m4_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u32m8_m(vbool4_t mask,uint32_t* base,vuint32m8_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u32m8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u64m1_m(vbool64_t mask,uint64_t* base,vuint32mf2_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u64m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u64m2_m(vbool32_t mask,uint64_t* base,vuint32m1_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u64m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u64m4_m(vbool16_t mask,uint64_t* base,vuint32m2_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u64m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_u64m8_m(vbool8_t mask,uint64_t* base,vuint32m4_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_u64m8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_f32mf2_m(vbool64_t mask,float* base,vuint32mf2_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_f32m1_m(vbool32_t mask,float* base,vuint32m1_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_f32m2_m(vbool16_t mask,float* base,vuint32m2_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_f32m4_m(vbool8_t mask,float* base,vuint32m4_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_f32m8_m(vbool4_t mask,float* base,vuint32m8_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f32m8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_f64m1_m(vbool64_t mask,double* base,vuint32mf2_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f64m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_f64m2_m(vbool32_t mask,double* base,vuint32m1_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f64m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_f64m4_m(vbool16_t mask,double* base,vuint32m2_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f64m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei32_v_f64m8_m(vbool8_t mask,double* base,vuint32m4_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsoxei32_v_f64m8_m(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*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/gcc.target/riscv/rvv/base/vsoxei64_v-1.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei64_v-1.c > new file mode 100644 > index 00000000000..7bc1e3809b0 > --- /dev/null > +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei64_v-1.c > @@ -0,0 +1,262 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsoxei64_v_i8mf8(int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i8mf8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i8mf4(int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i8mf4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i8mf2(int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i8mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i8m1(int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i8m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i16mf4(int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i16mf4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i16mf2(int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i16mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i16m1(int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i16m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i16m2(int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i16m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i32mf2(int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i32mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i32m1(int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i32m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i32m2(int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i32m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i32m4(int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i32m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i64m1(int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i64m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i64m2(int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i64m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i64m4(int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i64m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i64m8(int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i64m8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u8mf8(uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u8mf8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u8mf4(uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u8mf4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u8mf2(uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u8mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u8m1(uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u8m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u16mf4(uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u16mf4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u16mf2(uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u16mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u16m1(uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u16m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u16m2(uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u16m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u32mf2(uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u32mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u32m1(uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u32m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u32m2(uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u32m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u32m4(uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u32m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u64m1(uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u64m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u64m2(uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u64m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u64m4(uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u64m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u64m8(uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u64m8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_f32mf2(float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f32mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_f32m1(float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f32m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_f32m2(float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f32m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_f32m4(float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f32m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_f64m1(double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f64m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_f64m2(double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f64m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_f64m4(double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f64m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_f64m8(double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f64m8(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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 3 } } */ > diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei64_v-2.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei64_v-2.c > new file mode 100644 > index 00000000000..cdc586faa68 > --- /dev/null > +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei64_v-2.c > @@ -0,0 +1,262 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsoxei64_v_i8mf8(int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i8mf8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i8mf4(int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i8mf4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i8mf2(int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i8mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i8m1(int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i8m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i16mf4(int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i16mf4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i16mf2(int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i16mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i16m1(int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i16m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i16m2(int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i16m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i32mf2(int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i32mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i32m1(int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i32m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i32m2(int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i32m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i32m4(int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i32m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i64m1(int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i64m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i64m2(int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i64m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i64m4(int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i64m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i64m8(int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i64m8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u8mf8(uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u8mf8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u8mf4(uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u8mf4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u8mf2(uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u8mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u8m1(uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u8m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u16mf4(uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u16mf4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u16mf2(uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u16mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u16m1(uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u16m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u16m2(uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u16m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u32mf2(uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u32mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u32m1(uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u32m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u32m2(uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u32m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u32m4(uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u32m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u64m1(uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u64m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u64m2(uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u64m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u64m4(uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u64m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u64m8(uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u64m8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_f32mf2(float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f32mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_f32m1(float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f32m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_f32m2(float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f32m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_f32m4(float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f32m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_f64m1(double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f64m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_f64m2(double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f64m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_f64m4(double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f64m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_f64m8(double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f64m8(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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 3 } } */ > diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei64_v-3.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei64_v-3.c > new file mode 100644 > index 00000000000..3af5f9f26e9 > --- /dev/null > +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei64_v-3.c > @@ -0,0 +1,262 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsoxei64_v_i8mf8(int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i8mf8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i8mf4(int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i8mf4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i8mf2(int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i8mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i8m1(int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i8m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i16mf4(int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i16mf4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i16mf2(int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i16mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i16m1(int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i16m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i16m2(int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i16m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i32mf2(int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i32mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i32m1(int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i32m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i32m2(int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i32m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i32m4(int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i32m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i64m1(int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i64m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i64m2(int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i64m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i64m4(int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i64m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i64m8(int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i64m8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u8mf8(uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u8mf8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u8mf4(uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u8mf4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u8mf2(uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u8mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u8m1(uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u8m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u16mf4(uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u16mf4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u16mf2(uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u16mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u16m1(uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u16m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u16m2(uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u16m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u32mf2(uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u32mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u32m1(uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u32m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u32m2(uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u32m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u32m4(uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u32m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u64m1(uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u64m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u64m2(uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u64m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u64m4(uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u64m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u64m8(uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u64m8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_f32mf2(float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f32mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_f32m1(float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f32m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_f32m2(float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f32m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_f32m4(float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f32m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_f64m1(double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f64m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_f64m2(double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f64m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_f64m4(double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f64m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_f64m8(double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f64m8(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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 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]+} 3 } } */ > diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei64_v_m-1.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei64_v_m-1.c > new file mode 100644 > index 00000000000..366032bfbbb > --- /dev/null > +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei64_v_m-1.c > @@ -0,0 +1,262 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsoxei64_v_i8mf8_m(vbool64_t mask,int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i8mf8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i8mf4_m(vbool32_t mask,int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i8mf4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i8mf2_m(vbool16_t mask,int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i8mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i8m1_m(vbool8_t mask,int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i8m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i16mf4_m(vbool64_t mask,int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i16mf4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i16mf2_m(vbool32_t mask,int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i16mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i16m1_m(vbool16_t mask,int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i16m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i16m2_m(vbool8_t mask,int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i16m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i32mf2_m(vbool64_t mask,int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i32mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i32m1_m(vbool32_t mask,int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i32m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i32m2_m(vbool16_t mask,int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i32m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i32m4_m(vbool8_t mask,int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i32m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i64m1_m(vbool64_t mask,int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i64m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i64m2_m(vbool32_t mask,int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i64m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i64m4_m(vbool16_t mask,int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i64m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_i64m8_m(vbool8_t mask,int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i64m8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u8mf8_m(vbool64_t mask,uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u8mf8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u8mf4_m(vbool32_t mask,uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u8mf4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u8mf2_m(vbool16_t mask,uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u8mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u8m1_m(vbool8_t mask,uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u8m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u16mf4_m(vbool64_t mask,uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u16mf4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u16mf2_m(vbool32_t mask,uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u16mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u16m1_m(vbool16_t mask,uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u16m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u16m2_m(vbool8_t mask,uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u16m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u32mf2_m(vbool64_t mask,uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u32mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u32m1_m(vbool32_t mask,uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u32m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u32m2_m(vbool16_t mask,uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u32m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u32m4_m(vbool8_t mask,uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u32m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u64m1_m(vbool64_t mask,uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u64m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u64m2_m(vbool32_t mask,uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u64m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u64m4_m(vbool16_t mask,uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u64m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_u64m8_m(vbool8_t mask,uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u64m8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_f32mf2_m(vbool64_t mask,float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f32mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_f32m1_m(vbool32_t mask,float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f32m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_f32m2_m(vbool16_t mask,float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f32m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_f32m4_m(vbool8_t mask,float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f32m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_f64m1_m(vbool64_t mask,double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f64m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_f64m2_m(vbool32_t mask,double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f64m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_f64m4_m(vbool16_t mask,double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f64m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei64_v_f64m8_m(vbool8_t mask,double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f64m8_m(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*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/gcc.target/riscv/rvv/base/vsoxei64_v_m-2.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei64_v_m-2.c > new file mode 100644 > index 00000000000..ba50f88280f > --- /dev/null > +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei64_v_m-2.c > @@ -0,0 +1,262 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsoxei64_v_i8mf8_m(vbool64_t mask,int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i8mf8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i8mf4_m(vbool32_t mask,int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i8mf4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i8mf2_m(vbool16_t mask,int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i8mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i8m1_m(vbool8_t mask,int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i8m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i16mf4_m(vbool64_t mask,int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i16mf4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i16mf2_m(vbool32_t mask,int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i16mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i16m1_m(vbool16_t mask,int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i16m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i16m2_m(vbool8_t mask,int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i16m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i32mf2_m(vbool64_t mask,int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i32mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i32m1_m(vbool32_t mask,int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i32m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i32m2_m(vbool16_t mask,int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i32m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i32m4_m(vbool8_t mask,int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i32m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i64m1_m(vbool64_t mask,int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i64m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i64m2_m(vbool32_t mask,int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i64m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i64m4_m(vbool16_t mask,int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i64m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_i64m8_m(vbool8_t mask,int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i64m8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u8mf8_m(vbool64_t mask,uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u8mf8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u8mf4_m(vbool32_t mask,uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u8mf4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u8mf2_m(vbool16_t mask,uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u8mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u8m1_m(vbool8_t mask,uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u8m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u16mf4_m(vbool64_t mask,uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u16mf4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u16mf2_m(vbool32_t mask,uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u16mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u16m1_m(vbool16_t mask,uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u16m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u16m2_m(vbool8_t mask,uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u16m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u32mf2_m(vbool64_t mask,uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u32mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u32m1_m(vbool32_t mask,uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u32m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u32m2_m(vbool16_t mask,uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u32m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u32m4_m(vbool8_t mask,uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u32m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u64m1_m(vbool64_t mask,uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u64m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u64m2_m(vbool32_t mask,uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u64m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u64m4_m(vbool16_t mask,uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u64m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_u64m8_m(vbool8_t mask,uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u64m8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_f32mf2_m(vbool64_t mask,float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f32mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_f32m1_m(vbool32_t mask,float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f32m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_f32m2_m(vbool16_t mask,float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f32m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_f32m4_m(vbool8_t mask,float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f32m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_f64m1_m(vbool64_t mask,double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f64m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_f64m2_m(vbool32_t mask,double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f64m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_f64m4_m(vbool16_t mask,double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f64m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei64_v_f64m8_m(vbool8_t mask,double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f64m8_m(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*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/gcc.target/riscv/rvv/base/vsoxei64_v_m-3.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei64_v_m-3.c > new file mode 100644 > index 00000000000..d0783234767 > --- /dev/null > +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei64_v_m-3.c > @@ -0,0 +1,262 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsoxei64_v_i8mf8_m(vbool64_t mask,int8_t* base,vuint64m1_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i8mf8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i8mf4_m(vbool32_t mask,int8_t* base,vuint64m2_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i8mf4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i8mf2_m(vbool16_t mask,int8_t* base,vuint64m4_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i8mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i8m1_m(vbool8_t mask,int8_t* base,vuint64m8_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i8m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i16mf4_m(vbool64_t mask,int16_t* base,vuint64m1_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i16mf4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i16mf2_m(vbool32_t mask,int16_t* base,vuint64m2_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i16mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i16m1_m(vbool16_t mask,int16_t* base,vuint64m4_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i16m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i16m2_m(vbool8_t mask,int16_t* base,vuint64m8_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i16m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i32mf2_m(vbool64_t mask,int32_t* base,vuint64m1_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i32mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i32m1_m(vbool32_t mask,int32_t* base,vuint64m2_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i32m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i32m2_m(vbool16_t mask,int32_t* base,vuint64m4_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i32m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i32m4_m(vbool8_t mask,int32_t* base,vuint64m8_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i32m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i64m1_m(vbool64_t mask,int64_t* base,vuint64m1_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i64m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i64m2_m(vbool32_t mask,int64_t* base,vuint64m2_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i64m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i64m4_m(vbool16_t mask,int64_t* base,vuint64m4_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i64m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_i64m8_m(vbool8_t mask,int64_t* base,vuint64m8_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_i64m8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u8mf8_m(vbool64_t mask,uint8_t* base,vuint64m1_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u8mf8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u8mf4_m(vbool32_t mask,uint8_t* base,vuint64m2_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u8mf4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u8mf2_m(vbool16_t mask,uint8_t* base,vuint64m4_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u8mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u8m1_m(vbool8_t mask,uint8_t* base,vuint64m8_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u8m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u16mf4_m(vbool64_t mask,uint16_t* base,vuint64m1_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u16mf4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u16mf2_m(vbool32_t mask,uint16_t* base,vuint64m2_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u16mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u16m1_m(vbool16_t mask,uint16_t* base,vuint64m4_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u16m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u16m2_m(vbool8_t mask,uint16_t* base,vuint64m8_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u16m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u32mf2_m(vbool64_t mask,uint32_t* base,vuint64m1_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u32mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u32m1_m(vbool32_t mask,uint32_t* base,vuint64m2_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u32m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u32m2_m(vbool16_t mask,uint32_t* base,vuint64m4_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u32m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u32m4_m(vbool8_t mask,uint32_t* base,vuint64m8_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u32m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u64m1_m(vbool64_t mask,uint64_t* base,vuint64m1_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u64m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u64m2_m(vbool32_t mask,uint64_t* base,vuint64m2_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u64m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u64m4_m(vbool16_t mask,uint64_t* base,vuint64m4_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u64m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_u64m8_m(vbool8_t mask,uint64_t* base,vuint64m8_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_u64m8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_f32mf2_m(vbool64_t mask,float* base,vuint64m1_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f32mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_f32m1_m(vbool32_t mask,float* base,vuint64m2_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f32m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_f32m2_m(vbool16_t mask,float* base,vuint64m4_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f32m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_f32m4_m(vbool8_t mask,float* base,vuint64m8_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f32m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_f64m1_m(vbool64_t mask,double* base,vuint64m1_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f64m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_f64m2_m(vbool32_t mask,double* base,vuint64m2_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f64m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_f64m4_m(vbool16_t mask,double* base,vuint64m4_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f64m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei64_v_f64m8_m(vbool8_t mask,double* base,vuint64m8_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsoxei64_v_f64m8_m(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*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/gcc.target/riscv/rvv/base/vsoxei8_v-1.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei8_v-1.c > new file mode 100644 > index 00000000000..0adff2678d6 > --- /dev/null > +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei8_v-1.c > @@ -0,0 +1,346 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsoxei8_v_i8mf8(int8_t* base,vuint8mf8_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8mf8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i8mf4(int8_t* base,vuint8mf4_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8mf4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i8mf2(int8_t* base,vuint8mf2_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i8m1(int8_t* base,vuint8m1_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i8m2(int8_t* base,vuint8m2_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i8m4(int8_t* base,vuint8m4_t bindex,vint8m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i8m8(int8_t* base,vuint8m8_t bindex,vint8m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8m8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i16mf4(int16_t* base,vuint8mf8_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16mf4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i16mf2(int16_t* base,vuint8mf4_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i16m1(int16_t* base,vuint8mf2_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i16m2(int16_t* base,vuint8m1_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i16m4(int16_t* base,vuint8m2_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i16m8(int16_t* base,vuint8m4_t bindex,vint16m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16m8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i32mf2(int32_t* base,vuint8mf8_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i32m1(int32_t* base,vuint8mf4_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i32m2(int32_t* base,vuint8mf2_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i32m4(int32_t* base,vuint8m1_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i32m8(int32_t* base,vuint8m2_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32m8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i64m1(int64_t* base,vuint8mf8_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i64m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i64m2(int64_t* base,vuint8mf4_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i64m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i64m4(int64_t* base,vuint8mf2_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i64m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i64m8(int64_t* base,vuint8m1_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i64m8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u8mf8(uint8_t* base,vuint8mf8_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8mf8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u8mf4(uint8_t* base,vuint8mf4_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8mf4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u8mf2(uint8_t* base,vuint8mf2_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u8m1(uint8_t* base,vuint8m1_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u8m2(uint8_t* base,vuint8m2_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u8m4(uint8_t* base,vuint8m4_t bindex,vuint8m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u8m8(uint8_t* base,vuint8m8_t bindex,vuint8m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8m8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u16mf4(uint16_t* base,vuint8mf8_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16mf4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u16mf2(uint16_t* base,vuint8mf4_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u16m1(uint16_t* base,vuint8mf2_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u16m2(uint16_t* base,vuint8m1_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u16m4(uint16_t* base,vuint8m2_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u16m8(uint16_t* base,vuint8m4_t bindex,vuint16m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16m8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u32mf2(uint32_t* base,vuint8mf8_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u32m1(uint32_t* base,vuint8mf4_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u32m2(uint32_t* base,vuint8mf2_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u32m4(uint32_t* base,vuint8m1_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u32m8(uint32_t* base,vuint8m2_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32m8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u64m1(uint64_t* base,vuint8mf8_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u64m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u64m2(uint64_t* base,vuint8mf4_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u64m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u64m4(uint64_t* base,vuint8mf2_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u64m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u64m8(uint64_t* base,vuint8m1_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u64m8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_f32mf2(float* base,vuint8mf8_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32mf2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_f32m1(float* base,vuint8mf4_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_f32m2(float* base,vuint8mf2_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_f32m4(float* base,vuint8m1_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_f32m8(float* base,vuint8m2_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32m8(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_f64m1(double* base,vuint8mf8_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f64m1(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_f64m2(double* base,vuint8mf4_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f64m2(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_f64m4(double* base,vuint8mf2_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f64m4(base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_f64m8(double* base,vuint8m1_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f64m8(base,bindex,value,vl); > +} > + > + > + > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei8_v-2.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei8_v-2.c > new file mode 100644 > index 00000000000..60624aed582 > --- /dev/null > +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei8_v-2.c > @@ -0,0 +1,346 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsoxei8_v_i8mf8(int8_t* base,vuint8mf8_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8mf8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i8mf4(int8_t* base,vuint8mf4_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8mf4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i8mf2(int8_t* base,vuint8mf2_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i8m1(int8_t* base,vuint8m1_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i8m2(int8_t* base,vuint8m2_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i8m4(int8_t* base,vuint8m4_t bindex,vint8m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i8m8(int8_t* base,vuint8m8_t bindex,vint8m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8m8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i16mf4(int16_t* base,vuint8mf8_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16mf4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i16mf2(int16_t* base,vuint8mf4_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i16m1(int16_t* base,vuint8mf2_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i16m2(int16_t* base,vuint8m1_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i16m4(int16_t* base,vuint8m2_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i16m8(int16_t* base,vuint8m4_t bindex,vint16m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16m8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i32mf2(int32_t* base,vuint8mf8_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i32m1(int32_t* base,vuint8mf4_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i32m2(int32_t* base,vuint8mf2_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i32m4(int32_t* base,vuint8m1_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i32m8(int32_t* base,vuint8m2_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32m8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i64m1(int64_t* base,vuint8mf8_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i64m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i64m2(int64_t* base,vuint8mf4_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i64m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i64m4(int64_t* base,vuint8mf2_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i64m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i64m8(int64_t* base,vuint8m1_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i64m8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u8mf8(uint8_t* base,vuint8mf8_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8mf8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u8mf4(uint8_t* base,vuint8mf4_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8mf4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u8mf2(uint8_t* base,vuint8mf2_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u8m1(uint8_t* base,vuint8m1_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u8m2(uint8_t* base,vuint8m2_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u8m4(uint8_t* base,vuint8m4_t bindex,vuint8m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u8m8(uint8_t* base,vuint8m8_t bindex,vuint8m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8m8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u16mf4(uint16_t* base,vuint8mf8_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16mf4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u16mf2(uint16_t* base,vuint8mf4_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u16m1(uint16_t* base,vuint8mf2_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u16m2(uint16_t* base,vuint8m1_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u16m4(uint16_t* base,vuint8m2_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u16m8(uint16_t* base,vuint8m4_t bindex,vuint16m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16m8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u32mf2(uint32_t* base,vuint8mf8_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u32m1(uint32_t* base,vuint8mf4_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u32m2(uint32_t* base,vuint8mf2_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u32m4(uint32_t* base,vuint8m1_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u32m8(uint32_t* base,vuint8m2_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32m8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u64m1(uint64_t* base,vuint8mf8_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u64m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u64m2(uint64_t* base,vuint8mf4_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u64m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u64m4(uint64_t* base,vuint8mf2_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u64m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u64m8(uint64_t* base,vuint8m1_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u64m8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_f32mf2(float* base,vuint8mf8_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32mf2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_f32m1(float* base,vuint8mf4_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_f32m2(float* base,vuint8mf2_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_f32m4(float* base,vuint8m1_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_f32m8(float* base,vuint8m2_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32m8(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_f64m1(double* base,vuint8mf8_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f64m1(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_f64m2(double* base,vuint8mf4_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f64m2(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_f64m4(double* base,vuint8mf2_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f64m4(base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_f64m8(double* base,vuint8m1_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f64m8(base,bindex,value,31); > +} > + > + > + > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei8_v-3.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei8_v-3.c > new file mode 100644 > index 00000000000..8f21adcc7f4 > --- /dev/null > +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei8_v-3.c > @@ -0,0 +1,346 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsoxei8_v_i8mf8(int8_t* base,vuint8mf8_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8mf8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i8mf4(int8_t* base,vuint8mf4_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8mf4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i8mf2(int8_t* base,vuint8mf2_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i8m1(int8_t* base,vuint8m1_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i8m2(int8_t* base,vuint8m2_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i8m4(int8_t* base,vuint8m4_t bindex,vint8m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i8m8(int8_t* base,vuint8m8_t bindex,vint8m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8m8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i16mf4(int16_t* base,vuint8mf8_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16mf4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i16mf2(int16_t* base,vuint8mf4_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i16m1(int16_t* base,vuint8mf2_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i16m2(int16_t* base,vuint8m1_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i16m4(int16_t* base,vuint8m2_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i16m8(int16_t* base,vuint8m4_t bindex,vint16m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16m8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i32mf2(int32_t* base,vuint8mf8_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i32m1(int32_t* base,vuint8mf4_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i32m2(int32_t* base,vuint8mf2_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i32m4(int32_t* base,vuint8m1_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i32m8(int32_t* base,vuint8m2_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32m8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i64m1(int64_t* base,vuint8mf8_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i64m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i64m2(int64_t* base,vuint8mf4_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i64m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i64m4(int64_t* base,vuint8mf2_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i64m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i64m8(int64_t* base,vuint8m1_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i64m8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u8mf8(uint8_t* base,vuint8mf8_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8mf8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u8mf4(uint8_t* base,vuint8mf4_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8mf4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u8mf2(uint8_t* base,vuint8mf2_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u8m1(uint8_t* base,vuint8m1_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u8m2(uint8_t* base,vuint8m2_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u8m4(uint8_t* base,vuint8m4_t bindex,vuint8m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u8m8(uint8_t* base,vuint8m8_t bindex,vuint8m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8m8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u16mf4(uint16_t* base,vuint8mf8_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16mf4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u16mf2(uint16_t* base,vuint8mf4_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u16m1(uint16_t* base,vuint8mf2_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u16m2(uint16_t* base,vuint8m1_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u16m4(uint16_t* base,vuint8m2_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u16m8(uint16_t* base,vuint8m4_t bindex,vuint16m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16m8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u32mf2(uint32_t* base,vuint8mf8_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u32m1(uint32_t* base,vuint8mf4_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u32m2(uint32_t* base,vuint8mf2_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u32m4(uint32_t* base,vuint8m1_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u32m8(uint32_t* base,vuint8m2_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32m8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u64m1(uint64_t* base,vuint8mf8_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u64m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u64m2(uint64_t* base,vuint8mf4_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u64m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u64m4(uint64_t* base,vuint8mf2_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u64m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u64m8(uint64_t* base,vuint8m1_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u64m8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_f32mf2(float* base,vuint8mf8_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32mf2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_f32m1(float* base,vuint8mf4_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_f32m2(float* base,vuint8mf2_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_f32m4(float* base,vuint8m1_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_f32m8(float* base,vuint8m2_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32m8(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_f64m1(double* base,vuint8mf8_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f64m1(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_f64m2(double* base,vuint8mf4_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f64m2(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_f64m4(double* base,vuint8mf2_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f64m4(base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_f64m8(double* base,vuint8m1_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f64m8(base,bindex,value,32); > +} > + > + > + > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+} 3 } } */ > diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei8_v_m-1.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei8_v_m-1.c > new file mode 100644 > index 00000000000..3a8fdfeb9f7 > --- /dev/null > +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei8_v_m-1.c > @@ -0,0 +1,346 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsoxei8_v_i8mf8_m(vbool64_t mask,int8_t* base,vuint8mf8_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8mf8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i8mf4_m(vbool32_t mask,int8_t* base,vuint8mf4_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8mf4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i8mf2_m(vbool16_t mask,int8_t* base,vuint8mf2_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i8m1_m(vbool8_t mask,int8_t* base,vuint8m1_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i8m2_m(vbool4_t mask,int8_t* base,vuint8m2_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i8m4_m(vbool2_t mask,int8_t* base,vuint8m4_t bindex,vint8m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i8m8_m(vbool1_t mask,int8_t* base,vuint8m8_t bindex,vint8m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8m8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i16mf4_m(vbool64_t mask,int16_t* base,vuint8mf8_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16mf4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i16mf2_m(vbool32_t mask,int16_t* base,vuint8mf4_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i16m1_m(vbool16_t mask,int16_t* base,vuint8mf2_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i16m2_m(vbool8_t mask,int16_t* base,vuint8m1_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i16m4_m(vbool4_t mask,int16_t* base,vuint8m2_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i16m8_m(vbool2_t mask,int16_t* base,vuint8m4_t bindex,vint16m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16m8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i32mf2_m(vbool64_t mask,int32_t* base,vuint8mf8_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i32m1_m(vbool32_t mask,int32_t* base,vuint8mf4_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i32m2_m(vbool16_t mask,int32_t* base,vuint8mf2_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i32m4_m(vbool8_t mask,int32_t* base,vuint8m1_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i32m8_m(vbool4_t mask,int32_t* base,vuint8m2_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32m8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i64m1_m(vbool64_t mask,int64_t* base,vuint8mf8_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i64m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i64m2_m(vbool32_t mask,int64_t* base,vuint8mf4_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i64m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i64m4_m(vbool16_t mask,int64_t* base,vuint8mf2_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i64m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_i64m8_m(vbool8_t mask,int64_t* base,vuint8m1_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i64m8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u8mf8_m(vbool64_t mask,uint8_t* base,vuint8mf8_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8mf8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u8mf4_m(vbool32_t mask,uint8_t* base,vuint8mf4_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8mf4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u8mf2_m(vbool16_t mask,uint8_t* base,vuint8mf2_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u8m1_m(vbool8_t mask,uint8_t* base,vuint8m1_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u8m2_m(vbool4_t mask,uint8_t* base,vuint8m2_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u8m4_m(vbool2_t mask,uint8_t* base,vuint8m4_t bindex,vuint8m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u8m8_m(vbool1_t mask,uint8_t* base,vuint8m8_t bindex,vuint8m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8m8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u16mf4_m(vbool64_t mask,uint16_t* base,vuint8mf8_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16mf4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u16mf2_m(vbool32_t mask,uint16_t* base,vuint8mf4_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u16m1_m(vbool16_t mask,uint16_t* base,vuint8mf2_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u16m2_m(vbool8_t mask,uint16_t* base,vuint8m1_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u16m4_m(vbool4_t mask,uint16_t* base,vuint8m2_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u16m8_m(vbool2_t mask,uint16_t* base,vuint8m4_t bindex,vuint16m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16m8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u32mf2_m(vbool64_t mask,uint32_t* base,vuint8mf8_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u32m1_m(vbool32_t mask,uint32_t* base,vuint8mf4_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u32m2_m(vbool16_t mask,uint32_t* base,vuint8mf2_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u32m4_m(vbool8_t mask,uint32_t* base,vuint8m1_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u32m8_m(vbool4_t mask,uint32_t* base,vuint8m2_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32m8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u64m1_m(vbool64_t mask,uint64_t* base,vuint8mf8_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u64m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u64m2_m(vbool32_t mask,uint64_t* base,vuint8mf4_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u64m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u64m4_m(vbool16_t mask,uint64_t* base,vuint8mf2_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u64m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_u64m8_m(vbool8_t mask,uint64_t* base,vuint8m1_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u64m8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_f32mf2_m(vbool64_t mask,float* base,vuint8mf8_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32mf2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_f32m1_m(vbool32_t mask,float* base,vuint8mf4_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_f32m2_m(vbool16_t mask,float* base,vuint8mf2_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_f32m4_m(vbool8_t mask,float* base,vuint8m1_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_f32m8_m(vbool4_t mask,float* base,vuint8m2_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32m8_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_f64m1_m(vbool64_t mask,double* base,vuint8mf8_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f64m1_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_f64m2_m(vbool32_t mask,double* base,vuint8mf4_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f64m2_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_f64m4_m(vbool16_t mask,double* base,vuint8mf2_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f64m4_m(mask,base,bindex,value,vl); > +} > + > + > +void test___riscv_vsoxei8_v_f64m8_m(vbool8_t mask,double* base,vuint8m1_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f64m8_m(mask,base,bindex,value,vl); > +} > + > + > + > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei8_v_m-2.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei8_v_m-2.c > new file mode 100644 > index 00000000000..412152c26ce > --- /dev/null > +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei8_v_m-2.c > @@ -0,0 +1,346 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsoxei8_v_i8mf8_m(vbool64_t mask,int8_t* base,vuint8mf8_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8mf8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i8mf4_m(vbool32_t mask,int8_t* base,vuint8mf4_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8mf4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i8mf2_m(vbool16_t mask,int8_t* base,vuint8mf2_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i8m1_m(vbool8_t mask,int8_t* base,vuint8m1_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i8m2_m(vbool4_t mask,int8_t* base,vuint8m2_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i8m4_m(vbool2_t mask,int8_t* base,vuint8m4_t bindex,vint8m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i8m8_m(vbool1_t mask,int8_t* base,vuint8m8_t bindex,vint8m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8m8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i16mf4_m(vbool64_t mask,int16_t* base,vuint8mf8_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16mf4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i16mf2_m(vbool32_t mask,int16_t* base,vuint8mf4_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i16m1_m(vbool16_t mask,int16_t* base,vuint8mf2_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i16m2_m(vbool8_t mask,int16_t* base,vuint8m1_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i16m4_m(vbool4_t mask,int16_t* base,vuint8m2_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i16m8_m(vbool2_t mask,int16_t* base,vuint8m4_t bindex,vint16m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16m8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i32mf2_m(vbool64_t mask,int32_t* base,vuint8mf8_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i32m1_m(vbool32_t mask,int32_t* base,vuint8mf4_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i32m2_m(vbool16_t mask,int32_t* base,vuint8mf2_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i32m4_m(vbool8_t mask,int32_t* base,vuint8m1_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i32m8_m(vbool4_t mask,int32_t* base,vuint8m2_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32m8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i64m1_m(vbool64_t mask,int64_t* base,vuint8mf8_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i64m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i64m2_m(vbool32_t mask,int64_t* base,vuint8mf4_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i64m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i64m4_m(vbool16_t mask,int64_t* base,vuint8mf2_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i64m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_i64m8_m(vbool8_t mask,int64_t* base,vuint8m1_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i64m8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u8mf8_m(vbool64_t mask,uint8_t* base,vuint8mf8_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8mf8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u8mf4_m(vbool32_t mask,uint8_t* base,vuint8mf4_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8mf4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u8mf2_m(vbool16_t mask,uint8_t* base,vuint8mf2_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u8m1_m(vbool8_t mask,uint8_t* base,vuint8m1_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u8m2_m(vbool4_t mask,uint8_t* base,vuint8m2_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u8m4_m(vbool2_t mask,uint8_t* base,vuint8m4_t bindex,vuint8m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u8m8_m(vbool1_t mask,uint8_t* base,vuint8m8_t bindex,vuint8m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8m8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u16mf4_m(vbool64_t mask,uint16_t* base,vuint8mf8_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16mf4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u16mf2_m(vbool32_t mask,uint16_t* base,vuint8mf4_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u16m1_m(vbool16_t mask,uint16_t* base,vuint8mf2_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u16m2_m(vbool8_t mask,uint16_t* base,vuint8m1_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u16m4_m(vbool4_t mask,uint16_t* base,vuint8m2_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u16m8_m(vbool2_t mask,uint16_t* base,vuint8m4_t bindex,vuint16m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16m8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u32mf2_m(vbool64_t mask,uint32_t* base,vuint8mf8_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u32m1_m(vbool32_t mask,uint32_t* base,vuint8mf4_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u32m2_m(vbool16_t mask,uint32_t* base,vuint8mf2_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u32m4_m(vbool8_t mask,uint32_t* base,vuint8m1_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u32m8_m(vbool4_t mask,uint32_t* base,vuint8m2_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32m8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u64m1_m(vbool64_t mask,uint64_t* base,vuint8mf8_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u64m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u64m2_m(vbool32_t mask,uint64_t* base,vuint8mf4_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u64m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u64m4_m(vbool16_t mask,uint64_t* base,vuint8mf2_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u64m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_u64m8_m(vbool8_t mask,uint64_t* base,vuint8m1_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u64m8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_f32mf2_m(vbool64_t mask,float* base,vuint8mf8_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32mf2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_f32m1_m(vbool32_t mask,float* base,vuint8mf4_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_f32m2_m(vbool16_t mask,float* base,vuint8mf2_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_f32m4_m(vbool8_t mask,float* base,vuint8m1_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_f32m8_m(vbool4_t mask,float* base,vuint8m2_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32m8_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_f64m1_m(vbool64_t mask,double* base,vuint8mf8_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f64m1_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_f64m2_m(vbool32_t mask,double* base,vuint8mf4_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f64m2_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_f64m4_m(vbool16_t mask,double* base,vuint8mf2_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f64m4_m(mask,base,bindex,value,31); > +} > + > + > +void test___riscv_vsoxei8_v_f64m8_m(vbool8_t mask,double* base,vuint8m1_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f64m8_m(mask,base,bindex,value,31); > +} > + > + > + > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e8,\s*m8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetivli\s+zero,\s*31,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei8_v_m-3.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei8_v_m-3.c > new file mode 100644 > index 00000000000..c4ff5d2eda9 > --- /dev/null > +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vsoxei8_v_m-3.c > @@ -0,0 +1,346 @@ > +/* { dg-do compile } */ > +/* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -fno-schedule-insns -fno-schedule-insns2" } */ > + > +#include "riscv_vector.h" > + > +void test___riscv_vsoxei8_v_i8mf8_m(vbool64_t mask,int8_t* base,vuint8mf8_t bindex,vint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8mf8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i8mf4_m(vbool32_t mask,int8_t* base,vuint8mf4_t bindex,vint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8mf4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i8mf2_m(vbool16_t mask,int8_t* base,vuint8mf2_t bindex,vint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i8m1_m(vbool8_t mask,int8_t* base,vuint8m1_t bindex,vint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i8m2_m(vbool4_t mask,int8_t* base,vuint8m2_t bindex,vint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i8m4_m(vbool2_t mask,int8_t* base,vuint8m4_t bindex,vint8m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i8m8_m(vbool1_t mask,int8_t* base,vuint8m8_t bindex,vint8m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i8m8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i16mf4_m(vbool64_t mask,int16_t* base,vuint8mf8_t bindex,vint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16mf4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i16mf2_m(vbool32_t mask,int16_t* base,vuint8mf4_t bindex,vint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i16m1_m(vbool16_t mask,int16_t* base,vuint8mf2_t bindex,vint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i16m2_m(vbool8_t mask,int16_t* base,vuint8m1_t bindex,vint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i16m4_m(vbool4_t mask,int16_t* base,vuint8m2_t bindex,vint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i16m8_m(vbool2_t mask,int16_t* base,vuint8m4_t bindex,vint16m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i16m8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i32mf2_m(vbool64_t mask,int32_t* base,vuint8mf8_t bindex,vint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i32m1_m(vbool32_t mask,int32_t* base,vuint8mf4_t bindex,vint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i32m2_m(vbool16_t mask,int32_t* base,vuint8mf2_t bindex,vint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i32m4_m(vbool8_t mask,int32_t* base,vuint8m1_t bindex,vint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i32m8_m(vbool4_t mask,int32_t* base,vuint8m2_t bindex,vint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i32m8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i64m1_m(vbool64_t mask,int64_t* base,vuint8mf8_t bindex,vint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i64m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i64m2_m(vbool32_t mask,int64_t* base,vuint8mf4_t bindex,vint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i64m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i64m4_m(vbool16_t mask,int64_t* base,vuint8mf2_t bindex,vint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i64m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_i64m8_m(vbool8_t mask,int64_t* base,vuint8m1_t bindex,vint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_i64m8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u8mf8_m(vbool64_t mask,uint8_t* base,vuint8mf8_t bindex,vuint8mf8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8mf8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u8mf4_m(vbool32_t mask,uint8_t* base,vuint8mf4_t bindex,vuint8mf4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8mf4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u8mf2_m(vbool16_t mask,uint8_t* base,vuint8mf2_t bindex,vuint8mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u8m1_m(vbool8_t mask,uint8_t* base,vuint8m1_t bindex,vuint8m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u8m2_m(vbool4_t mask,uint8_t* base,vuint8m2_t bindex,vuint8m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u8m4_m(vbool2_t mask,uint8_t* base,vuint8m4_t bindex,vuint8m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u8m8_m(vbool1_t mask,uint8_t* base,vuint8m8_t bindex,vuint8m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u8m8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u16mf4_m(vbool64_t mask,uint16_t* base,vuint8mf8_t bindex,vuint16mf4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16mf4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u16mf2_m(vbool32_t mask,uint16_t* base,vuint8mf4_t bindex,vuint16mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u16m1_m(vbool16_t mask,uint16_t* base,vuint8mf2_t bindex,vuint16m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u16m2_m(vbool8_t mask,uint16_t* base,vuint8m1_t bindex,vuint16m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u16m4_m(vbool4_t mask,uint16_t* base,vuint8m2_t bindex,vuint16m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u16m8_m(vbool2_t mask,uint16_t* base,vuint8m4_t bindex,vuint16m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u16m8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u32mf2_m(vbool64_t mask,uint32_t* base,vuint8mf8_t bindex,vuint32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u32m1_m(vbool32_t mask,uint32_t* base,vuint8mf4_t bindex,vuint32m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u32m2_m(vbool16_t mask,uint32_t* base,vuint8mf2_t bindex,vuint32m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u32m4_m(vbool8_t mask,uint32_t* base,vuint8m1_t bindex,vuint32m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u32m8_m(vbool4_t mask,uint32_t* base,vuint8m2_t bindex,vuint32m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u32m8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u64m1_m(vbool64_t mask,uint64_t* base,vuint8mf8_t bindex,vuint64m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u64m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u64m2_m(vbool32_t mask,uint64_t* base,vuint8mf4_t bindex,vuint64m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u64m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u64m4_m(vbool16_t mask,uint64_t* base,vuint8mf2_t bindex,vuint64m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u64m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_u64m8_m(vbool8_t mask,uint64_t* base,vuint8m1_t bindex,vuint64m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_u64m8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_f32mf2_m(vbool64_t mask,float* base,vuint8mf8_t bindex,vfloat32mf2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32mf2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_f32m1_m(vbool32_t mask,float* base,vuint8mf4_t bindex,vfloat32m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_f32m2_m(vbool16_t mask,float* base,vuint8mf2_t bindex,vfloat32m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_f32m4_m(vbool8_t mask,float* base,vuint8m1_t bindex,vfloat32m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_f32m8_m(vbool4_t mask,float* base,vuint8m2_t bindex,vfloat32m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f32m8_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_f64m1_m(vbool64_t mask,double* base,vuint8mf8_t bindex,vfloat64m1_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f64m1_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_f64m2_m(vbool32_t mask,double* base,vuint8mf4_t bindex,vfloat64m2_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f64m2_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_f64m4_m(vbool16_t mask,double* base,vuint8mf2_t bindex,vfloat64m4_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f64m4_m(mask,base,bindex,value,32); > +} > + > + > +void test___riscv_vsoxei8_v_f64m8_m(vbool8_t mask,double* base,vuint8m1_t bindex,vfloat64m8_t value,size_t vl) > +{ > + __riscv_vsoxei8_v_f64m8_m(mask,base,bindex,value,32); > +} > + > + > + > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m1,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e8,\s*m8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m1,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e16,\s*m8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 2 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*mf2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m1,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e32,\s*m8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m1,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m2,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m4,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > +/* { dg-final { scan-assembler-times {vsetvli\s+zero,\s*[a-x0-9]+,\s*e64,\s*m8,\s*t[au],\s*m[au]\s+vsoxei8\.v\s+v[0-9]+,\s*0?\([a-x0-9]+\),\s*v[0-9]+,\s*v0.t} 3 } } */ > -- > 2.36.1 >