Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307862
b: refs/heads/master
c: 49597d8
h: refs/heads/master
v: v3
  • Loading branch information
Stefan Hajnoczi authored and Marcelo Tosatti committed Apr 16, 2012
1 parent 10db61f commit 868c1c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 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: 1c11b37669a5209bd11fb857a103634afef971e8
refs/heads/master: 49597d8116ad70aabb598e606b218ddd9315b0af
10 changes: 2 additions & 8 deletions trunk/arch/x86/kvm/emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -2818,7 +2818,7 @@ static int em_rdpmc(struct x86_emulate_ctxt *ctxt)

static int em_mov(struct x86_emulate_ctxt *ctxt)
{
ctxt->dst.val = ctxt->src.val;
memcpy(ctxt->dst.valptr, ctxt->src.valptr, ctxt->op_bytes);
return X86EMUL_CONTINUE;
}

Expand Down Expand Up @@ -2898,12 +2898,6 @@ static int em_mov_sreg_rm(struct x86_emulate_ctxt *ctxt)
return load_segment_descriptor(ctxt, sel, ctxt->modrm_reg);
}

static int em_movdqu(struct x86_emulate_ctxt *ctxt)
{
memcpy(&ctxt->dst.vec_val, &ctxt->src.vec_val, ctxt->op_bytes);
return X86EMUL_CONTINUE;
}

static int em_invlpg(struct x86_emulate_ctxt *ctxt)
{
int rc;
Expand Down Expand Up @@ -3443,7 +3437,7 @@ static struct opcode group11[] = {
};

static struct gprefix pfx_0f_6f_0f_7f = {
N, N, N, I(Sse | Unaligned, em_movdqu),
N, I(Sse | Aligned, em_mov), N, I(Sse | Unaligned, em_mov),
};

static struct opcode opcode_table[256] = {
Expand Down

0 comments on commit 868c1c8

Please sign in to comment.