commit | d67fc27ae2bdc2d2fb6c8ec4238a12b502b95cc7 | [log] [tgz] |
---|---|---|
author | Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> | Sat Apr 23 18:48:02 2011 +0900 |
committer | Avi Kivity <avi@redhat.com> | Sun May 22 08:39:40 2011 -0400 |
tree | 3a5f9d3eef0a94587516eb139c13162e33d6443c | |
parent | 6e2ca7d1802bf8ed9908435e34daa116662e7790 [diff] |
KVM: x86 emulator: Use opcode::execute for Group 1, CMPS and SCAS The following instructions are changed to use opcode::execute. Group 1 (80-83) ADD (00-05), OR (08-0D), ADC (10-15), SBB (18-1D), AND (20-25), SUB (28-2D), XOR (30-35), CMP (38-3D) CMPS (A6-A7), SCAS (AE-AF) The last two do the same as CMP in the emulator, so em_cmp() is used. Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> Signed-off-by: Avi Kivity <avi@redhat.com>