qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] x86/cpu: Enable a few new cpu features
@ 2018-07-10  8:57 Jingqi Liu
  2018-07-10  8:57 ` [Qemu-devel] [PATCH 1/3] x86/cpu: Enable UMONITOR/UMWAIT/TPAUSE " Jingqi Liu
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Jingqi Liu @ 2018-07-10  8:57 UTC (permalink / raw)
  To: pbonzini, rth, ehabkost; +Cc: qemu-devel, wei.w.wang, Jingqi Liu

Enable a few new cpu features including UMONITOR, UMWAIT, TPAUSE,
MOVDIRI and MOVDIR64B.

UMONITOR, UMWAIT, and TPAUSE are a set of user wait instructions.
MOVDIRI moves doubleword or quadword from register to memory through
direct store.
MOVDIR64B moves 64-bytes as direct-store with 64-bytes write atomicity.

The bits definition:
CPUID.(EAX=7,ECX=0):ECX[bit 05] WAITPKG
CPUID.(EAX=7,ECX=0):ECX[bit 27] MOVDIRI
CPUID.(EAX=7,ECX=0):ECX[bit 28] MOVDIR64B

The release document ref below link:
https://software.intel.com/sites/default/files/managed/c5/15/\
architecture-instruction-set-extensions-programming-reference.pdf

Jingqi Liu (3):
  x86/cpu: Enable UMONITOR/UMWAIT/TPAUSE cpu features
  x86/cpu: Enable MOVDIRI cpu feature
  x86/cpu: Enable MOVDIR64B cpu feature

 target/i386/cpu.c | 6 +++---
 target/i386/cpu.h | 3 +++
 2 files changed, 6 insertions(+), 3 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-08-20 12:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-10  8:57 [Qemu-devel] [PATCH 0/3] x86/cpu: Enable a few new cpu features Jingqi Liu
2018-07-10  8:57 ` [Qemu-devel] [PATCH 1/3] x86/cpu: Enable UMONITOR/UMWAIT/TPAUSE " Jingqi Liu
2018-08-06 22:03   ` Eduardo Habkost
2018-08-20 12:38     ` Liu, Jingqi
2018-07-10  8:57 ` [Qemu-devel] [PATCH 2/3] x86/cpu: Enable MOVDIRI cpu feature Jingqi Liu
2018-07-10  8:57 ` [Qemu-devel] [PATCH 3/3] x86/cpu: Enable MOVDIR64B " Jingqi Liu
2018-07-16 14:59 ` [Qemu-devel] [PATCH 0/3] x86/cpu: Enable a few new cpu features Paolo Bonzini
2018-07-17  1:12   ` Liu, Jingqi
2018-08-06  8:21   ` Liu, Jingqi
2018-08-06 16:59     ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).