mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2026-08-09 13:06:42 +00:00
Coverity reports a BAD_SHIFT with ctz32(imm5), with imm5 == 0. This is an invalid encoding, but we diagnose that just below by rejecting size > 3. Avoid the warning by sinking the computation of index below the check. Backports commit 550a04893c2bd4442211b353680b9a6408d94dba from qemu |
||
|---|---|---|
| .. | ||
| arm | ||
| i386 | ||
| m68k | ||
| mips | ||
| riscv | ||
| sparc | ||