gcc/testsuite/gcc.target/i386/pr82483-2.c
raw| 1 | /* PR target/82483 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-mssse3 -mno-mmx -Wno-psabi" } */ |
| 4 | /* { dg-error "needs isa option" "" { target ia32 } 0 } */ |
| 5 | |
| 6 | #include <x86intrin.h> |
| 7 | |
| 8 | __v1di f1 (__v1di x, __v1di y) { return __builtin_ia32_paddq (x, y); } |
| 9 | __v1di f2 (__v1di x, __v1di y) { return __builtin_ia32_psubq (x, y); } |