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 } */ 5 6 typedef unsigned short v16u16 __attribute__ ((vector_size (16))); 7 typedef unsigned int v16u32 __attribute__ ((vector_size (16))); 8 9 unsigned short foo(v16u16 v16u16_1,v16u32 v16u32_1)10foo (v16u16 v16u16_1, v16u32 v16u32_1) 11 { 12 v16u16_1 += (v16u16) v16u32_1; 13 return v16u16_1[5] + v16u32_1[1]; 14 } 15