OSDN Git Service

target-m68k: Fix cmpa operand size
authorLaurent Vivier <laurent@vivier.eu>
Wed, 23 Nov 2016 20:45:56 +0000 (21:45 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 24 Nov 2016 08:39:05 +0000 (09:39 +0100)
commit5436c29d78957a6825a93f0eb79dfab388641017
tree9ae919c291e99edecc2e4184eb27993720ce3dbe
parentc090c97d925ce751d8834d5c5a404952598f67c0
target-m68k: Fix cmpa operand size

"The size of the operation can be specified as word or long.
Word length source operands are sign-extended to 32 bits for
comparison."

So comparison is always done using OS_LONG.

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