target/arm/translate.c: Fix missing 'break' for TT insns

The code where we added the TT instruction was accidentally
missing a 'break', which meant that after generating the code
to execute the TT we would fall through to 'goto illegal_op'
and generate code to take an UNDEF insn.

Backports commit 384c6c03fb687bea239a5990a538c4bc50fdcecb from qemu
This commit is contained in:
Peter Maydell 2018-03-07 11:45:32 -05:00 committed by Lioncash
parent 02516c53ff
commit 8e7ecd89a4
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -10104,6 +10104,7 @@ static void disas_thumb2_insn(DisasContext *s, uint32_t insn)
tcg_temp_free_i32(tcg_ctx, addr);
tcg_temp_free_i32(tcg_ctx, op);
store_reg(s, rd, ttresp);
break;
}
goto illegal_op;
}