dfae46c3ba
In some cases (for example gen_compute_branch_nm in nanomips_translate.c.inc) registers can be unused on some paths and a negative value is passed in that case: gen_compute_branch_nm(ctx, OPC_BPOSGE32, 4, -1, -2, imm << 1); To avoid an out of bounds access in those cases, introduce assertions. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> |
||
---|---|---|
.. | ||
sysemu | ||
tcg | ||
cpu-defs.c.inc | ||
cpu-param.h | ||
cpu-qom.h | ||
cpu.c | ||
cpu.h | ||
fpu_helper.h | ||
fpu.c | ||
gdbstub.c | ||
helper.h | ||
internal.h | ||
Kconfig | ||
kvm_mips.h | ||
kvm.c | ||
meson.build | ||
mips-defs.h | ||
msa.c |