]> git.proxmox.com Git - qemu.git/commit
target-i386: Only provide CMOV and friends if feature bit set
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 15 Jul 2013 17:21:40 +0000 (18:21 +0100)
committerRichard Henderson <rth@twiddle.net>
Thu, 12 Sep 2013 18:24:48 +0000 (11:24 -0700)
commitbff93281a75def2e3197005d72ad5cdc4719383f
tree0b81cd644ef61019aec57e449d46572245f5d705
parentf2f8560c7a5303065a2a3207ec475dfb3a622a0e
target-i386: Only provide CMOV and friends if feature bit set

The instructions CMOVcc, FCMOVcc and F[U]COMI[P] should only be
present if the CMOV feature bit is set. Add missing feature bit
checks so we correctly fault if emulating a 486 or 586.
This fixes bug LP:1201446.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
target-i386/translate.c