mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 06:15:28 +00:00
target/m68k: Correct duplicate conditions in gen_cc_cond
This commit is contained in:
parent
dc5980b61f
commit
2eef8bba67
|
@ -1349,7 +1349,7 @@ static void gen_cc_cond(DisasCompare *c, DisasContext *s, int cond)
|
|||
case 5: /* CS (C) */
|
||||
/* Some cases fold C into X. */
|
||||
if (op == CC_OP_ADDB || op == CC_OP_ADDW || op == CC_OP_ADDL ||
|
||||
op == CC_OP_ADDB || op == CC_OP_ADDW || op == CC_OP_ADDL) {
|
||||
op == CC_OP_SUBB || op == CC_OP_SUBW || op == CC_OP_SUBL) {
|
||||
tcond = TCG_COND_NE;
|
||||
c->v1 = tcg_ctx->QREG_CC_X;
|
||||
goto done;
|
||||
|
|
Loading…
Reference in a new issue