Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LnBPb-0005q0-T3 for qemu-devel@nongnu.org; Fri, 27 Mar 2009 08:43:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LnBPb-0005pB-7H for qemu-devel@nongnu.org; Fri, 27 Mar 2009 08:43:51 -0400 Received: from [199.232.76.173] (port=46052 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LnBPb-0005oq-0q for qemu-devel@nongnu.org; Fri, 27 Mar 2009 08:43:51 -0400 Received: from fg-out-1718.google.com ([72.14.220.155]:56986) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LnBPa-0001hL-N1 for qemu-devel@nongnu.org; Fri, 27 Mar 2009 08:43:50 -0400 Received: by fg-out-1718.google.com with SMTP id e21so423683fga.8 for ; Fri, 27 Mar 2009 05:43:49 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <7FC2F57F-2838-400C-8198-D9F65CA20676@nokia.com> References: <7FC2F57F-2838-400C-8198-D9F65CA20676@nokia.com> Date: Fri, 27 Mar 2009 13:43:49 +0100 Message-ID: <761ea48b0903270543w398ed9d6p60f8e9c351ed775e@mail.gmail.com> Subject: Re: [Qemu-devel] [PATCH] fix ARMv7 data processing instructions From: Laurent Desnogues Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Fri, Mar 27, 2009 at 12:47 PM, Juha Riihim=E4ki wrote: > Any further comments? Or perhaps import the patch? I made a small > performance optimization in the new store_reg_bx macro by performing the > simpler comparison first and the the little bit more expensive comparison > only if the first comparison is true. At least I have encountered no > problems in OMAP2 and OMAP3 emulation so far; instead the guest code whic= h > doesn't run without the patch in OMAP3 now works. I didn't take a close look at your patch, so I only have a cosmetic comment= :) Wouldn't it be better to use a static inline function instead of a macro fo= r store_reg_bx? At least I find it better looking and should not degrade performance. Laurent