gcc/testsuite/gcc.target/i386/pr96744-1.c
raw| 1 | /* { dg-do compile { target { ! ia32 } } } */ |
| 2 | /* { dg-options "-msse2" } */ |
| 3 | |
| 4 | typedef int int32x2_t __attribute__ ((__vector_size__ ((8)))); |
| 5 | |
| 6 | __attribute__((__target__("general-regs-only"))) |
| 7 | int32x2_t test (int32x2_t a, int32x2_t b) /* { dg-error "SSE register return with SSE disabled" } */ |
| 8 | { |
| 9 | return a + b; |
| 10 | } |