On 4 December 2013 00:03, Richard Henderson wrote:
> On 12/04/2013 10:51 AM, Peter Maydell wrote:
>> +if (cond < 0x0e) {
>> +/* genuinely conditional branches */
>> +int label_nomatch = gen_new_label();
>> +arm_gen_test_cc(cond ^ 1, label_nomatch);
>> +gen_goto_
On 12/04/2013 10:51 AM, Peter Maydell wrote:
> +if (cond < 0x0e) {
> +/* genuinely conditional branches */
> +int label_nomatch = gen_new_label();
> +arm_gen_test_cc(cond ^ 1, label_nomatch);
> +gen_goto_tb(s, 0, addr);
> +gen_set_label(label_nomatch);
>
From: Alexander Graf
This patch adds emulation for the conditional branch (b.cond) instruction.
Signed-off-by: Alexander Graf
[claudio: adapted to new decoder structure,
reused arm infrastructure for checking the flags]
Signed-off-by: Claudio Fontana
Signed-off-by: Peter Maydell
---