]> git.ipfire.org Git - thirdparty/qemu.git/commit
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)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 28 Aug 2012 06:50:02 +0000 (01:50 -0500)
commit0214b6b4deb87d70bfc5fb00ba62f85fcf06f8ab
tree65d258cd04ff1702cc9f56310169c2f3f309da10
parent63f7166a80a204e8d6d1732315b5c924d46f31d3
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>
(cherry picked from commit 5c73b757e3aa80dc84352b2ede0d8bdea5419f6d)

Conflicts:

target-i386/translate.c

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target-i386/translate.c