Initial commit from qemu-kvm.git kvm/test/

Signed-off-by: Avi Kivity <avi@redhat.com>
add test for btc instruction

This patch add test for btc instruction.

Signed-off-by: Wei Yongjun<yjwei@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Add real mode int n instruction test

This adds a test for int n (opcode 0xcd) instruction in the real mode
test harness

Signed-off-by: Mohammed Gamal <m.gamal005@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Add realmode test for stc instruction

Signed-off-by: Mohammed Gamal <m.gamal005@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Add test for bsf/bsr instruction

This patch add test for bsf/bsr instruction.

Signed-off-by: Wei Yongjun<yjwei@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Add test for xadd instruction

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Add imul real mode test

Signed-off-by: Mohammed Gamal <m.gamal005@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Add real mode test for mul instruction

Signed-off-by: Mohammed Gamal <m.gamal005@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Add real mode tests for div and idiv

Signed-off-by: Mohammed Gamal <m.gamal005@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Parse multiboot command line into argc/argv

Signed-off-by: Avi Kivity <avi@redhat.com>
Test non-repeated scas

Signed-off-by: Avi Kivity <avi@redhat.com>
Test for REPE/SCAS with ZF initially clear

REPE tests ZF after the string instruction is executed.  Try it with ZF
initially clear to make sure.

Signed-off-by: Avi Kivity <avi@redhat.com>
Add real mode test for cbw/cwde instruction

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Add realmode test for loopcc instruction

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Load flags register before running real-mode test

Signed-off-by: Avi Kivity <avi@redhat.com>
Add DAS test

test 1024 combinations of AL, CF and AF.

Signed-off-by: Avi Kivity <avi@redhat.com>
Add IMUL tests

IMUL REG, R/M
IMUL REG, R/M, IMM8
IMUL REG, R/M, IMM

Signed-off-by: Avi Kivity <avi@redhat.com>
Add test for cwd/cdq/cqo instruction

Signed-off-by: Mohammed Gamal <m.gamal005@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Test CALL FAR R/M instrucion (opcode FF /3)

Signed-off-by: Avi Kivity <avi@redhat.com>
Test RET IMM instruction

Signed-off-by: Avi Kivity <avi@redhat.com>