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