提交 ea4f2a84 编写于 作者: L Laurent Vivier

target-m68k: add addressing modes to not

Signed-off-by: NLaurent Vivier <laurent@vivier.eu>
Reviewed-by: NRichard Henderson <rth@twiddle.net>
上级 a665a820
......@@ -1673,11 +1673,17 @@ DISAS_INSN(move_to_ccr)
DISAS_INSN(not)
{
TCGv reg;
TCGv src1;
TCGv dest;
TCGv addr;
int opsize;
reg = DREG(insn, 0);
tcg_gen_not_i32(reg, reg);
gen_logic_cc(s, reg, OS_LONG);
opsize = insn_opsize(insn);
SRC_EA(env, src1, opsize, 1, &addr);
dest = tcg_temp_new();
tcg_gen_not_i32(dest, src1);
DEST_EA(env, insn, opsize, dest, &addr);
gen_logic_cc(s, dest, opsize);
}
DISAS_INSN(swap)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册