Debian Codegraph @

gcc/testsuite/gcc.target/s390/vector/vec-abi-single-2.c

raw
1 /* Check calling convention in the vector ABI for single element vectors. */
2
3 /* { dg-do compile { target { lp64 } } } */
4 /* { dg-options "-O3 -mzarch -march=z13" } */
5
6 /* { dg-final { scan-assembler-times "vlr\t%v24,%v26" 1 } } */
7
8 typedef int __attribute__((vector_size(16))) v4si;
9
10 typedef __int128_t __attribute__((vector_size(16))) v1ti;
11
12 v1ti foo (v4si a, v1ti b) { return b; }