qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v5 18/19] tcg-arm: Convert to CONFIG_QEMU_LDST_O


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v5 18/19] tcg-arm: Convert to CONFIG_QEMU_LDST_OPTIMIZATION
Date: Mon, 22 Apr 2013 15:39:42 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130402 Thunderbird/17.0.5

On 2013-04-22 13:59, Aurelien Jarno wrote:
>+    /* The code buffer is limited to 16MB, with the prologue located
>+       at the end of it.  Therefore we needn't care for any out of
>+       range branches.  */
>+    assert(val - 8 < 0x01fffffd && val - 8 > -0x01fffffd);
>+
>+    tcg_out_b(s, cond, val);
While this is currently true, I am not sure we want to get rid of that
code, and I hope we'll be able to eventually get rid of the 16MB limit.

For me this dramatically reduce the boot time of guests. That said it is
not a real benchmark, and it should theoretically reduce the
performances in some cases as doing so interleaves code and data.
Someone has to spend time doing benchmarks before we can progress on that.


Ok, sure, but how do we progress in the short term?
Certainly rejecting this patch and its changes to tcg_out_goto
is not compatible with approving  19/19, which relies on it.

IMO, tcg_out_goto should be the simple case of goto within a TB,
with only the code for INDEX_goto_tb needing to handle the >16MB case.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]