PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / arm / pr69610-1.c
bloba671b93392bdac8679415cb49a3691dcbe672790
1 /* Check that pre ARMv4 compilation still works. */
2 /* { dg-do compile } */
3 /* { dg-options "-marm -march=armv3 -ftree-ter" } */
4 /* { dg-require-effective-target arm_arm_ok } */
6 typedef unsigned short v16u16 __attribute__ ((vector_size (16)));
7 typedef unsigned int v16u32 __attribute__ ((vector_size (16)));
9 unsigned short
10 foo (v16u16 v16u16_1, v16u32 v16u32_1)
12 v16u16_1 += (v16u16) v16u32_1;
13 return v16u16_1[5] + v16u32_1[1];