summaryrefslogtreecommitdiff
path: root/insns.pl
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2012-02-24 21:51:46 -0800
committerH. Peter Anvin <hpa@zytor.com>2012-02-24 21:57:17 -0800
commit4ecd5d79fc18197838852479cff3ffb1abe78e1a (patch)
treed53db43dcbb42b7266c9286243ee8784128f8a53 /insns.pl
parent442a05a8975d53e5e56dd7630ae4480150e5bff4 (diff)
downloadnasm-4ecd5d79fc18197838852479cff3ffb1abe78e1a.tar.gz
nasm-4ecd5d79fc18197838852479cff3ffb1abe78e1a.tar.bz2
nasm-4ecd5d79fc18197838852479cff3ffb1abe78e1a.zip
HLE: Implement the basic mechanism for XACQUIRE/XRELEASE
This implements the mechanism for XACQUIRE/XRELEASE. It does not include the necessary annotations in insns.dat. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'insns.pl')
-rwxr-xr-xinsns.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/insns.pl b/insns.pl
index d9a968b..d5645e0 100755
--- a/insns.pl
+++ b/insns.pl
@@ -744,6 +744,12 @@ sub byte_code_compile($$) {
push(@codes, 0325);
} elsif ($op eq 'wait') { # Needs a wait prefix
push(@codes, 0341);
+ } elsif ($op eq 'hlexr') {
+ push(@codes, 0271);
+ } elsif ($op eq 'hlenl') {
+ push(@codes, 0272);
+ } elsif ($op eq 'hle') {
+ push(@codes, 0273);
} elsif ($op eq 'vsibx' || $op eq 'vm32x' || $op eq 'vm64x') {
# This instruction takes XMM VSIB
push(@codes, 0374);