/* Copyright (c) 2018 ZAO "MCST". All rights reserved. */

#if !defined _X86INTRIN_H_INCLUDED
# error "Never use <clwbintrin.h> directly; include <x86intrin.h> instead."
#endif

#ifndef _CLWBINTRIN_H_INCLUDED
#define _CLWBINTRIN_H_INCLUDED

#ifdef __CLWB__

/* Define the default attributes for the functions in this file */
#define __DEFAULT_FUNCS_ATTRS __attribute__((/*__gnu_inline__,*/ __always_inline__, __artificial__))

__E2K_INLINE void __DEFAULT_FUNCS_ATTRS
_mm_clwb (void *__A)
{
  __builtin_ia32_clwb (__A);
}

#undef __DEFAULT_FUNCS_ATTRS

#endif /* __CLWB__ */

#endif /* _CLWBINTRIN_H_INCLUDED */
