Re: [Qemu-devel] [PATCH v3 0/6] Implement constant folding and copy propagation in TCG

2011-07-30 Thread Blue Swirl
Thanks, applied all. On Thu, Jul 7, 2011 at 3:37 PM, Kirill Batuzov wrote: > This series implements some basic machine-independent optimizations.  They > simplify code and allow liveness analysis do it's work better. > > Suppose we have following ARM code: > >  movw    r12, #0xb6db >  movt    r12

Re: [Qemu-devel] [PATCH v3 0/6] Implement constant folding and copy propagation in TCG

2011-07-07 Thread Kirill Batuzov
On Thu, 7 Jul 2011, Peter Maydell wrote: > On 7 July 2011 13:37, Kirill Batuzov wrote: > > ARM guests for 254.gap and 255.vortex and x86_64 guest for 252.eon does not > > work under QEMU for some unrelated reason. > > If you can provide a binary and a command line for these I can have > a look

Re: [Qemu-devel] [PATCH v3 0/6] Implement constant folding and copy propagation in TCG

2011-07-07 Thread Peter Maydell
On 7 July 2011 13:37, Kirill Batuzov wrote: > ARM guests for 254.gap and 255.vortex and x86_64 guest for 252.eon does not > work under QEMU for some unrelated reason. If you can provide a binary and a command line for these I can have a look at what's going on with the failing ARM guest binaries.

[Qemu-devel] [PATCH v3 0/6] Implement constant folding and copy propagation in TCG

2011-07-07 Thread Kirill Batuzov
This series implements some basic machine-independent optimizations. They simplify code and allow liveness analysis do it's work better. Suppose we have following ARM code: movwr12, #0xb6db movtr12, #0xdb6d In TCG before optimizations we'll have: movi_i32 tmp8,$0xb6db mov_i32 r12,t