]> git.proxmox.com Git - mirror_qemu.git/commit - target-i386/translate.c
target-i386/translate.c: mov to/from crN/drN: ignore mod bits
authorMatthew Ogilvie <mmogilvi_qemu@miniinfo.net>
Thu, 23 Aug 2012 06:24:39 +0000 (00:24 -0600)
committermalc <av1474@comtv.ru>
Fri, 24 Aug 2012 03:44:37 +0000 (07:44 +0400)
commit5c73b757e3aa80dc84352b2ede0d8bdea5419f6d
tree2e539f550a62f8be5bdbe578662296f167ae2292
parent145c7c880ff520a9348cc2401ba291330b9606fe
target-i386/translate.c: mov to/from crN/drN: ignore mod bits

> This instruction is always treated as a register-to-register (MOD = 11)
> instruction, regardless of the encoding of the MOD field in the MODR/M
> byte.

Also, Microport UNIX System V/386 v 2.1 (ca 1987) runs fine on
real Intel 386 and 486 CPU's (at least), but does not run in qemu without
this patch.

Signed-off-by: Matthew Ogilvie <mmogilvi_qemu@miniinfo.net>
Signed-off-by: malc <av1474@comtv.ru>
target-i386/translate.c