From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:46531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNRem-0007qU-Rw for qemu-devel@nongnu.org; Fri, 20 May 2011 11:30:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QNRel-0006iv-T7 for qemu-devel@nongnu.org; Fri, 20 May 2011 11:30:28 -0400 Received: from mail-pw0-f45.google.com ([209.85.160.45]:34370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNRel-0006il-M8 for qemu-devel@nongnu.org; Fri, 20 May 2011 11:30:27 -0400 Received: by pwi6 with SMTP id 6so2198174pwi.4 for ; Fri, 20 May 2011 08:30:26 -0700 (PDT) Sender: Richard Henderson Message-ID: <4DD68910.4080105@twiddle.net> Date: Fri, 20 May 2011 08:30:24 -0700 From: Richard Henderson MIME-Version: 1.0 References: <1305671572-5899-1-git-send-email-jcmvbkbc@gmail.com> <1305671572-5899-21-git-send-email-jcmvbkbc@gmail.com> <4DD592F1.6030205@twiddle.net> <201105201114.56852.jcmvbkbc@gmail.com> In-Reply-To: <201105201114.56852.jcmvbkbc@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 20/26] target-xtensa: implement extended L32R List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Filippov Cc: qemu-devel@nongnu.org On 05/20/2011 12:14 AM, Max Filippov wrote: > As far as I can see LITBASE usage pattern is that it is set up once > in early initialization and is never changed after. That's probably true on a per-program basis. I.e. for semi-hosting or userland emulation, hard-coding litbase into the TB could make sense. However, for full system emulation, with kernel and userland et al, I would expect that litbase would tend to be set per-application. At which point it would almost certainly be more efficient to read the value at runtime. r~