1 /* { dg-do compile { target ia32 } } */ 2 /* { dg-options "-mmmx -mgeneral-regs-only" } */ 3 4 typedef int int32x2_t __attribute__ ((__vector_size__ ((8)))); 5 6 int32x2_t test(int32x2_t a,int32x2_t b)7test (int32x2_t a, int32x2_t b) /* { dg-warning "MMX vector argument without MMX enabled" } */ 8 { /* { dg-warning "MMX vector return without MMX enabled" } */ 9 return a + b; 10 } 11