Three new instructions:
umonitor - Sets up a linear address range to be
monitored by hardware and activates the monitor.
The address range should be a writeback memory
caching type.
umwait - A hint that allows the processor to
stop instruction execution and enter an
implementation-dependent optimized state
until occurrence of a class of events.
tpause - Directs the processor to enter an
implementation-dependent optimized state
until the TSC reaches the value in EDX:EAX.
Also modifying the description of the mfence
instruction, as the rep prefix (0xF3) was allowed
before, which would conflict with umonitor during
disassembly.
Before this patch
$ echo 0xf3,0x0f,0xae,0xf0 | llvm-mc -disassemble
.text mfence
After this patch
$ echo 0xf3,0x0f,0xae,0xf0 | llvm-mc -disassemble
.text umonitor %rax
Line these up with the 0xAE on the first line.