Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356831
b: refs/heads/master
c: 45a1467
h: refs/heads/master
i:
  356829: 9ea3089
  356827: 7f71d23
  356823: 627e441
  356815: da5a4c2
  356799: afe78fa
v: v3
  • Loading branch information
Avi Kivity authored and Marcelo Tosatti committed Jan 9, 2013
1 parent a91ec18 commit 27076e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 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: 75f728456f368140e6b34b6a79f3408774076325
refs/heads/master: 45a1467d7edff741d97a8be28342440ee65aa03c
17 changes: 4 additions & 13 deletions trunk/arch/x86/kvm/emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -2050,17 +2050,8 @@ static int em_grp2(struct x86_emulate_ctxt *ctxt)
return X86EMUL_CONTINUE;
}

static int em_not(struct x86_emulate_ctxt *ctxt)
{
ctxt->dst.val = ~ctxt->dst.val;
return X86EMUL_CONTINUE;
}

static int em_neg(struct x86_emulate_ctxt *ctxt)
{
emulate_1op(ctxt, "neg");
return X86EMUL_CONTINUE;
}
FASTOP1(not);
FASTOP1(neg);

static int em_mul_ex(struct x86_emulate_ctxt *ctxt)
{
Expand Down Expand Up @@ -3753,8 +3744,8 @@ static const struct opcode group1A[] = {
static const struct opcode group3[] = {
I(DstMem | SrcImm | NoWrite, em_test),
I(DstMem | SrcImm | NoWrite, em_test),
I(DstMem | SrcNone | Lock, em_not),
I(DstMem | SrcNone | Lock, em_neg),
F(DstMem | SrcNone | Lock, em_not),
F(DstMem | SrcNone | Lock, em_neg),
I(SrcMem, em_mul_ex),
I(SrcMem, em_imul_ex),
I(SrcMem, em_div_ex),
Expand Down

0 comments on commit 27076e9

Please sign in to comment.