1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3
4 #define vector __attribute__((vector_size(16) ))
5
6 vector unsigned long long
f1(vector unsigned long long b,vector unsigned int a)7 f1(vector unsigned long long b, vector unsigned int a)
8 {
9 b[0] = a[0];
10 return b;
11 }
12
13 unsigned long long
f2(vector unsigned int a)14 f2(vector unsigned int a)
15 {
16 return a[0];
17 }
18
19 /* { dg-final { scan-assembler-times {fmov} 2 } } */
20 /* { dg-final { scan-assembler-not {umov} } } */
21 /* { dg-final { scan-assembler-not {uxtw} } } */
22