/*===--------------- cmpccxaddintrin.h - CMPCCXADD intrinsics--------------=== * * * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. * See https://llvm.org/LICENSE.txt for license information. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * *===-----------------------------------------------------------------------=== */ #ifndef __X86GPRINTRIN_H #error \ "Never use <cmpccxaddintrin.h> directly; include <x86gprintrin.h> instead." #endif // __X86GPRINTRIN_H #ifndef __CMPCCXADDINTRIN_H #define __CMPCCXADDINTRIN_H #ifdef __x86_64__ _CMPCCX_ENUM; /// Compares the value from the memory __A with the value of __B. If the /// specified condition __D is met, then add the third operand __C to the /// __A and write it into __A, else the value of __A is unchanged. The return /// value is the original value of __A. /// /// \headerfile <immintrin.h> /// /// This intrinsic corresponds to the \c CMPCCXADD instructions. /// /// \param __A /// __A pointer specifying the memory address. /// /// \param __B /// A integer operand. /// /// \param __C /// A integer operand. /// /// \param __D /// The specified condition. /// /// \returns a integer which is the original value of first operand. #define _cmpccxadd_epi32(__A, __B, __C, __D) … #define _cmpccxadd_epi64(__A, __B, __C, __D) … #endif // __x86_64__ #endif // __CMPCCXADDINTRIN_H