[PATCH] D45253: [X86][WAITPKG] WaitPKG instructions

Gabor Buella via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 4 04:53:26 PDT 2018


GBuella created this revision.
GBuella added reviewers: craig.topper, zvi.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rL LLVM

https://reviews.llvm.org/D45253

Files:
  include/llvm/IR/IntrinsicsX86.td
  lib/Support/Host.cpp
  lib/Target/X86/X86.td
  lib/Target/X86/X86InstrInfo.td
  lib/Target/X86/X86Subtarget.cpp
  lib/Target/X86/X86Subtarget.h
  test/CodeGen/X86/waitpkg-intrinsics-32.ll
  test/CodeGen/X86/waitpkg-intrinsics-64.ll
  test/MC/Disassembler/X86/x86-32.txt
  test/MC/Disassembler/X86/x86-64.txt
  test/MC/X86/x86-32-coverage.s
  test/MC/X86/x86-64.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45253.140938.patch
Type: text/x-patch
Size: 15489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180404/18964714/attachment.bin>


More information about the llvm-commits mailing list