Debian Codegraph @

gcc/testsuite/gcc.target/riscv/rvv/autovec/align-2.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-march=rv32gcv -mabi=ilp32d -O3 -mrvv-vector-bits=zvl" } */
3
4 void __attribute__((noinline, noclone))
5 f (int * __restrict dst, int * __restrict op1, int * __restrict op2, int count)
6 {
7 for (int i = 0; i < count; ++i)
8 dst[i] = op1[i] + op2[i];
9 }
10
11 /* { dg-final { scan-assembler-not {\mlw} } } */
12 /* { dg-final { scan-assembler-not {\msw} } } */