clang: lib/Headers/enqcmdintrin.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10#ifndef __IMMINTRIN_H

11#error "Never use <enqcmdintrin.h> directly; include <immintrin.h> instead."

12#endif

13

14#ifndef __ENQCMDINTRIN_H

15#define __ENQCMDINTRIN_H

16

17

18#define _DEFAULT_FN_ATTRS \

19 __attribute__((__always_inline__, __nodebug__, __target__("enqcmd")))

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

37{

38 return __builtin_ia32_enqcmd(__dst, __src);

39}

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

57{

58 return __builtin_ia32_enqcmds(__dst, __src);

59}

60

61#undef _DEFAULT_FN_ATTRS

62

63#endif

#define _DEFAULT_FN_ATTRS

static __inline__ int _DEFAULT_FN_ATTRS _enqcmd(void *__dst, const void *__src)

Reads 64-byte command pointed by __src, formats 64-byte enqueue store data, and performs 64-byte enqu...

static __inline__ int _DEFAULT_FN_ATTRS _enqcmds(void *__dst, const void *__src)

Reads 64-byte command pointed by __src, formats 64-byte enqueue store data, and performs 64-byte enqu...

static __inline__ void const void * __src