Re: [Qemu-devel] [PATCH v3 5/6] Do constant folding for shift operations.

2011-07-30 Thread Blue Swirl
On Sat, Jul 30, 2011 at 3:25 PM, Blue Swirl wrote: > On Thu, Jul 7, 2011 at 3:37 PM, Kirill Batuzov wrote: >> Perform constant forlding for SHR, SHL, SAR, ROTR, ROTL operations. > > This patch broke build on targets (Sparc, MIPS) which don't implement > rotation ops, the next patch likewise. I co

Re: [Qemu-devel] [PATCH v3 5/6] Do constant folding for shift operations.

2011-07-30 Thread Blue Swirl
On Thu, Jul 7, 2011 at 3:37 PM, Kirill Batuzov wrote: > Perform constant forlding for SHR, SHL, SAR, ROTR, ROTL operations. This patch broke build on targets (Sparc, MIPS) which don't implement rotation ops, the next patch likewise. I committed a fix. > Signed-off-by: Kirill Batuzov > --- >  tc

[Qemu-devel] [PATCH v3 5/6] Do constant folding for shift operations.

2011-07-07 Thread Kirill Batuzov
Perform constant forlding for SHR, SHL, SAR, ROTR, ROTL operations. Signed-off-by: Kirill Batuzov --- tcg/optimize.c | 72 1 files changed, 72 insertions(+), 0 deletions(-) diff --git a/tcg/optimize.c b/tcg/optimize.c index c469952..a1b