qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [RFC] TCG new op: setcond


From: Laurent Desnogues
Subject: [Qemu-devel] Re: [RFC] TCG new op: setcond
Date: Sat, 8 Nov 2008 20:32:20 +0100

Same patch with a fix shown by DEBUG_TCGV. Thanks to Aurelien.


Laurent

Signed-off-by: Laurent Desnogues <address@hidden>

On Sat, Nov 8, 2008 at 8:13 PM, Laurent Desnogues
<address@hidden> wrote:
>
> this patch implements a new TCG op, setcond, that sets a temp
> to 1 if the condition is true, else to 0.  The benefit is the potential
> removal of brcond instructions, and helpers size reduction which
> can lead to using TCG instead of helpers.
>
> setcond(i)_i{32,64} have been implemented only for x86_64 and
> i386 TCG back-ends.
>
> One ARM helper was converted to TCG using setcond.  Alpha
> and MIPS are also patched to use setcond.
>
> On my TODO list:
>
>  - implement it in all backends (arm, ppc, ppc64, sparc)
>  - use it at least once in every frontend
>
> Comments starting with // in the patch are questions and/or
> TODO.
>
> Please feel free to comment.
>
>
> Laurent
>
> Signed-off-by: Laurent Desnogues <address@hidden>
>

Attachment: setcond-3-fixed.patch
Description: Text Data


reply via email to

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