summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr82483-2.c
blob: 305ddbd6c64c336ec2b825162b0cbe48a7df96ae (plain)
1
2
3
4
5
6
7
8
9
/* PR target/82483 */
/* { dg-do compile } */
/* { dg-options "-mssse3 -mno-mmx -Wno-psabi" } */
/* { dg-error "needs isa option" "" { target *-*-* } 0 } */

#include <x86intrin.h>

__v1di f1 (__v1di x, __v1di y) { return __builtin_ia32_paddq (x, y); }
__v1di f2 (__v1di x, __v1di y) { return __builtin_ia32_psubq (x, y); }