brintos

brintos / llvm-project-archived public Read only

0
0
Text · 33.8 KiB · f6ebf85 Raw
765 lines · c
1// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py2// REQUIRES: riscv-registered-target3// RUN: %clang_cc1 -triple riscv64 -target-feature +f -target-feature +d \4// RUN:   -target-feature +v -target-feature +zfh -target-feature +zvfh \5// RUN:   -target-feature +xsfvcp \6// RUN:   -fsyntax-only -verify %s7 8#include <sifive_vector.h>9 10#define p27_26 (0b11)11#define p26    (0b1)12#define p24_20 (0b11111)13#define p11_7  (0b11111)14#define simm5  (15)15 16#define p27_26_overflow (0b100)17#define p26_overflow    (0b10)18#define p24_20_overflow (0b100000)19#define p11_7_overflow  (0b100001)20#define simm5_overflow  (16)21 22// sf_vc_x_se23 24void test_sf_vc_x_se_u8mf8_p27_26_not_constant(uint8_t rs1, size_t vl, int index) {25  // expected-error@+1 {{argument to '__riscv_sf_vc_x_se' must be a constant integer}}26  __riscv_sf_vc_x_se_u8mf8(index, p24_20, p11_7, rs1, vl);27}28 29void test_sf_vc_x_se_u8mf8_24_20_not_constant(uint8_t rs1, size_t vl, int index) {30  // expected-error@+1 {{argument to '__riscv_sf_vc_x_se' must be a constant integer}}31  __riscv_sf_vc_x_se_u8mf8(p27_26, index, p11_7, rs1, vl);32}33 34void test_sf_vc_x_se_u8mf8_11_7_not_constant(uint8_t rs1, size_t vl, int index) {35  // expected-error@+1 {{argument to '__riscv_sf_vc_x_se' must be a constant integer}}36  __riscv_sf_vc_x_se_u8mf8(p27_26, p24_20, index, rs1, vl);37}38 39void test_sf_vc_x_se_u8mf8_p27_26_overflow(uint8_t rs1, size_t vl) {40  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}41  __riscv_sf_vc_x_se_u8mf8(p27_26_overflow, p24_20, p11_7, rs1, vl);42}43 44void test_sf_vc_x_se_u8mf8_p24_20_overflow(uint8_t rs1, size_t vl) {45  // expected-error@+1 {{argument value 32 is outside the valid range [0, 31]}}46  __riscv_sf_vc_x_se_u8mf8(p27_26, p24_20_overflow, p11_7, rs1, vl);47}48 49void test_sf_vc_x_se_u8mf8_p11_7_overflow(uint8_t rs1, size_t vl) {50  // expected-error@+1 {{argument value 33 is outside the valid range [0, 31]}}51  __riscv_sf_vc_x_se_u8mf8(p27_26, p24_20, p11_7_overflow, rs1, vl);52}53 54// sf_vc_i_se55 56void test_sf_vc_i_se_u8mf8_p27_26_not_constant(size_t vl, int index) {57  // expected-error@+1 {{argument to '__riscv_sf_vc_i_se' must be a constant integer}}58  __riscv_sf_vc_i_se_u8mf8(index, p24_20, p11_7, simm5, vl);59}60 61void test_sf_vc_i_se_u8mf8_24_20_not_constant(size_t vl, int index) {62  // expected-error@+1 {{argument to '__riscv_sf_vc_i_se' must be a constant integer}}63  __riscv_sf_vc_i_se_u8mf8(p27_26, index, p11_7, simm5, vl);64}65 66void test_sf_vc_i_se_u8mf8_11_7_not_constant(size_t vl, int index) {67  // expected-error@+1 {{argument to '__riscv_sf_vc_i_se' must be a constant integer}}68  __riscv_sf_vc_i_se_u8mf8(p27_26, p24_20, index, simm5, vl);69}70 71void test_sf_vc_i_se_u8mf8_simm5_not_constant(size_t vl, int index) {72  // expected-error@+1 {{argument to '__riscv_sf_vc_i_se' must be a constant integer}}73  __riscv_sf_vc_i_se_u8mf8(p27_26, p24_20, p11_7, index, vl);74}75 76void test_sf_vc_i_se_u8mf8_p27_26_overflow(size_t vl) {77  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}78  __riscv_sf_vc_i_se_u8mf8(p27_26_overflow, p24_20, p11_7, simm5, vl);79}80 81void test_sf_vc_i_se_u8mf8_p24_20_overflow(size_t vl) {82  // expected-error@+1 {{argument value 32 is outside the valid range [0, 31]}}83  __riscv_sf_vc_i_se_u8mf8(p27_26, p24_20_overflow, p11_7, simm5, vl);84}85 86void test_sf_vc_i_se_u8mf8_p11_7_overflow(size_t vl) {87  // expected-error@+1 {{argument value 33 is outside the valid range [0, 31]}}88  __riscv_sf_vc_i_se_u8mf8(p27_26, p24_20, p11_7_overflow, simm5, vl);89}90 91void test_sf_vc_i_se_u8mf8_simm5_overflow(size_t vl) {92  // expected-error@+1 {{argument value 16 is outside the valid range [-16, 15]}}93  __riscv_sf_vc_i_se_u8mf8(p27_26, p24_20, p11_7, simm5_overflow, vl);94}95 96// sf_vc_v_x_se97 98vuint8mf8_t test_sf_vc_v_x_se_u8mf8_p27_26_not_constant(uint8_t rs1, size_t vl, int index) {99  // expected-error@+1 {{argument to '__riscv_sf_vc_v_x_se_u8mf8' must be a constant integer}}100  return __riscv_sf_vc_v_x_se_u8mf8(index, p24_20, rs1, vl);101}102 103vuint8mf8_t test_sf_vc_v_x_se_u8mf8_p24_20_not_constant(uint8_t rs1, size_t vl, int index) {104  // expected-error@+1 {{argument to '__riscv_sf_vc_v_x_se_u8mf8' must be a constant integer}}105  return __riscv_sf_vc_v_x_se_u8mf8(p27_26, index, rs1, vl);106}107 108vuint8mf8_t test_sf_vc_v_x_se_u8mf8_p27_26_overflow(uint8_t rs1, size_t vl) {109  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}110  return __riscv_sf_vc_v_x_se_u8mf8(p27_26_overflow, p24_20, rs1, vl);111}112 113vuint8mf8_t test_sf_vc_v_x_se_u8mf8_p24_20_overflow(uint8_t rs1, size_t vl) {114  // expected-error@+1 {{argument value 32 is outside the valid range [0, 31]}}115  return __riscv_sf_vc_v_x_se_u8mf8(p27_26, p24_20_overflow, rs1, vl);116}117 118// sf_vc_v_x119 120vuint8mf8_t test_sf_vc_v_x_u8mf8_p27_26_not_constant(uint8_t rs1, size_t vl, int index) {121  // expected-error@+1 {{argument to '__riscv_sf_vc_v_x_u8mf8' must be a constant integer}}122  return __riscv_sf_vc_v_x_u8mf8(index, p24_20, rs1, vl);123}124 125vuint8mf8_t test_sf_vc_v_x_u8mf8_p24_20_not_constant(uint8_t rs1, size_t vl, int index) {126  // expected-error@+1 {{argument to '__riscv_sf_vc_v_x_u8mf8' must be a constant integer}}127  return __riscv_sf_vc_v_x_u8mf8(p27_26, index, rs1, vl);128}129 130vuint8mf8_t test_sf_vc_v_x_u8mf8_p27_26_overflow(uint8_t rs1, size_t vl) {131  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}132  return __riscv_sf_vc_v_x_u8mf8(p27_26_overflow, p24_20, rs1, vl);133}134 135vuint8mf8_t test_sf_vc_v_x_u8mf8_p24_20_overflow(uint8_t rs1, size_t vl) {136  // expected-error@+1 {{argument value 32 is outside the valid range [0, 31]}}137  return __riscv_sf_vc_v_x_u8mf8(p27_26, p24_20_overflow, rs1, vl);138}139 140// sf_vc_v_i_se141 142vuint8mf8_t test_sf_vc_v_i_se_u8mf8_p27_26_not_constant(size_t vl, int index) {143  // expected-error@+1 {{argument to '__riscv_sf_vc_v_i_se_u8mf8' must be a constant integer}}144  return __riscv_sf_vc_v_i_se_u8mf8(index, p24_20, simm5, vl);145}146 147vuint8mf8_t test_sf_vc_v_i_se_u8mf8_p24_20_not_constant(size_t vl, int index) {148  // expected-error@+1 {{argument to '__riscv_sf_vc_v_i_se_u8mf8' must be a constant integer}}149  return __riscv_sf_vc_v_i_se_u8mf8(p27_26, index, simm5, vl);150}151 152vuint8mf8_t test_sf_vc_v_i_se_u8mf8_simm5_not_constant(size_t vl, int index) {153  // expected-error@+1 {{argument to '__riscv_sf_vc_v_i_se_u8mf8' must be a constant integer}}154  return __riscv_sf_vc_v_i_se_u8mf8(p27_26, p24_20, index, vl);155}156 157vuint8mf8_t test_sf_vc_v_i_se_u8mf8_p27_26_overflow(size_t vl, int index) {158  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}159  return __riscv_sf_vc_v_i_se_u8mf8(p27_26_overflow, p24_20, simm5, vl);160}161 162vuint8mf8_t test_sf_vc_v_i_se_u8mf8_p24_20_overflow(size_t vl) {163  // expected-error@+1 {{argument value 32 is outside the valid range [0, 31]}}164  return __riscv_sf_vc_v_i_se_u8mf8(p27_26, p24_20_overflow, simm5, vl);165}166 167vuint8mf8_t test_sf_vc_v_i_se_u8mf8_simm5_overflow(size_t vl) {168  // expected-error@+1 {{argument value 16 is outside the valid range [-16, 15]}}169  return __riscv_sf_vc_v_i_se_u8mf8(p27_26, p24_20, simm5_overflow, vl);170}171 172// sf_vc_v_i173 174vuint8mf8_t test_sf_vc_v_i_u8mf8_p27_26_not_constant(size_t vl, int index) {175  // expected-error@+1 {{argument to '__riscv_sf_vc_v_i_u8mf8' must be a constant integer}}176  return __riscv_sf_vc_v_i_u8mf8(index, p24_20, simm5, vl);177}178 179vuint8mf8_t test_sf_vc_v_i_u8mf8_p24_20_not_constant(size_t vl, int index) {180  // expected-error@+1 {{argument to '__riscv_sf_vc_v_i_u8mf8' must be a constant integer}}181  return __riscv_sf_vc_v_i_u8mf8(p27_26, index, simm5, vl);182}183 184vuint8mf8_t test_sf_vc_v_i_u8mf8_simm5_not_constant(size_t vl, int index) {185  // expected-error@+1 {{argument to '__riscv_sf_vc_v_i_u8mf8' must be a constant integer}}186  return __riscv_sf_vc_v_i_u8mf8(p27_26, p24_20, index, vl);187}188 189vuint8mf8_t test_sf_vc_v_i_u8mf8_p27_26_overflow(size_t vl, int index) {190  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}191  return __riscv_sf_vc_v_i_u8mf8(p27_26_overflow, p24_20, simm5, vl);192}193 194vuint8mf8_t test_sf_vc_v_i_u8mf8_p24_20_overflow(size_t vl) {195  // expected-error@+1 {{argument value 32 is outside the valid range [0, 31]}}196  return __riscv_sf_vc_v_i_u8mf8(p27_26, p24_20_overflow, simm5, vl);197}198 199vuint8mf8_t test_sf_vc_v_i_u8mf8_simm5_overflow(size_t vl) {200  // expected-error@+1 {{argument value 16 is outside the valid range [-16, 15]}}201  return __riscv_sf_vc_v_i_u8mf8(p27_26, p24_20, simm5_overflow, vl);202}203 204// sf_vc_vv_se205 206void test_sf_vc_vv_se_u8mf8_p27_26_not_constant(vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl, int index) {207  // expected-error@+1 {{argument to '__riscv_sf_vc_vv_se_u8mf8' must be a constant integer}}208  __riscv_sf_vc_vv_se_u8mf8(index, p11_7, vs2, vs1, vl);209}210 211void test_sf_vc_vv_se_u8mf8_p11_7_not_constant(vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl, int index) {212  // expected-error@+1 {{argument to '__riscv_sf_vc_vv_se_u8mf8' must be a constant integer}}213  __riscv_sf_vc_vv_se_u8mf8(p27_26, index, vs2, vs1, vl);214}215 216void test_sf_vc_vv_se_u8mf8_p27_26_overflow(vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl) {217  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}218  __riscv_sf_vc_vv_se_u8mf8(p27_26_overflow, p11_7, vs2, vs1, vl);219}220 221void test_sf_vc_vv_se_u8mf8_p11_7_overflow(vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl) {222  // expected-error@+1 {{argument value 33 is outside the valid range [0, 31]}}223  __riscv_sf_vc_vv_se_u8mf8(p27_26, p11_7_overflow, vs2, vs1, vl);224}225 226// sf_vc_xv_se227 228void test_sf_vc_xv_se_u8mf8_p27_26_not_constant(vuint8mf8_t vs2, uint8_t rs1, size_t vl, int index) {229  // expected-error@+1 {{argument to '__riscv_sf_vc_xv_se_u8mf8' must be a constant integer}}230  __riscv_sf_vc_xv_se_u8mf8(index, p11_7, vs2, rs1, vl);231}232 233void test_sf_vc_xv_se_u8mf8_p11_7_not_constant(vuint8mf8_t vs2, uint8_t rs1, size_t vl, int index) {234  // expected-error@+1 {{argument to '__riscv_sf_vc_xv_se_u8mf8' must be a constant integer}}235  __riscv_sf_vc_xv_se_u8mf8(p27_26, index, vs2, rs1, vl);236}237 238void test_sf_vc_xv_se_u8mf8_p27_26_overflow(vuint8mf8_t vs2, uint8_t rs1, size_t vl) {239  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}240  __riscv_sf_vc_xv_se_u8mf8(p27_26_overflow, p11_7, vs2, rs1, vl);241}242 243void test_sf_vc_xv_se_u8mf8_p11_7_overflow(vuint8mf8_t vs2, uint8_t rs1, size_t vl) {244  // expected-error@+1 {{argument value 33 is outside the valid range [0, 31]}}245  __riscv_sf_vc_xv_se_u8mf8(p27_26, p11_7_overflow, vs2, rs1, vl);246}247 248// sf_vc_iv_se249 250void test_sf_vc_iv_se_u8mf8_p27_26_not_constant(vuint8mf8_t vs2, size_t vl, int index) {251  // expected-error@+1 {{argument to '__riscv_sf_vc_iv_se_u8mf8' must be a constant integer}}252  __riscv_sf_vc_iv_se_u8mf8(index, p11_7, vs2, simm5, vl);253}254 255void test_sf_vc_iv_se_u8mf8_p11_7_not_constant(vuint8mf8_t vs2, size_t vl, int index) {256  // expected-error@+1 {{argument to '__riscv_sf_vc_iv_se_u8mf8' must be a constant integer}}257  __riscv_sf_vc_iv_se_u8mf8(p27_26, index, vs2, simm5, vl);258}259 260void test_sf_vc_iv_se_u8mf8_simm5_not_constant(vuint8mf8_t vs2, size_t vl, int index) {261  // expected-error@+1 {{argument to '__riscv_sf_vc_iv_se_u8mf8' must be a constant integer}}262  __riscv_sf_vc_iv_se_u8mf8(p27_26, p11_7, vs2, index, vl);263}264 265void test_sf_vc_iv_se_u8mf8_p27_26_overflow(vuint8mf8_t vs2, size_t vl) {266  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}267  __riscv_sf_vc_iv_se_u8mf8(p27_26_overflow, p11_7, vs2, simm5, vl);268}269 270void test_sf_vc_iv_se_u8mf8_p11_7_overflow(vuint8mf8_t vs2, size_t vl) {271  // expected-error@+1 {{argument value 33 is outside the valid range [0, 31]}}272  __riscv_sf_vc_iv_se_u8mf8(p27_26, p11_7_overflow, vs2, simm5, vl);273}274 275void test_sf_vc_iv_se_u8mf8_simm5_overflow(vuint8mf8_t vs2, size_t vl) {276  // expected-error@+1 {{argument value 16 is outside the valid range [-16, 15]}}277  __riscv_sf_vc_iv_se_u8mf8(p27_26, p11_7, vs2, simm5_overflow, vl);278}279 280// sf_vc_fv_se281 282void test_sf_vc_fv_se_u16mf4_p26_not_constant(vuint16mf4_t vs2, _Float16 fs1, size_t vl, int index) {283  // expected-error@+1 {{argument to '__riscv_sf_vc_fv_se_u16mf4' must be a constant integer}}284  __riscv_sf_vc_fv_se_u16mf4(index, p11_7, vs2, fs1, vl);285}286 287void test_sf_vc_fv_se_u16mf4_p11_7_not_constant(vuint16mf4_t vs2, _Float16 fs1, size_t vl, int index) {288  // expected-error@+1 {{argument to '__riscv_sf_vc_fv_se_u16mf4' must be a constant integer}}289  __riscv_sf_vc_fv_se_u16mf4(p26, index, vs2, fs1, vl);290}291 292void test_sf_vc_fv_se_u16mf4_p26_overflow(vuint16mf4_t vs2, _Float16 fs1, size_t vl) {293  // expected-error@+1 {{argument value 2 is outside the valid range [0, 1]}}294  __riscv_sf_vc_fv_se_u16mf4(p26_overflow, p11_7, vs2, fs1, vl);295}296 297void test_sf_vc_fv_se_u16mf4_p11_7_overflow(vuint16mf4_t vs2, _Float16 fs1, size_t vl) {298  // expected-error@+1 {{argument value 33 is outside the valid range [0, 31]}}299  __riscv_sf_vc_fv_se_u16mf4(p26, p11_7_overflow, vs2, fs1, vl);300}301 302// sf_vc_v_vv_se303 304vuint8mf8_t test_sf_vc_v_vv_se_u8mf8_p27_26_not_constant(vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl, int index) {305  // expected-error@+1 {{argument to '__riscv_sf_vc_v_vv_se_u8mf8' must be a constant integer}}306  return __riscv_sf_vc_v_vv_se_u8mf8(index, vs2, vs1, vl);307}308 309vuint8mf8_t test_sf_vc_v_vv_se_u8mf8_p27_26_overflow(vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl) {310  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}311  return __riscv_sf_vc_v_vv_se_u8mf8(p27_26_overflow, vs2, vs1, vl);312}313 314// sf_vc_v_vv315 316vuint8mf8_t test_sf_vc_v_vv_u8mf8_p27_26_not_constant(vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl, int index) {317  // expected-error@+1 {{argument to '__riscv_sf_vc_v_vv_u8mf8' must be a constant integer}}318  return __riscv_sf_vc_v_vv_u8mf8(index, vs2, vs1, vl);319}320 321vuint8mf8_t test_sf_vc_v_vv_u8mf8_p27_26_overflow(vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl) {322  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}323  return __riscv_sf_vc_v_vv_u8mf8(p27_26_overflow, vs2, vs1, vl);324}325 326// sf_vc_v_xv_se327 328vuint8mf8_t test_sf_vc_v_xv_se_u8mf8_p27_26_not_constant(vuint8mf8_t vs2, uint8_t rs1, size_t vl, int index) {329  // expected-error@+1 {{argument to '__riscv_sf_vc_v_xv_se_u8mf8' must be a constant integer}}330  return __riscv_sf_vc_v_xv_se_u8mf8(index, vs2, rs1, vl);331}332 333vuint8mf8_t test_sf_vc_v_xv_se_u8mf8_p27_26_overflow(vuint8mf8_t vs2, uint8_t rs1, size_t vl) {334  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}335  return __riscv_sf_vc_v_xv_se_u8mf8(p27_26_overflow, vs2, rs1, vl);336}337 338// sf_vc_v_xv339 340vuint8mf8_t test_sf_vc_v_xv_u8mf8_p27_26_not_constant(vuint8mf8_t vs2, uint8_t rs1, size_t vl, int index) {341  // expected-error@+1 {{argument to '__riscv_sf_vc_v_xv_u8mf8' must be a constant integer}}342  return __riscv_sf_vc_v_xv_u8mf8(index, vs2, rs1, vl);343}344 345vuint8mf8_t test_sf_vc_v_xv_u8mf8_p27_26_overflow(vuint8mf8_t vs2, uint8_t rs1, size_t vl) {346  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}347  return __riscv_sf_vc_v_xv_u8mf8(p27_26_overflow, vs2, rs1, vl);348}349 350// sf_vc_v_iv_se351 352vuint8mf8_t test_sf_vc_v_iv_se_u8mf8_p27_26_not_constant(vuint8mf8_t vs2, size_t vl, int index) {353  // expected-error@+1 {{argument to '__riscv_sf_vc_v_iv_se_u8mf8' must be a constant integer}}354  return __riscv_sf_vc_v_iv_se_u8mf8(index, vs2, simm5, vl);355}356 357vuint8mf8_t test_sf_vc_v_iv_se_u8mf8_simm5_not_constant(vuint8mf8_t vs2, size_t vl, int index) {358  // expected-error@+1 {{argument to '__riscv_sf_vc_v_iv_se_u8mf8' must be a constant integer}}359  return __riscv_sf_vc_v_iv_se_u8mf8(p27_26, vs2, index, vl);360}361 362vuint8mf8_t test_sf_vc_v_iv_se_u8mf8_p27_26_overflow(vuint8mf8_t vs2, size_t vl) {363  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}364  return __riscv_sf_vc_v_iv_se_u8mf8(p27_26_overflow, vs2, simm5, vl);365}366 367vuint8mf8_t test_sf_vc_v_iv_se_u8mf8_simm5_overflow(vuint8mf8_t vs2, size_t vl) {368  // expected-error@+1 {{argument value 16 is outside the valid range [-16, 15]}}369  return __riscv_sf_vc_v_iv_se_u8mf8(p27_26, vs2, simm5_overflow, vl);370}371 372// sf_vc_v_iv373 374vuint8mf8_t test_sf_vc_v_iv_u8mf8_p27_26_not_constant(vuint8mf8_t vs2, size_t vl, int index) {375  // expected-error@+1 {{argument to '__riscv_sf_vc_v_iv_u8mf8' must be a constant integer}}376  return __riscv_sf_vc_v_iv_u8mf8(index, vs2, simm5, vl);377}378 379vuint8mf8_t test_sf_vc_v_iv_u8mf8_simm5_not_constant(vuint8mf8_t vs2, size_t vl, int index) {380  // expected-error@+1 {{argument to '__riscv_sf_vc_v_iv_u8mf8' must be a constant integer}}381  return __riscv_sf_vc_v_iv_u8mf8(p27_26, vs2, index, vl);382}383 384vuint8mf8_t test_sf_vc_v_iv_u8mf8_p27_26_overflow(vuint8mf8_t vs2, size_t vl) {385  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}386  return __riscv_sf_vc_v_iv_u8mf8(p27_26_overflow, vs2, simm5, vl);387}388 389vuint8mf8_t test_sf_vc_v_iv_u8mf8_simm5_overflow(vuint8mf8_t vs2, size_t vl) {390  // expected-error@+1 {{argument value 16 is outside the valid range [-16, 15]}}391  return __riscv_sf_vc_v_iv_u8mf8(p27_26, vs2, simm5_overflow, vl);392}393 394// sf_vc_v_fv_se395 396vuint16mf4_t test_sf_vc_v_fv_se_u16mf4_p26_not_constant(vuint16mf4_t vs2, _Float16 fs1, size_t vl, int index) {397  //expected-error@+1 {{argument to '__riscv_sf_vc_v_fv_se_u16mf4' must be a constant integer}}398  return __riscv_sf_vc_v_fv_se_u16mf4(index, vs2, fs1, vl);399}400 401vuint16mf4_t test_sf_vc_v_fv_se_u16mf4_p26_overflow(vuint16mf4_t vs2, _Float16 fs1, size_t vl) {402  // expected-error@+1 {{argument value 2 is outside the valid range [0, 1]}}403  return __riscv_sf_vc_v_fv_se_u16mf4(p26_overflow, vs2, fs1, vl);404}405 406// sf_vc_v_fv407 408vuint16mf4_t test_sf_vc_v_fv_u16mf4_p26_not_constant(vuint16mf4_t vs2, _Float16 fs1, size_t vl, int index) {409  // expected-error@+1 {{argument to '__riscv_sf_vc_v_fv_se_u16mf4' must be a constant integer}}410  return __riscv_sf_vc_v_fv_se_u16mf4(index, vs2, fs1, vl);411}412 413vuint16mf4_t test_sf_vc_v_fv_u16mf4_p26_overflow(vuint16mf4_t vs2, _Float16 fs1, size_t vl) {414  // expected-error@+1 {{argument value 2 is outside the valid range [0, 1]}}415  return __riscv_sf_vc_v_fv_u16mf4(p26_overflow, vs2, fs1, vl);416}417 418// sf_vc_vvv_se419 420void test_sf_vc_vvv_se_u8mf8_p27_26_not_constant(vuint8mf8_t vd, vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl, int index) {421  // expected-error@+1 {{argument to '__riscv_sf_vc_vvv_se_u8mf8' must be a constant integer}}422  __riscv_sf_vc_vvv_se_u8mf8(index, vd, vs2, vs1, vl);423}424 425void test_sf_vc_vvv_se_u8mf8_p27_26_overflow(vuint8mf8_t vd, vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl) {426  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}427  __riscv_sf_vc_vvv_se_u8mf8(p27_26_overflow, vd, vs2, vs1, vl);428}429 430// sf_vc_xvv_se431 432void test_sf_vc_xvv_se_u8mf8_p27_26_not_constant(vuint8mf8_t vd, vuint8mf8_t vs2, uint8_t rs1, size_t vl, int index) {433  // expected-error@+1 {{argument to '__riscv_sf_vc_xvv_se_u8mf8' must be a constant integer}}434  __riscv_sf_vc_xvv_se_u8mf8(index, vd, vs2, rs1, vl);435}436 437void test_sf_vc_xvv_se_u8mf8_p27_26_overflow(vuint8mf8_t vd, vuint8mf8_t vs2, uint8_t rs1, size_t vl) {438  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}439  __riscv_sf_vc_xvv_se_u8mf8(p27_26_overflow, vd, vs2, rs1, vl);440}441 442// sf_vc_ivv_se443 444void test_sf_vc_ivv_se_u8mf8_p27_26_not_constant(vuint8mf8_t vd, vuint8mf8_t vs2, size_t vl, int index) {445  // expected-error@+1 {{argument to '__riscv_sf_vc_ivv_se_u8mf8' must be a constant integer}}446  __riscv_sf_vc_ivv_se_u8mf8(index, vd, vs2, simm5, vl);447}448 449void test_sf_vc_ivv_se_u8mf8_simm5_not_constant(vuint8mf8_t vd, vuint8mf8_t vs2, size_t vl, int index) {450  // expected-error@+1 {{argument to '__riscv_sf_vc_ivv_se_u8mf8' must be a constant integer}}451  __riscv_sf_vc_ivv_se_u8mf8(p27_26, vd, vs2, index, vl);452}453 454void test_sf_vc_ivv_se_u8mf8_p27_26_overflow(vuint8mf8_t vd, vuint8mf8_t vs2, size_t vl) {455  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}456  __riscv_sf_vc_ivv_se_u8mf8(p27_26_overflow, vd, vs2, simm5, vl);457}458 459void test_sf_vc_ivv_se_u8mf8_simm5_overflow(vuint8mf8_t vd, vuint8mf8_t vs2, size_t vl) {460  // expected-error@+1 {{argument value 16 is outside the valid range [-16, 15]}}461  __riscv_sf_vc_ivv_se_u8mf8(p27_26, vd, vs2, simm5_overflow, vl);462}463 464// sf_vc_fvv_se465 466void test_sf_vc_fvv_se_u16mf4_p26_not_constant(vuint16mf4_t vd, vuint16mf4_t vs2, _Float16 fs1, size_t vl, int index) {467  // expected-error@+1 {{argument to '__riscv_sf_vc_fvv_se_u16mf4' must be a constant integer}}468  __riscv_sf_vc_fvv_se_u16mf4(index, vd, vs2, fs1, vl);469}470 471void test_sf_vc_fvv_se_u16mf4_p26_overflow(vuint16mf4_t vd, vuint16mf4_t vs2, _Float16 fs1, size_t vl) {472  // expected-error@+1 {{argument value 2 is outside the valid range [0, 1]}}473  __riscv_sf_vc_fvv_se_u16mf4(p26_overflow, vd, vs2, fs1, vl);474}475 476// sf_vc_v_vvv_se477 478vuint8mf8_t test_sf_vc_v_vvv_se_u8mf8_p27_26_not_constant(vuint8mf8_t vd, vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl, int index) {479  // expected-error@+1 {{argument to '__riscv_sf_vc_v_vvv_se_u8mf8' must be a constant integer}}480  return __riscv_sf_vc_v_vvv_se_u8mf8(index, vd, vs2, vs1, vl);481}482 483vuint8mf8_t test_sf_vc_v_vvv_se_u8mf8_p27_26_overflow(vuint8mf8_t vd, vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl) {484  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}485  return __riscv_sf_vc_v_vvv_se_u8mf8(p27_26_overflow, vd, vs2, vs1, vl);486}487 488// sf_vc_v_vvv489 490vuint8mf8_t test_sf_vc_v_vvv_u8mf8_p27_26_not_constant(vuint8mf8_t vd, vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl, int index) {491  // expected-error@+1 {{argument to '__riscv_sf_vc_v_vvv_u8mf8' must be a constant integer}}492  return __riscv_sf_vc_v_vvv_u8mf8(index, vd, vs2, vs1, vl);493}494 495vuint8mf8_t test_sf_vc_v_vvv_u8mf8_p27_26_overflow(vuint8mf8_t vd, vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl) {496  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}497  return __riscv_sf_vc_v_vvv_u8mf8(p27_26_overflow, vd, vs2, vs1, vl);498}499 500// sf_vc_v_xvv_se501 502vuint8mf8_t test_sf_vc_v_xvv_se_u8mf8_p27_26_not_constant(vuint8mf8_t vd, vuint8mf8_t vs2, uint8_t rs1, size_t vl, int index) {503  // expected-error@+1 {{argument to '__riscv_sf_vc_v_xvv_se_u8mf8' must be a constant integer}}504  return __riscv_sf_vc_v_xvv_se_u8mf8(index, vd, vs2, rs1, vl);505}506 507vuint8mf8_t test_sf_vc_v_xvv_se_u8mf8_p27_26_overflow(vuint8mf8_t vd, vuint8mf8_t vs2, uint8_t rs1, size_t vl) {508  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}509  return __riscv_sf_vc_v_xvv_se_u8mf8(p27_26_overflow, vd, vs2, rs1, vl);510}511 512// sf_vc_v_xvv513 514vuint8mf8_t test_sf_vc_v_xvv_u8mf8_p27_26_not_constant(vuint8mf8_t vd, vuint8mf8_t vs2, uint8_t rs1, size_t vl, int index) {515  // expected-error@+1 {{argument to '__riscv_sf_vc_v_xvv_u8mf8' must be a constant integer}}516  return __riscv_sf_vc_v_xvv_u8mf8(index, vd, vs2, rs1, vl);517}518 519vuint8mf8_t test_sf_vc_v_xvv_u8mf8_p27_26_overflow(vuint8mf8_t vd, vuint8mf8_t vs2, uint8_t rs1, size_t vl) {520  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}521  return __riscv_sf_vc_v_xvv_u8mf8(p27_26_overflow, vd, vs2, rs1, vl);522}523 524// sf_vc_v_ivv_se525 526vuint8mf8_t test_sf_vc_v_ivv_se_u8mf8_p27_26_not_constant(vuint8mf8_t vd, vuint8mf8_t vs2, size_t vl, int index) {527  // expected-error@+1 {{argument to '__riscv_sf_vc_v_ivv_se_u8mf8' must be a constant integer}}528  return __riscv_sf_vc_v_ivv_se_u8mf8(index, vd, vs2, simm5, vl);529}530 531vuint8mf8_t test_sf_vc_v_ivv_se_u8mf8_simm5_not_constant(vuint8mf8_t vd, vuint8mf8_t vs2, size_t vl, int index) {532  // expected-error@+1 {{argument to '__riscv_sf_vc_v_ivv_se_u8mf8' must be a constant integer}}533  return __riscv_sf_vc_v_ivv_se_u8mf8(p27_26, vd, vs2, index, vl);534}535 536vuint8mf8_t test_sf_vc_v_ivv_se_u8mf8_p27_26_overflow(vuint8mf8_t vd, vuint8mf8_t vs2, size_t vl) {537  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}538  return __riscv_sf_vc_v_ivv_se_u8mf8(p27_26_overflow, vd, vs2, simm5, vl);539}540 541vuint8mf8_t test_sf_vc_v_ivv_se_u8mf8_simm5_overflow(vuint8mf8_t vd, vuint8mf8_t vs2, size_t vl) {542  // expected-error@+1 {{argument value 16 is outside the valid range [-16, 15]}}543  return __riscv_sf_vc_v_ivv_se_u8mf8(p27_26, vd, vs2, simm5_overflow, vl);544}545 546// sf_vc_v_ivv547 548vuint8mf8_t test_sf_vc_v_ivv_u8mf8_p27_26_not_constant(vuint8mf8_t vd, vuint8mf8_t vs2, size_t vl, int index) {549  // expected-error@+1 {{argument to '__riscv_sf_vc_v_ivv_u8mf8' must be a constant integer}}550  return __riscv_sf_vc_v_ivv_u8mf8(index, vd, vs2, simm5, vl);551}552 553vuint8mf8_t test_sf_vc_v_ivv_u8mf8_simm5_not_constant(vuint8mf8_t vd, vuint8mf8_t vs2, size_t vl, int index) {554  // expected-error@+1 {{argument to '__riscv_sf_vc_v_ivv_u8mf8' must be a constant integer}}555  return __riscv_sf_vc_v_ivv_u8mf8(p27_26, vd, vs2, index, vl);556}557 558vuint8mf8_t test_sf_vc_v_ivv_u8mf8_p27_26_overflow(vuint8mf8_t vd, vuint8mf8_t vs2, size_t vl) {559  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}560  return __riscv_sf_vc_v_ivv_u8mf8(p27_26_overflow, vd, vs2, simm5, vl);561}562 563vuint8mf8_t test_sf_vc_v_ivv_u8mf8_simm5_overflow(vuint8mf8_t vd, vuint8mf8_t vs2, size_t vl) {564  // expected-error@+1 {{argument value 16 is outside the valid range [-16, 15]}}565  return __riscv_sf_vc_v_ivv_u8mf8(p27_26, vd, vs2, simm5_overflow, vl);566}567 568// sf_vc_v_fvv_se569 570vuint16mf4_t test_sf_vc_v_fvv_se_u16mf4_p26_not_constant(vuint16mf4_t vd, vuint16mf4_t vs2, _Float16 fs1, size_t vl, int index) {571  // expected-error@+1 {{argument to '__riscv_sf_vc_v_fvv_se_u16mf4' must be a constant integer}}572  return __riscv_sf_vc_v_fvv_se_u16mf4(index, vd, vs2, fs1, vl);573}574 575vuint16mf4_t test_sf_vc_v_fvv_se_u16mf4_p26_overflow(vuint16mf4_t vd, vuint16mf4_t vs2, _Float16 fs1, size_t vl) {576  // expected-error@+1 {{argument value 2 is outside the valid range [0, 1]}}577  return __riscv_sf_vc_v_fvv_se_u16mf4(p26_overflow, vd, vs2, fs1, vl);578}579 580// sf_vc_v_fvv581 582vuint16mf4_t test_sf_vc_v_fvv_u16mf4_p26_not_constant(vuint16mf4_t vd, vuint16mf4_t vs2, _Float16 fs1, size_t vl, int index) {583  // expected-error@+1 {{argument to '__riscv_sf_vc_v_fvv_u16mf4' must be a constant integer}}584  return __riscv_sf_vc_v_fvv_u16mf4(index, vd, vs2, fs1, vl);585}586 587vuint16mf4_t test_sf_vc_v_fvv_u16mf4_p26_overflow(vuint16mf4_t vd, vuint16mf4_t vs2, _Float16 fs1, size_t vl) {588  // expected-error@+1 {{argument value 2 is outside the valid range [0, 1]}}589  return __riscv_sf_vc_v_fvv_u16mf4(p26_overflow, vd, vs2, fs1, vl);590}591 592// sf_vc_vvw_se593 594void test_sf_vc_vvw_se_u8mf8_p27_26_not_constant(vuint16mf4_t vd, vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl, int index) {595  // expected-error@+1 {{argument to '__riscv_sf_vc_vvw_se_u8mf8' must be a constant integer}}596  __riscv_sf_vc_vvw_se_u8mf8(index, vd, vs2, vs1, vl);597}598 599void test_sf_vc_vvw_se_u8mf8_p27_26_overflow(vuint16mf4_t vd, vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl) {600  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}601  __riscv_sf_vc_vvw_se_u8mf8(p27_26_overflow, vd, vs2, vs1, vl);602}603 604// sf_vc_xvw_se605 606void test_sf_vc_xvw_se_u8mf8_p27_26_not_constant(vuint16mf4_t vd, vuint8mf8_t vs2, uint8_t rs1, size_t vl, int index) {607  // expected-error@+1 {{argument to '__riscv_sf_vc_xvw_se_u8mf8' must be a constant integer}}608  __riscv_sf_vc_xvw_se_u8mf8(index, vd, vs2, rs1, vl);609}610 611void test_sf_vc_xvw_se_u8mf8_p27_26_overflow(vuint16mf4_t vd, vuint8mf8_t vs2, uint8_t rs1, size_t vl) {612  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}613  __riscv_sf_vc_xvw_se_u8mf8(p27_26_overflow, vd, vs2, rs1, vl);614}615 616// sf_vc_ivw_se617 618void test_sf_vc_ivw_se_u8mf8_p27_26_not_constant(vuint16mf4_t vd, vuint8mf8_t vs2, size_t vl, int index) {619  // expected-error@+1 {{argument to '__riscv_sf_vc_ivw_se_u8mf8' must be a constant integer}}620  __riscv_sf_vc_ivw_se_u8mf8(index, vd, vs2, simm5, vl);621}622 623void test_sf_vc_ivw_se_u8mf8_simm5_not_constant(vuint16mf4_t vd, vuint8mf8_t vs2, size_t vl, int index) {624  // expected-error@+1 {{argument to '__riscv_sf_vc_ivw_se_u8mf8' must be a constant integer}}625  __riscv_sf_vc_ivw_se_u8mf8(p27_26, vd, vs2, index, vl);626}627 628void test_sf_vc_ivw_se_u8mf8_p27_26_overflow(vuint16mf4_t vd, vuint8mf8_t vs2, size_t vl) {629  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}630  __riscv_sf_vc_ivw_se_u8mf8(p27_26_overflow, vd, vs2, simm5, vl);631}632 633void test_sf_vc_ivw_se_u8mf8_simm5_overflow(vuint16mf4_t vd, vuint8mf8_t vs2, size_t vl) {634  // expected-error@+1 {{argument value 16 is outside the valid range [-16, 15]}}635  __riscv_sf_vc_ivw_se_u8mf8(p27_26, vd, vs2, simm5_overflow, vl);636}637 638// sf_vc_fvw_se639 640void test_sf_vc_fvw_se_u16mf4_p26_not_constant(vuint32mf2_t vd, vuint16mf4_t vs2, _Float16 fs1, size_t vl, int index) {641  // expected-error@+1 {{argument to '__riscv_sf_vc_fvw_se_u16mf4' must be a constant integer}}642  __riscv_sf_vc_fvw_se_u16mf4(index, vd, vs2, fs1, vl);643}644 645void test_sf_vc_fvw_se_u16mf4_p26_overflow(vuint32mf2_t vd, vuint16mf4_t vs2, _Float16 fs1, size_t vl) {646  // expected-error@+1 {{argument value 2 is outside the valid range [0, 1]}}647  __riscv_sf_vc_fvw_se_u16mf4(p26_overflow, vd, vs2, fs1, vl);648}649 650// sf_vc_v_vvw_se651 652vuint16mf4_t test_sf_vc_v_vvw_se_u8mf8_p27_26_not_constant(vuint16mf4_t vd, vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl, int index) {653  // expected-error@+1 {{argument to '__riscv_sf_vc_v_vvw_se_u8mf8' must be a constant integer}}654  return __riscv_sf_vc_v_vvw_se_u8mf8(index, vd, vs2, vs1, vl);655}656 657vuint16mf4_t test_sf_vc_v_vvw_se_u8mf8_p27_26_overflow(vuint16mf4_t vd, vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl) {658  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}659  return __riscv_sf_vc_v_vvw_se_u8mf8(p27_26_overflow, vd, vs2, vs1, vl);660}661 662// sf_vc_v_vvw663 664vuint16mf4_t test_sf_vc_v_vvw_u8mf8_p27_26_not_constant(vuint16mf4_t vd, vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl, int index) {665  // expected-error@+1 {{argument to '__riscv_sf_vc_v_vvw_u8mf8' must be a constant integer}}666  return __riscv_sf_vc_v_vvw_u8mf8(index, vd, vs2, vs1, vl);667}668 669vuint16mf4_t test_sf_vc_v_vvw_u8mf8_p27_26_overflow(vuint16mf4_t vd, vuint8mf8_t vs2, vuint8mf8_t vs1, size_t vl) {670  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}671  return __riscv_sf_vc_v_vvw_u8mf8(p27_26_overflow, vd, vs2, vs1, vl);672}673 674// sf_vc_v_xvw_se675 676vuint16mf4_t test_sf_vc_v_xvw_se_u8mf8_p27_26_not_constant(vuint16mf4_t vd, vuint8mf8_t vs2, uint8_t rs1, size_t vl, int index) {677  // expected-error@+1 {{argument to '__riscv_sf_vc_v_xvw_se_u8mf8' must be a constant integer}}678  return __riscv_sf_vc_v_xvw_se_u8mf8(index, vd, vs2, rs1, vl);679}680 681vuint16mf4_t test_sf_vc_v_xvw_se_u8mf8_p27_26_overflow(vuint16mf4_t vd, vuint8mf8_t vs2, uint8_t rs1, size_t vl) {682  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}683  return __riscv_sf_vc_v_xvw_se_u8mf8(p27_26_overflow, vd, vs2, rs1, vl);684}685 686// sf_vc_v_xvw687 688vuint16mf4_t test_sf_vc_v_xvw_u8mf8_p27_26_not_constant(vuint16mf4_t vd, vuint8mf8_t vs2, uint8_t rs1, size_t vl, int index) {689  // expected-error@+1 {{argument to '__riscv_sf_vc_v_xvw_u8mf8' must be a constant integer}}690  return __riscv_sf_vc_v_xvw_u8mf8(index, vd, vs2, rs1, vl);691}692 693vuint16mf4_t test_sf_vc_v_xvw_u8mf8_p27_26_overflow(vuint16mf4_t vd, vuint8mf8_t vs2, uint8_t rs1, size_t vl) {694  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}695  return __riscv_sf_vc_v_xvw_u8mf8(p27_26_overflow, vd, vs2, rs1, vl);696}697 698// sf_vc_v_ivw_se699 700vuint16mf4_t test_sf_vc_v_ivw_se_u8mf8_p27_26_not_constant(vuint16mf4_t vd, vuint8mf8_t vs2, size_t vl, int index) {701  // expected-error@+1 {{argument to '__riscv_sf_vc_v_ivw_se_u8mf8' must be a constant integer}}702  return __riscv_sf_vc_v_ivw_se_u8mf8(index, vd, vs2, simm5, vl);703}704 705vuint16mf4_t test_sf_vc_v_ivw_se_u8mf8_simm5_not_constant(vuint16mf4_t vd, vuint8mf8_t vs2, size_t vl, int index) {706  // expected-error@+1 {{argument to '__riscv_sf_vc_v_ivw_se_u8mf8' must be a constant integer}}707  return __riscv_sf_vc_v_ivw_se_u8mf8(p27_26, vd, vs2, index, vl);708}709 710vuint16mf4_t test_sf_vc_v_ivw_se_u8mf8_p27_26_overflow(vuint16mf4_t vd, vuint8mf8_t vs2, size_t vl) {711  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}712  return __riscv_sf_vc_v_ivw_se_u8mf8(p27_26_overflow, vd, vs2, simm5, vl);713}714 715vuint16mf4_t test_sf_vc_v_ivw_se_u8mf8_simm5_overflow(vuint16mf4_t vd, vuint8mf8_t vs2, size_t vl) {716  // expected-error@+1 {{argument value 16 is outside the valid range [-16, 15]}}717  return __riscv_sf_vc_v_ivw_se_u8mf8(p27_26, vd, vs2, simm5_overflow, vl);718}719 720// sf_vc_v_ivw721 722vuint16mf4_t test_sf_vc_v_ivw_u8mf8_p27_26_not_constant(vuint16mf4_t vd, vuint8mf8_t vs2, size_t vl, int index) {723  // expected-error@+1 {{argument to '__riscv_sf_vc_v_ivw_u8mf8' must be a constant integer}}724  return __riscv_sf_vc_v_ivw_u8mf8(index, vd, vs2, simm5, vl);725}726 727vuint16mf4_t test_sf_vc_v_ivw_u8mf8_simm5_not_constant(vuint16mf4_t vd, vuint8mf8_t vs2, size_t vl, int index) {728  // expected-error@+1 {{argument to '__riscv_sf_vc_v_ivw_u8mf8' must be a constant integer}}729  return __riscv_sf_vc_v_ivw_u8mf8(p27_26, vd, vs2, index, vl);730}731 732vuint16mf4_t test_sf_vc_v_ivw_u8mf8_p27_26_overflow(vuint16mf4_t vd, vuint8mf8_t vs2, size_t vl) {733  // expected-error@+1 {{argument value 4 is outside the valid range [0, 3]}}734  return __riscv_sf_vc_v_ivw_u8mf8(p27_26_overflow, vd, vs2, simm5, vl);735}736 737vuint16mf4_t test_sf_vc_v_ivw_u8mf8_simm5_overflow(vuint16mf4_t vd, vuint8mf8_t vs2, size_t vl) {738  // expected-error@+1 {{argument value 16 is outside the valid range [-16, 15]}}739  return __riscv_sf_vc_v_ivw_u8mf8(p27_26, vd, vs2, simm5_overflow, vl);740}741 742// sf_vc_v_fvw_se743 744vuint32mf2_t test_sf_vc_v_fvw_se_u16mf4_p26_not_constant(vuint32mf2_t vd, vuint16mf4_t vs2, _Float16 fs1, size_t vl, int index) {745  // expected-error@+1 {{argument to '__riscv_sf_vc_v_fvw_se_u16mf4' must be a constant integer}}746  return __riscv_sf_vc_v_fvw_se_u16mf4(index, vd, vs2, fs1, vl);747}748 749vuint32mf2_t test_sf_vc_v_fvw_se_u16mf4_p26_overflow(vuint32mf2_t vd, vuint16mf4_t vs2, _Float16 fs1, size_t vl) {750  // expected-error@+1 {{argument value 2 is outside the valid range [0, 1]}}751  return __riscv_sf_vc_v_fvw_se_u16mf4(p26_overflow, vd, vs2, fs1, vl);752}753 754// sf_vc_v_fvw755 756vuint32mf2_t test_sf_vc_v_fvw_u16mf4_p26_not_constant(vuint32mf2_t vd, vuint16mf4_t vs2, _Float16 fs1, size_t vl, int index) {757  // expected-error@+1 {{argument to '__riscv_sf_vc_v_fvw_u16mf4' must be a constant integer}}758  return __riscv_sf_vc_v_fvw_u16mf4(index, vd, vs2, fs1, vl);759}760 761vuint32mf2_t test_sf_vc_v_fvw_u16mf4_p26_overflow(vuint32mf2_t vd, vuint16mf4_t vs2, _Float16 fs1, size_t vl) {762  // expected-error@+1 {{argument value 2 is outside the valid range [0, 1]}}763  return __riscv_sf_vc_v_fvw_u16mf4(p26_overflow, vd, vs2, fs1, vl);764}765