qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] fix ARMv7 data processing instructions


From: Juha Riihimäki
Subject: Re: [Qemu-devel] [PATCH] fix ARMv7 data processing instructions
Date: Fri, 27 Mar 2009 15:17:48 +0200


On Mar 27, 2009, at 14:43, ext Laurent Desnogues wrote:

On Fri, Mar 27, 2009 at 12:47 PM, Juha Riihimäki
<address@hidden> 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 which
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 for store_reg_bx? At least I find it better looking and should not degrade
performance.

The reason I used a macro was because the ENABLE_ARCH_7 macro would not work unless one extra parameter is added to the function to pass the "env" pointer. But that is also possible if you think it is better.


Juha



reply via email to

[Prev in Thread] Current Thread [Next in Thread]