1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 %s -O3 -triple=x86_64-apple-darwin -target-feature +pclmul -emit-llvm -o - | FileCheck %s 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc // Don't include mm_malloc.h, it's system specific. 4*f4a2713aSLionel Sambuc #define __MM_MALLOC_H 5*f4a2713aSLionel Sambuc 6*f4a2713aSLionel Sambuc #include <wmmintrin.h> 7*f4a2713aSLionel Sambuc test_mm_clmulepi64_si128(__m128i a,__m128i b)8*f4a2713aSLionel Sambuc__m128i test_mm_clmulepi64_si128(__m128i a, __m128i b) { 9*f4a2713aSLionel Sambuc // CHECK: @llvm.x86.pclmulqdq 10*f4a2713aSLionel Sambuc return _mm_clmulepi64_si128(a, b, 0); 11*f4a2713aSLionel Sambuc } 12