aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/aarch64/asm-1.c
blob: bdfa4504f612621dc4478d4f363038c844bc43d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

/* { dg-do compile } */
/* { dg-options "-O3" } */

typedef struct
{
  int i;
  int y;
} __attribute__ ((aligned (16))) struct64_t;

void foo ()
{
  struct64_t tmp;
  asm volatile ("ldr q0, %[value]" : : [value]"m"(tmp));
}