From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRMWv-0001x7-Nt for qemu-devel@nongnu.org; Mon, 17 Aug 2015 11:40:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRMWr-0004CY-NO for qemu-devel@nongnu.org; Mon, 17 Aug 2015 11:40:57 -0400 Received: from mail-qg0-x235.google.com ([2607:f8b0:400d:c04::235]:36283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRMWr-0004C3-2O for qemu-devel@nongnu.org; Mon, 17 Aug 2015 11:40:53 -0400 Received: by qgdd90 with SMTP id d90so96320003qgd.3 for ; Mon, 17 Aug 2015 08:40:52 -0700 (PDT) Sender: Richard Henderson References: <55B734A7.8040108@gmx.net> <55B8B122.7020406@gmx.net> <55B8DB46.6070307@gmx.net> <55B99E47.8070007@gmx.net> <20150730075538.GU11361@aurel32.net> From: Richard Henderson Message-ID: <55D2007F.3020607@twiddle.net> Date: Mon, 17 Aug 2015 08:40:47 -0700 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Debian 7.8.0 SPARC64 on qemu - anything i can do to speedup the emulation? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Artyom Tarasenko , Aurelien Jarno Cc: alex.bennee@linaro.org, qemu-devel , Dennis Luehring , Karel Gardas On 08/17/2015 07:19 AM, Artyom Tarasenko wrote: > Well, on the other hand, every access goes via helper_check_align. > There is a comment /* XXX remove alignment check */. > I wonder how this can be done in a more efficient way? Not ever access does so. There are only 3 memory related calls to check_align. The other three are for indirect branches. For the 8 byte memory operations we can just remove the checks. There, the softmmu operation checks the alignment. For usermode, we've typically ignored the guest alignment (which also causes failures for a host that requires alignment emulating a guest that does not). r~