From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NuOcP-0001py-Fv for qemu-devel@nongnu.org; Wed, 24 Mar 2010 07:19:25 -0400 Received: from [140.186.70.92] (port=54600 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NuOcN-0001nK-U1 for qemu-devel@nongnu.org; Wed, 24 Mar 2010 07:19:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NuOcN-0005fm-1f for qemu-devel@nongnu.org; Wed, 24 Mar 2010 07:19:23 -0400 Received: from mail-gw0-f45.google.com ([74.125.83.45]:33673) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NuOcM-0005fc-Ur for qemu-devel@nongnu.org; Wed, 24 Mar 2010 07:19:23 -0400 Received: by gwb11 with SMTP id 11so2404136gwb.4 for ; Wed, 24 Mar 2010 04:19:21 -0700 (PDT) Sender: Richard Henderson Message-ID: <4BA9F52C.6070309@twiddle.net> Date: Wed, 24 Mar 2010 04:19:08 -0700 From: Richard Henderson MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: Compile files only once: some planning References: <4BA9DFAA.3070107@redhat.com> In-Reply-To: <4BA9DFAA.3070107@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Blue Swirl , qemu-devel On 03/24/2010 02:47 AM, Paolo Bonzini wrote: > 1) make CPUState define only common fields. Include CPUState at the > beginning of each per-target CPUXYZState. Irritatingly, the common fields contain quite big TLBs. And the offsets from the start of env affect the compactness of the code generated from TCG. We really really want the general registers to come first to make sure that those offsets fit the host's reg+offset addressing mode. r~