summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/pclmul-builtins.c
blob: 44300f645a9d0653f7e202d0996463447697d84e (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 -ffreestanding %s -triple=x86_64-apple-darwin -target-feature +pclmul -emit-llvm -o - | FileCheck %s


#include <wmmintrin.h>

__m128i test_mm_clmulepi64_si128(__m128i a, __m128i b) {
  // CHECK: @llvm.x86.pclmulqdq
  return _mm_clmulepi64_si128(a, b, 0);
}