mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 14:38:15 +00:00
tcg/optimize: Do not skip default processing of dup_vec
If we do not opimize away dup_vec, we must mark its output as changed. Backports commit 1fb57da72ae0886eba1234a2d98ddd10e88a9efc from qemu
This commit is contained in:
parent
e529e3fb6c
commit
9e8c8a617b
1 changed files with 2 additions and 2 deletions
|
@ -1093,9 +1093,9 @@ void tcg_optimize(TCGContext *s)
|
||||||
tmp = arg_info(op->args[1])->val;
|
tmp = arg_info(op->args[1])->val;
|
||||||
tmp = dup_const(TCGOP_VECE(op), tmp);
|
tmp = dup_const(TCGOP_VECE(op), tmp);
|
||||||
tcg_opt_gen_movi(s, op, op->args[0], tmp);
|
tcg_opt_gen_movi(s, op, op->args[0], tmp);
|
||||||
continue;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
goto do_default;
|
||||||
|
|
||||||
CASE_OP_32_64(not):
|
CASE_OP_32_64(not):
|
||||||
CASE_OP_32_64(neg):
|
CASE_OP_32_64(neg):
|
||||||
|
|
Loading…
Reference in a new issue