[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] tcg: Use bitmaps for free temporaries
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] tcg: Use bitmaps for free temporaries |
Date: |
Sat, 7 Dec 2013 17:18:57 +0000 |
On 19 September 2013 20:58, Richard Henderson <address@hidden> wrote:
> We previously allocated 32-bits per temp for the next_free_temp entry.
> We now allocate 4 bits per temp across the 4 bitmaps.
>
> Using a linked list meant that if a translator is tweeked, resulting in
> temps being freed in a different order, that would have follow-on effects
> throughout the TB. Always allocating the lowest free temp means that
> follow-on effects are minimized, which can make it easier to diff output
> when debugging the translators.
>
> Signed-off-by: Richard Henderson <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
-- PMM