[nasm:master] x86/insns: add VMGEXIT
nasm-bot for Cyrill Gorcunov
gorcunov at gmail.com
Mon Nov 7 17:12:17 PST 2022
Commit-ID: e2ed7b7e125e03646d3be537b11d1b46b9c3f506
Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=e2ed7b7e125e03646d3be537b11d1b46b9c3f506
Author: Cyrill Gorcunov <gorcunov at gmail.com>
AuthorDate: Thu, 13 May 2021 09:14:10 +0300
Committer: Cyrill Gorcunov <gorcunov at gmail.com>
CommitDate: Thu, 13 May 2021 09:14:10 +0300
x86/insns: add VMGEXIT
The instruction supports two forms with [f2] and [f3].
I guess we might add aliases as VMGEXIT2 and VMGEXIT3.
For now simly leave a second form for ndisasm sake.
https://bugzilla.nasm.us/show_bug.cgi?id=3392755
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
travis/test/vmx.asm | 4 ++++
travis/test/vmx.o.t | Bin 656 -> 672 bytes
x86/insns.dat | 2 ++
3 files changed, 6 insertions(+)
diff --git a/travis/test/vmx.asm b/travis/test/vmx.asm
index 2136a120..25dd1744 100644
--- a/travis/test/vmx.asm
+++ b/travis/test/vmx.asm
@@ -22,3 +22,7 @@
pvalidate
rmpadjust
+
+ vmgexit
+ repne vmcall
+ rep vmcall
diff --git a/travis/test/vmx.o.t b/travis/test/vmx.o.t
index d5e553ed..f8ada6b4 100644
Binary files a/travis/test/vmx.o.t and b/travis/test/vmx.o.t differ
diff --git a/x86/insns.dat b/x86/insns.dat
index 7356bdc1..9efbd768 100644
--- a/x86/insns.dat
+++ b/x86/insns.dat
@@ -1903,6 +1903,8 @@ INVVPID reg64,mem [rm: o64nw 66 0f 38 81 /r] VMX,SO,LONG
;# SEV-SNP AMD instructions
PVALIDATE void [ f2 0f 01 ff] VMX,AMD
RMPADJUST void [ f3 0f 01 fe] VMX,AMD
+VMGEXIT void [ f2 0f 01 c1] VMX,AMD
+VMGEXIT void [ f3 0f 01 c1] VMX,AMD
;# Tejas New Instructions (SSSE3)
PABSB mmxreg,mmxrm [rm: np 0f 38 1c /r] SSSE3,MMX,SQ
More information about the Nasm-commits
mailing list