qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 15/17] ppc: store CR registers in 32 1-bit regis


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 15/17] ppc: store CR registers in 32 1-bit registers
Date: Tue, 09 Sep 2014 18:26:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

Il 09/09/2014 18:03, Richard Henderson ha scritto:
> Note that since most hosts don't have nand, the combination
> 
>   nand x,y,z
>   and  x.x,1
> 
> would be better represented with
> 
>   and  x,y,z
>   xor  x,x,1

True (and even for crorc a,b,c you can change it to crandc a,c,b
followed by xor).  But this is quite a borderline case.  You'll find in
practice only "creqv a,a,a", which the optimizer can handle fine.

Paolo



reply via email to

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