OSDN Git Service

target/m68k: add 680x0 "move to SR" instruction
authorLaurent Vivier <laurent@vivier.eu>
Thu, 4 Jan 2018 01:29:10 +0000 (02:29 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 4 Jan 2018 16:24:35 +0000 (17:24 +0100)
commitb6a21d8d8f69ac04fd6180e752a65d582c07e948
tree59e639092bdfb3031c3aee472028855a65f006b4
parent01490ea8f575656a9431fc0170a82bc6064fa2ef
target/m68k: add 680x0 "move to SR" instruction

Some cleanup, and allows SR to be moved from any addressing mode.
Previous code was wrong for coldfire: coldfire also allows to
use addressing mode to set SR/CCR. It only supports Data register
to get SR/CCR (move from)

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20180104012913.30763-15-laurent@vivier.eu>
target/m68k/translate.c