mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 14:45:48 +00:00
target/arm: Tidy condition in disas_simd_two_reg_misc
Path analysis shows that size == 3 && !is_q has been eliminated. Fixes: Coverity CID1385853 Backports commit a8766e3172c1671cab297c1ef4566a3c5d094822 from qemu
This commit is contained in:
parent
cb324fd039
commit
5940a36394
|
@ -11621,7 +11621,11 @@ static void disas_simd_two_reg_misc(DisasContext *s, uint32_t insn)
|
|||
/* All 64-bit element operations can be shared with scalar 2misc */
|
||||
int pass;
|
||||
|
||||
for (pass = 0; pass < (is_q ? 2 : 1); pass++) {
|
||||
/* Coverity claims (size == 3 && !is_q) has been eliminated
|
||||
* from all paths leading to here.
|
||||
*/
|
||||
tcg_debug_assert(is_q);
|
||||
for (pass = 0; pass < 2; pass++) {
|
||||
TCGv_i64 tcg_op = tcg_temp_new_i64(tcg_ctx);
|
||||
TCGv_i64 tcg_res = tcg_temp_new_i64(tcg_ctx);
|
||||
|
||||
|
|
Loading…
Reference in a new issue