gcc/testsuite/gcc.target/aarch64/sve2/pr109636_1.c
raw| 1 | /* { dg-additional-options "-O -mtune=a64fx" } */ |
| 2 | |
| 3 | typedef unsigned long long __attribute__((__vector_size__ (16))) V; |
| 4 | typedef unsigned long long __attribute__((__vector_size__ (32))) W; |
| 5 | |
| 6 | extern void bar (V v); |
| 7 | |
| 8 | void foom (V v, W w) |
| 9 | { |
| 10 | bar (__builtin_shuffle (v, __builtin_shufflevector ((V){}, w, 4, 5) * v)); |
| 11 | } |
| 12 | |
| 13 | /* { dg-final { scan-assembler {mul\tz[0-9]+.d, z[0-9]+.d, z[0-9]+.d} } } */ |