|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [RFC 0/7] tcg: parallel code generation (Work in Progress) |
Date: | Fri, 30 Jun 2017 01:25:54 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 |
On 06/29/2017 01:28 PM, Emilio G. Cota wrote:
- Patches 2-3 remove *tbs[] to use a binary search tree instead. This removes the assumption in tb_find_pc that *tbs[] are ordered by tc_ptr, thereby allowing us to generate code regardless of its location on the host (as we do after patch 6).
Have you considered a scheme by which the front end translation and tcg optimization are done outside the lock, but final code generation is done inside the lock?
It would put at least half of the translation time in the parallel space without requiring changes to code_buffer allocation.
r~
[Prev in Thread] | Current Thread | [Next in Thread] |