From ad1766aaa013cbdc86424dd4581e77e8d6ab298d Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Sun, 25 Jan 2015 23:30:00 +0000 Subject: [PATCH] [X86] Add AVX512 floating cmpgt and integer comparison builtins. Intrinsic header file usages coming later. llvm-svn: 227065 --- clang/include/clang/Basic/BuiltinsX86.def | 37 +++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/clang/include/clang/Basic/BuiltinsX86.def b/clang/include/clang/Basic/BuiltinsX86.def index 9a6b685..bb07fc2 100644 --- a/clang/include/clang/Basic/BuiltinsX86.def +++ b/clang/include/clang/Basic/BuiltinsX86.def @@ -855,6 +855,18 @@ BUILTIN(__builtin_ia32_pcmpeqb128_mask, "sV16cV16cs", "") BUILTIN(__builtin_ia32_pcmpeqd128_mask, "cV4iV4ic", "") BUILTIN(__builtin_ia32_pcmpeqq128_mask, "cV2LLiV2LLic", "") BUILTIN(__builtin_ia32_pcmpeqw128_mask, "cV8sV8sc", "") +BUILTIN(__builtin_ia32_pcmpgtb512_mask, "LLiV64cV64cLLi", "") +BUILTIN(__builtin_ia32_pcmpgtd512_mask, "sV16iV16is", "") +BUILTIN(__builtin_ia32_pcmpgtq512_mask, "cV8LLiV8LLic", "") +BUILTIN(__builtin_ia32_pcmpgtw512_mask, "iV32sV32si", "") +BUILTIN(__builtin_ia32_pcmpgtb256_mask, "iV32cV32ci", "") +BUILTIN(__builtin_ia32_pcmpgtd256_mask, "cV8iV8ic", "") +BUILTIN(__builtin_ia32_pcmpgtq256_mask, "cV4LLiV4LLic", "") +BUILTIN(__builtin_ia32_pcmpgtw256_mask, "sV16sV16ss", "") +BUILTIN(__builtin_ia32_pcmpgtb128_mask, "sV16cV16cs", "") +BUILTIN(__builtin_ia32_pcmpgtd128_mask, "cV4iV4ic", "") +BUILTIN(__builtin_ia32_pcmpgtq128_mask, "cV2LLiV2LLic", "") +BUILTIN(__builtin_ia32_pcmpgtw128_mask, "cV8sV8sc", "") BUILTIN(__builtin_ia32_cmppd512_mask, "UcV8dV8dIcUci", "") BUILTIN(__builtin_ia32_rndscaleps_mask, "V16fV16fiCV16fUsiC", "") BUILTIN(__builtin_ia32_rndscalepd_mask, "V8dV8diCV8dUciC", "") @@ -940,4 +952,29 @@ BUILTIN(__builtin_ia32_scatterpfqpd, "vUcV8LLiv*iCiC", "") BUILTIN(__builtin_ia32_scatterpfqps, "vUcV8LLiv*iCiC", "") BUILTIN(__builtin_ia32_knothi, "UsUs", "") +BUILTIN(__builtin_ia32_cmpb128_mask, "sV16cV16cIcs", "") +BUILTIN(__builtin_ia32_cmpd128_mask, "cV4iV4iIcc", "") +BUILTIN(__builtin_ia32_cmpq128_mask, "cV2LLiV2LLiIcc", "") +BUILTIN(__builtin_ia32_cmpw128_mask, "cV8sV8sIcc", "") +BUILTIN(__builtin_ia32_cmpb256_mask, "iV32cV32cIci", "") +BUILTIN(__builtin_ia32_cmpd256_mask, "cV8iV8iIcc", "") +BUILTIN(__builtin_ia32_cmpq256_mask, "cV4LLiV4LLiIcc", "") +BUILTIN(__builtin_ia32_cmpw256_mask, "sV16sV16sIcs", "") +BUILTIN(__builtin_ia32_cmpb512_mask, "LLiV64cV64cIcLLi", "") +BUILTIN(__builtin_ia32_cmpd512_mask, "sV16iV16iIcs", "") +BUILTIN(__builtin_ia32_cmpq512_mask, "cV8LLiV8LLiIcc", "") +BUILTIN(__builtin_ia32_cmpw512_mask, "iV32sV32sIci", "") +BUILTIN(__builtin_ia32_ucmpb128_mask, "sV16cV16cIcs", "") +BUILTIN(__builtin_ia32_ucmpd128_mask, "cV4iV4iIcc", "") +BUILTIN(__builtin_ia32_ucmpq128_mask, "cV2LLiV2LLiIcc", "") +BUILTIN(__builtin_ia32_ucmpw128_mask, "cV8sV8sIcc", "") +BUILTIN(__builtin_ia32_ucmpb256_mask, "iV32cV32cIci", "") +BUILTIN(__builtin_ia32_ucmpd256_mask, "cV8iV8iIcc", "") +BUILTIN(__builtin_ia32_ucmpq256_mask, "cV4LLiV4LLiIcc", "") +BUILTIN(__builtin_ia32_ucmpw256_mask, "sV16sV16sIcs", "") +BUILTIN(__builtin_ia32_ucmpb512_mask, "LLiV64cV64cIcLLi", "") +BUILTIN(__builtin_ia32_ucmpd512_mask, "sV16iV16iIcs", "") +BUILTIN(__builtin_ia32_ucmpq512_mask, "cV8LLiV8LLiIcc", "") +BUILTIN(__builtin_ia32_ucmpw512_mask, "iV32sV32sIci", "") + #undef BUILTIN -- 2.7.4