Debian Codegraph @

gcc/testsuite/gcc.target/riscv/rvv/base/pr109479-6.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -march=rv32gc_zve32x_zvl64b -mabi=ilp32d" } */
3
4 #include "riscv_vector.h"
5
6 void foo0 () {vbool64_t t;}
7 void foo1 () {vint8mf8_t t;}
8 void foo2 () {vuint8mf8_t t;}
9 void foo3 () {vint16mf4_t t;}
10 void foo4 () {vuint16mf4_t t;}
11 void foo5 () {vint32mf2_t t;}
12 void foo6 () {vuint32mf2_t t;}
13 void foo7 () {vint64m1_t t;}
14 void foo8 () {vuint64m1_t t;}
15 void foo9 () {vint64m2_t t;}
16 void foo10 () {vuint64m2_t t;}
17 void foo11 () {vint64m4_t t;}
18 void foo12 () {vuint64m4_t t;}
19 void foo13 () {vint64m8_t t;}
20 void foo14 () {vuint64m8_t t;}
21
22 void new_foo0 (vbool64_t t) { }
23 void new_foo1 (vint8mf8_t t) { }
24 void new_foo2 (vuint8mf8_t t) { }
25 void new_foo3 (vint16mf4_t t) { }
26 void new_foo4 (vuint16mf4_t t) { }
27 void new_foo5 (vint32mf2_t t) { }
28 void new_foo6 (vuint32mf2_t t) { }
29
30 void new_foo7 (vint64m1_t t) { } /* { dg-error {argument type 'vint64m1_t' requires the zve64x, zve64f, zve64d or v ISA extension} } */
31 void new_foo8 (vuint64m1_t t) { } /* { dg-error {argument type 'vuint64m1_t' requires the zve64x, zve64f, zve64d or v ISA extension} } */
32 void new_foo9 (vint64m2_t t) { } /* { dg-error {argument type 'vint64m2_t' requires the zve64x, zve64f, zve64d or v ISA extension} } */
33 void new_foo10 (vuint64m2_t t) { } /* { dg-error {argument type 'vuint64m2_t' requires the zve64x, zve64f, zve64d or v ISA extension} } */
34 void new_foo11 (vint64m4_t t) { } /* { dg-error {argument type 'vint64m4_t' requires the zve64x, zve64f, zve64d or v ISA extension} } */
35 void new_foo12 (vuint64m4_t t) { } /* { dg-error {argument type 'vuint64m4_t' requires the zve64x, zve64f, zve64d or v ISA extension} } */
36 void new_foo13 (vint64m8_t t) { } /* { dg-error {argument type 'vint64m8_t' requires the zve64x, zve64f, zve64d or v ISA extension} } */
37 void new_foo14 (vuint64m8_t t) { } /* { dg-error {argument type 'vuint64m8_t' requires the zve64x, zve64f, zve64d or v ISA extension} } */