mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-07-08 22:10:42 +00:00
tcg/i386: Amend bad merge
This commit is contained in:
parent
a16ee979fc
commit
b28c64ed34
|
@ -2023,11 +2023,10 @@ static void tcg_out_qemu_ld_direct(TCGContext *s, TCGReg datalo, TCGReg datahi,
|
||||||
base, index, 0, ofs);
|
base, index, 0, ofs);
|
||||||
tcg_out_rolw_8(s, datalo);
|
tcg_out_rolw_8(s, datalo);
|
||||||
}
|
}
|
||||||
|
tcg_out_modrm(s, OPC_MOVSWL + P_REXW, datalo, datalo);
|
||||||
|
} else {
|
||||||
tcg_out_modrm_sib_offset(s, OPC_MOVSWL + P_REXW + seg,
|
tcg_out_modrm_sib_offset(s, OPC_MOVSWL + P_REXW + seg,
|
||||||
datalo, base, index, 0, ofs);
|
datalo, base, index, 0, ofs);
|
||||||
} else {
|
|
||||||
tcg_out_modrm_offset(s, OPC_MOVSWL + P_REXW + seg,
|
|
||||||
datalo, base, ofs);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case MO_UL:
|
case MO_UL:
|
||||||
|
@ -3388,22 +3387,17 @@ void tcg_expand_vec_op(TCGContext *s, TCGOpcode opc, TCGType type, unsigned vece
|
||||||
NEED_BIAS = 4
|
NEED_BIAS = 4
|
||||||
};
|
};
|
||||||
static const uint8_t fixups[16] = {
|
static const uint8_t fixups[16] = {
|
||||||
-1,
|
[0 ... 15] = -1,
|
||||||
-1,
|
[TCG_COND_EQ] = 0,
|
||||||
NEED_SWAP,
|
[TCG_COND_NE] = NEED_INV,
|
||||||
0,
|
[TCG_COND_GT] = 0,
|
||||||
NEED_BIAS | NEED_SWAP,
|
[TCG_COND_LT] = NEED_SWAP,
|
||||||
NEED_BIAS | NEED_SWAP | NEED_INV,
|
[TCG_COND_LE] = NEED_INV,
|
||||||
-1,
|
[TCG_COND_GE] = NEED_SWAP | NEED_INV,
|
||||||
-1,
|
[TCG_COND_GTU] = NEED_BIAS,
|
||||||
0,
|
[TCG_COND_LTU] = NEED_BIAS | NEED_SWAP,
|
||||||
NEED_INV,
|
[TCG_COND_LEU] = NEED_BIAS | NEED_INV,
|
||||||
NEED_INV,
|
[TCG_COND_GEU] = NEED_BIAS | NEED_SWAP | NEED_INV,
|
||||||
0,
|
|
||||||
NEED_BIAS | NEED_INV,
|
|
||||||
NEED_BIAS,
|
|
||||||
-1,
|
|
||||||
-1,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
TCGCond cond;
|
TCGCond cond;
|
||||||
|
|
Loading…
Reference in a new issue