clang: lib/Headers/enqcmdintrin.h File Reference (original) (raw)
Go to the source code of this file.
Functions | |
---|---|
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 enqueue store to memory pointed by __dst. | |
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 enqueue store to memory pointed by __dst This intrinsic may only be used in Privileged mode. | |
◆ _DEFAULT_FN_ATTRS
#define _DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("enqcmd")))
◆ _enqcmd()
Reads 64-byte command pointed by __src, formats 64-byte enqueue store data, and performs 64-byte enqueue store to memory pointed by __dst.
This intrinsics may only be used in User mode.
This intrinsics corresponds to the ENQCMD
instruction.
Parameters
__dst | Pointer to the destination of the enqueue store. |
---|---|
__src | Pointer to 64-byte command data. |
Returns
If the command data is successfully written to __dst then 0 is returned. Otherwise 1 is returned.
Definition at line 36 of file enqcmdintrin.h.
References __src.
◆ _enqcmds()
Reads 64-byte command pointed by __src, formats 64-byte enqueue store data, and performs 64-byte enqueue store to memory pointed by __dst This intrinsic may only be used in Privileged mode.
This intrinsics corresponds to the ENQCMDS
instruction.
Parameters
__dst | Pointer to the destination of the enqueue store. |
---|---|
__src | Pointer to 64-byte command data. |
Returns
If the command data is successfully written to __dst then 0 is returned. Otherwise 1 is returned.
Definition at line 56 of file enqcmdintrin.h.
References __src.