Re: [Qemu-devel] [PATCH for-2.5 04/10] tcg/optimize: allow constant to have copies

2015-07-30 Thread Aurelien Jarno
On 2015-07-29 21:42, Alex Bennée wrote: > > Aurelien Jarno writes: > > > On 2015-07-29 17:12, Alex Bennée wrote: > >> > >> Aurelien Jarno writes: > >> > >> > Now that copies and constants are tracked separately, we can allow > >> > constant to have copies, deferring the choice to use a regist

Re: [Qemu-devel] [PATCH for-2.5 04/10] tcg/optimize: allow constant to have copies

2015-07-29 Thread Alex Bennée
Aurelien Jarno writes: > On 2015-07-29 17:12, Alex Bennée wrote: >> >> Aurelien Jarno writes: >> >> > Now that copies and constants are tracked separately, we can allow >> > constant to have copies, deferring the choice to use a register or a >> > constant to the register allocation pass. Thi

Re: [Qemu-devel] [PATCH for-2.5 04/10] tcg/optimize: allow constant to have copies

2015-07-29 Thread Aurelien Jarno
On 2015-07-29 17:12, Alex Bennée wrote: > > Aurelien Jarno writes: > > > Now that copies and constants are tracked separately, we can allow > > constant to have copies, deferring the choice to use a register or a > > constant to the register allocation pass. This prevent this kind of > > regular

Re: [Qemu-devel] [PATCH for-2.5 04/10] tcg/optimize: allow constant to have copies

2015-07-29 Thread Alex Bennée
Aurelien Jarno writes: > Now that copies and constants are tracked separately, we can allow > constant to have copies, deferring the choice to use a register or a > constant to the register allocation pass. This prevent this kind of > regular constant reloading: > > -OUT: [size=338] > +OUT: [siz

Re: [Qemu-devel] [PATCH for-2.5 04/10] tcg/optimize: allow constant to have copies

2015-07-24 Thread Aurelien Jarno
On 2015-07-24 13:15, Richard Henderson wrote: > On 07/24/2015 09:30 AM, Aurelien Jarno wrote: > > Now that copies and constants are tracked separately, we can allow > > constant to have copies, deferring the choice to use a register or a > > constant to the register allocation pass. This prevent th

Re: [Qemu-devel] [PATCH for-2.5 04/10] tcg/optimize: allow constant to have copies

2015-07-24 Thread Richard Henderson
On 07/24/2015 09:30 AM, Aurelien Jarno wrote: > Now that copies and constants are tracked separately, we can allow > constant to have copies, deferring the choice to use a register or a > constant to the register allocation pass. This prevent this kind of > regular constant reloading: This appears

[Qemu-devel] [PATCH for-2.5 04/10] tcg/optimize: allow constant to have copies

2015-07-24 Thread Aurelien Jarno
Now that copies and constants are tracked separately, we can allow constant to have copies, deferring the choice to use a register or a constant to the register allocation pass. This prevent this kind of regular constant reloading: -OUT: [size=338] +OUT: [size=298] mov-0x4(%r14),%ebp tes