summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr96744-4.c
blob: 005329f95e9f7aba0c1353c2526025149455c15b (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile { target ia32 } } */
/* { dg-options "-msse2" } */

typedef int int32x4_t __attribute__ ((__vector_size__ ((16))));

__attribute__((__target__("general-regs-only")))
int32x4_t
test (int32x4_t a, int32x4_t b) /* { dg-warning "SSE vector argument without SSE enabled" } */
{ /* { dg-warning "SSE vector return without SSE enabled" } */
  return a + b;
}