[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 08/12] target-arm: A64: add support for B and
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v3 08/12] target-arm: A64: add support for B and BL insns |
Date: |
Mon, 9 Dec 2013 13:49:49 +0000 |
On 5 December 2013 12:39, Peter Maydell <address@hidden> wrote:
> From: Alexander Graf <address@hidden>
>
> Implement the B and BL instructions (PC relative branches and calls).
>
> For convenience in managing TCG temporaries which might be generated
> if a source register is the zero-register XZR, we provide a simple
> mechanism for creating a new temp which is automatically freed at the
> end of decode of the instruction.
> +static void init_tmp_a64_array(DisasContext *s)
> +{
> + int i;
> +#ifdef CONFIG_DEBUG_TCG
> + for (i = 0; i < ARRAY_SIZE(s->tmp_a64); i++) {
> + TCGV_UNUSED_I64(s->tmp_a64[i]);
> + }
> +#endif
> + s->tmp_a64_count = 0;
> +}
The "int i;" declaration needs to go inside the ifdef
to avoid a compilation failure when building with
debug disabled. Rather than resend this series all
over again, I propose to fix this nit as part of applying
the series to target-arm.next.
thanks
-- PMM
- [Qemu-devel] [PATCH v3 12/12] target-arm: A64: add support for compare and branch imm, (continued)
- [Qemu-devel] [PATCH v3 12/12] target-arm: A64: add support for compare and branch imm, Peter Maydell, 2013/12/05
- [Qemu-devel] [PATCH v3 03/12] target-arm: A64: provide functions for accessing FPCR and FPSR, Peter Maydell, 2013/12/05
- [Qemu-devel] [PATCH v3 07/12] target-arm: A64: expand decoding skeleton for system instructions, Peter Maydell, 2013/12/05
- [Qemu-devel] [PATCH v3 01/12] target-arm: Split A64 from A32/T32 gen_intermediate_code_internal(), Peter Maydell, 2013/12/05
- [Qemu-devel] [PATCH v3 04/12] target-arm: Support fp registers in gdb stub, Peter Maydell, 2013/12/05
- [Qemu-devel] [PATCH v3 05/12] target-arm: A64: add stubs for a64 specific helpers, Peter Maydell, 2013/12/05
- [Qemu-devel] [PATCH v3 11/12] target-arm: A64: add support for 'test and branch' imm, Peter Maydell, 2013/12/05
- [Qemu-devel] [PATCH v3 08/12] target-arm: A64: add support for B and BL insns, Peter Maydell, 2013/12/05
- Re: [Qemu-devel] [PATCH v3 00/12] target-arm: A64 decoder, foundation plus branches, Peter Maydell, 2013/12/17