]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/pclmul-builtins.c
Vendor import of clang release_38 branch r258549:
[FreeBSD/FreeBSD.git] / test / CodeGen / pclmul-builtins.c
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
8 __m128i test_mm_clmulepi64_si128(__m128i a, __m128i b) {
9   // CHECK: @llvm.x86.pclmulqdq
10   return _mm_clmulepi64_si128(a, b, 0);
11 }