#include <sys/syscall.h>
#include <stdint.h>
#include <cne_common.h>
Go to the source code of this file.
APIs for ISA instructions
Definition in file cne_isa.h.
◆ cne_umonitor()
Set the address for UMONITOR instruction.
For more information about usage of these instructions, please refer to Intel(R) 64 and IA-32 Architectures Software Developer's Manual.
- Parameters
-
addr | Address to use for umonitor. |
- Returns
- None.
Definition at line 36 of file cne_isa.h.
◆ cne_umwait()
Execute UMWAIT given the timestamp value.
This function will enter C0.2 state.
For more information about usage of these instructions, please refer to Intel(R) 64 and IA-32 Architectures Software Developer's Manual.
- Parameters
-
timestamp | The number of cycles to wait. |
- Returns
- None.
Definition at line 56 of file cne_isa.h.
◆ cne_tpause()
Execute TPAUSE given the timestamp value.
This function uses TPAUSE instruction and will enter C0.2 state. For more information about usage of this instruction, please refer to Intel(R) 64 and IA-32 Architectures Software Developer's Manual.
- Parameters
-
timestamp | The number of cycles to wait. |
- Returns
- None.
Definition at line 81 of file cne_isa.h.
◆ cne_movdiri()
MOVDIRI instruction.
- Parameters
-
addr | The address to put the value. |
value | The value to move to the given address. |
- Returns
- None.
Definition at line 104 of file cne_isa.h.
◆ cne_movdir64b()
Use movdir64b instruction to move data from source to destination
- Parameters
-
dst | The destination address to put the source data |
src | The source address to get the data from. |
- Returns
- None.
Definition at line 121 of file cne_isa.h.
◆ cne_cldemote()
Demote a cacheline entry
- Parameters
-
p | The address of the cacheline to demote. |
- Returns
- None.
Definition at line 136 of file cne_isa.h.