Re: [Qemu-devel] [PATCH 15/15] tcg: use ext op for deposit

2011-04-14 Thread Alexander Graf
On 04/10/2011 10:28 PM, Aurelien Jarno wrote: On Sun, Apr 10, 2011 at 10:17:26PM +0200, Alexander Graf wrote: On 10.04.2011, at 22:08, Aurelien Jarno wrote: On Sun, Apr 10, 2011 at 09:25:33PM +0200, Alexander Graf wrote: On 10.04.2011, at 21:23, Aurelien Jarno wrote: On Tue, Apr 05, 2011 at

Re: [Qemu-devel] [PATCH 15/15] tcg: use ext op for deposit

2011-04-10 Thread Aurelien Jarno
On Sun, Apr 10, 2011 at 10:17:26PM +0200, Alexander Graf wrote: > > On 10.04.2011, at 22:08, Aurelien Jarno wrote: > > > On Sun, Apr 10, 2011 at 09:25:33PM +0200, Alexander Graf wrote: > >> > >> On 10.04.2011, at 21:23, Aurelien Jarno wrote: > >> > >>> On Tue, Apr 05, 2011 at 09:55:09AM +0200,

Re: [Qemu-devel] [PATCH 15/15] tcg: use ext op for deposit

2011-04-10 Thread Alexander Graf
On 10.04.2011, at 22:08, Aurelien Jarno wrote: > On Sun, Apr 10, 2011 at 09:25:33PM +0200, Alexander Graf wrote: >> >> On 10.04.2011, at 21:23, Aurelien Jarno wrote: >> >>> On Tue, Apr 05, 2011 at 09:55:09AM +0200, Alexander Graf wrote: On 05.04.2011, at 06:54, Aurelien Jarno wrote:

Re: [Qemu-devel] [PATCH 15/15] tcg: use ext op for deposit

2011-04-10 Thread Aurelien Jarno
On Sun, Apr 10, 2011 at 09:25:33PM +0200, Alexander Graf wrote: > > On 10.04.2011, at 21:23, Aurelien Jarno wrote: > > > On Tue, Apr 05, 2011 at 09:55:09AM +0200, Alexander Graf wrote: > >> > >> On 05.04.2011, at 06:54, Aurelien Jarno wrote: > >> > >>> On Mon, Apr 04, 2011 at 04:32:24PM +0200,

Re: [Qemu-devel] [PATCH 15/15] tcg: use ext op for deposit

2011-04-10 Thread Alexander Graf
On 10.04.2011, at 21:23, Aurelien Jarno wrote: > On Tue, Apr 05, 2011 at 09:55:09AM +0200, Alexander Graf wrote: >> >> On 05.04.2011, at 06:54, Aurelien Jarno wrote: >> >>> On Mon, Apr 04, 2011 at 04:32:24PM +0200, Alexander Graf wrote: With the s390x target we use the deposit instruction

Re: [Qemu-devel] [PATCH 15/15] tcg: use ext op for deposit

2011-04-10 Thread Aurelien Jarno
On Tue, Apr 05, 2011 at 09:55:09AM +0200, Alexander Graf wrote: > > On 05.04.2011, at 06:54, Aurelien Jarno wrote: > > > On Mon, Apr 04, 2011 at 04:32:24PM +0200, Alexander Graf wrote: > >> With the s390x target we use the deposit instruction to store 32bit values > >> into 64bit registers withou

Re: [Qemu-devel] [PATCH 15/15] tcg: use ext op for deposit

2011-04-05 Thread Alexander Graf
On 05.04.2011, at 06:54, Aurelien Jarno wrote: > On Mon, Apr 04, 2011 at 04:32:24PM +0200, Alexander Graf wrote: >> With the s390x target we use the deposit instruction to store 32bit values >> into 64bit registers without clobbering the upper 32 bits. >> >> This specific operation can be optimi

Re: [Qemu-devel] [PATCH 15/15] tcg: use ext op for deposit

2011-04-04 Thread Aurelien Jarno
On Mon, Apr 04, 2011 at 04:32:24PM +0200, Alexander Graf wrote: > With the s390x target we use the deposit instruction to store 32bit values > into 64bit registers without clobbering the upper 32 bits. > > This specific operation can be optimized slightly by using the ext operation > instead of an

[Qemu-devel] [PATCH 15/15] tcg: use ext op for deposit

2011-04-04 Thread Alexander Graf
With the s390x target we use the deposit instruction to store 32bit values into 64bit registers without clobbering the upper 32 bits. This specific operation can be optimized slightly by using the ext operation instead of an explicit and in the deposit instruction. This patch adds that special cas