Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215666
b: refs/heads/master
c: 1e87e3e
h: refs/heads/master
v: v3
  • Loading branch information
Avi Kivity committed Oct 24, 2010
1 parent cc3daaf commit 77d2758
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d4709c78eeff2b272e0b9727748b72371b0e71ab
refs/heads/master: 1e87e3efe764285133866a14ddc71cf211f022c2
5 changes: 2 additions & 3 deletions trunk/arch/x86/kvm/emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -2358,9 +2358,8 @@ x86_decode_insn(struct x86_emulate_ctxt *ctxt)
done_prefixes:

/* REX prefix. */
if (c->rex_prefix)
if (c->rex_prefix & 8)
c->op_bytes = 8; /* REX.W */
if (c->rex_prefix & 8)
c->op_bytes = 8; /* REX.W */

/* Opcode byte(s). */
opcode = opcode_table[c->b];
Expand Down

0 comments on commit 77d2758

Please sign in to comment.