From 44454be952d4c7b2d17fccdad0be8e0b2b693559 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Fri, 10 Feb 2012 11:11:08 -0800 Subject: insns: create a symbolic "wait" token for the \341 byte code Create a symbolic name "wait" for the \341 byte code, so we don't have to open-code it. Signed-off-by: H. Peter Anvin --- insns.pl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'insns.pl') diff --git a/insns.pl b/insns.pl index f1078a3..d9a968b 100755 --- a/insns.pl +++ b/insns.pl @@ -742,6 +742,8 @@ sub byte_code_compile($$) { push(@codes, 0335); } elsif ($op eq 'nohi') { # Use spl/bpl/sil/dil even without REX push(@codes, 0325); + } elsif ($op eq 'wait') { # Needs a wait prefix + push(@codes, 0341); } elsif ($op eq 'vsibx' || $op eq 'vm32x' || $op eq 'vm64x') { # This instruction takes XMM VSIB push(@codes, 0374); -- cgit v1.2.3