aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/aarch64/vect-init-4.c
blob: 09a00958f14aa08abe73015b1b44772faca9a21a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-options "-O2" } */

#define vector __attribute__((vector_size(16)))

vector float combine (float a, float b)
{
  return (vector float) { a, b, b, a };
}

/* { dg-final { scan-assembler-not "movi\t" } } */
/* { dg-final { scan-assembler-not "orr\t" } } */