Files
xen/tools
Jan Beulich 3abe8efb43 x86_emulate: fix flag setting for 8-bit signed multiplication
We really need to check for a signed overflow of 8 bits, while the
previous check compared the sign-extended 8-bit result with the
zero-extended 16-bit one (which was wrong for all negative results).

Once at it
- also adjust the 16-bit comparison for symmetry
- improve the 8-bit multiplication (no need to zero-extend to 32-bits
  the sign-extended to 16 bits original 8-bit value)
- fold both signed multiplication variants

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
2013-09-20 11:04:52 +02:00
..
2013-08-20 15:34:03 +01:00
2013-09-03 17:00:31 +01:00
2013-08-27 14:49:19 +01:00
2013-04-11 11:09:25 +01:00
2013-06-14 16:39:36 +01:00
2013-05-08 12:14:32 +01:00
2013-09-17 17:39:53 +01:00
2013-05-21 10:16:30 +02:00