target-m68k: fix muluw/mulsw
commit4a18cd44f3c905d443c26e26bb9b09932606d1a3
authorLaurent Vivier <laurent@vivier.eu>
Thu, 24 Nov 2016 08:31:32 +0000 (24 09:31 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 24 Nov 2016 15:24:27 +0000 (24 16:24 +0100)
treed293075386d1c98676ac8bb602ae024e3124b5eb
parent5436c29d78957a6825a93f0eb79dfab388641017
target-m68k: fix muluw/mulsw

"The multiplier and multiplicand are both word operands, and the result
is a long-word operand."

So compute flags on a long-word result, not on a word result.

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <rth@twiddle.net>
target-m68k/translate.c