x86emul: correct CF output of SHLD/SHRD
authorJan Beulich <jbeulich@suse.com>
Fri, 23 Jun 2017 15:59:12 +0000 (17:59 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 23 Jun 2017 15:59:12 +0000 (17:59 +0200)
commit1aa803f94e6dbc76d2fcb6233a897b4db9fe0ffd
tree2c545228fdaf540c332bdafb997e5e7735fdb859
parent7f919ac31993e95387cac612d0dc0bf0ac7cccce
x86emul: correct CF output of SHLD/SHRD

CF reflects the last bit shifted out, i.e. can't possibly be derived
from the result value.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/tests/x86_emulator/test_x86_emulator.c
xen/arch/x86/x86_emulate/x86_emulate.c