Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
f6b33fc5
Commit
f6b33fc5
authored
Aug 17, 2010
by
Avi Kivity
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
KVM: x86 emulator: implement SCAS (opcodes AE, AF)
Signed-off-by:
Avi Kivity
<
avi@redhat.com
>
parent
5c56e1cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
arch/x86/kvm/emulate.c
arch/x86/kvm/emulate.c
+2
-3
No files found.
arch/x86/kvm/emulate.c
View file @
f6b33fc5
...
...
@@ -2311,7 +2311,7 @@ static struct opcode opcode_table[256] = {
D
(
DstAcc
|
SrcImmByte
|
ByteOp
),
D
(
DstAcc
|
SrcImm
),
D
(
ByteOp
|
SrcAcc
|
DstDI
|
Mov
|
String
),
D
(
SrcAcc
|
DstDI
|
Mov
|
String
),
D
(
ByteOp
|
SrcSI
|
DstAcc
|
Mov
|
String
),
D
(
SrcSI
|
DstAcc
|
Mov
|
String
),
D
(
ByteOp
|
DstDI
|
String
),
D
(
DstDI
|
String
),
D
(
ByteOp
|
SrcAcc
|
DstDI
|
String
),
D
(
SrcAcc
|
DstDI
|
String
),
/* 0xB0 - 0xB7 */
X8
(
D
(
ByteOp
|
DstReg
|
SrcImm
|
Mov
)),
/* 0xB8 - 0xBF */
...
...
@@ -3046,8 +3046,7 @@ x86_emulate_insn(struct x86_emulate_ctxt *ctxt)
case
0xac
...
0xad
:
/* lods */
goto
mov
;
case
0xae
...
0xaf
:
/* scas */
DPRINTF
(
"Urk! I don't handle SCAS.
\n
"
);
goto
cannot_emulate
;
goto
cmp
;
case
0xb0
...
0xbf
:
/* mov r, imm */
goto
mov
;
case
0xc0
...
0xc1
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment