Re: [Qemu-devel] [PATCH v2 00/10] Double-word tcg/optimize improvements

2012-10-17 Thread Aurelien Jarno
On Tue, Oct 02, 2012 at 11:32:20AM -0700, Richard Henderson wrote: > Changes v1->v2: > > * Patch 1 changes the exact swap condition. This helps add2 for e.g. > > add2 tmp4,tmp5,tmp4,tmp5,c1,c2 > > where tmp5, c1, and c2 are all input constants. Since tmp4 is variable, > we cannot const

[Qemu-devel] [PATCH v2 00/10] Double-word tcg/optimize improvements

2012-10-02 Thread Richard Henderson
Changes v1->v2: * Patch 1 changes the exact swap condition. This helps add2 for e.g. add2 tmp4,tmp5,tmp4,tmp5,c1,c2 where tmp5, c1, and c2 are all input constants. Since tmp4 is variable, we cannot constant fold this. But the existing swap condition would give add2 tmp4.tmp5,tmp4