blob: ee41277706aeea63ce8ddcc7708286ecc644dc3d [file] [log] [blame]
Eric Christopher15709992015-10-15 23:47:11 +00001// RUN: %clang_cc1 %s -triple=x86_64-linux-gnu -S -verify -o -
2#define __MM_MALLOC_H
3
4#include <x86intrin.h>
5
6__m128d foo(__m128d a, __m128d b) {
7 return __builtin_ia32_addsubps(b, a); // expected-error {{'__builtin_ia32_addsubps' needs target feature sse3}}
8}