Re: [PATCHv5 4/4] KVM: emulator: optimize "rep ins" handling.

2012-08-07 Thread Gleb Natapov
On Mon, Aug 06, 2012 at 03:08:28PM +0300, Avi Kivity wrote: > On 08/06/2012 02:49 PM, Gleb Natapov wrote: > > On Mon, Aug 06, 2012 at 02:39:52PM +0300, Avi Kivity wrote: > >> On 08/06/2012 02:05 PM, Gleb Natapov wrote: > >> > On Mon, Aug 06, 2012 at 12:28:05PM +0300, Avi Kivity wrote: > >> >> On 08

Re: [PATCHv5 4/4] KVM: emulator: optimize "rep ins" handling.

2012-08-06 Thread Avi Kivity
On 08/06/2012 02:49 PM, Gleb Natapov wrote: > On Mon, Aug 06, 2012 at 02:39:52PM +0300, Avi Kivity wrote: >> On 08/06/2012 02:05 PM, Gleb Natapov wrote: >> > On Mon, Aug 06, 2012 at 12:28:05PM +0300, Avi Kivity wrote: >> >> On 08/06/2012 11:58 AM, Gleb Natapov wrote: >> >> > On Mon, Aug 06, 2012 at

Re: [PATCHv5 4/4] KVM: emulator: optimize "rep ins" handling.

2012-08-06 Thread Gleb Natapov
On Mon, Aug 06, 2012 at 02:39:52PM +0300, Avi Kivity wrote: > On 08/06/2012 02:05 PM, Gleb Natapov wrote: > > On Mon, Aug 06, 2012 at 12:28:05PM +0300, Avi Kivity wrote: > >> On 08/06/2012 11:58 AM, Gleb Natapov wrote: > >> > On Mon, Aug 06, 2012 at 11:50:20AM +0300, Avi Kivity wrote: > >> >> On 07

Re: [PATCHv5 4/4] KVM: emulator: optimize "rep ins" handling.

2012-08-06 Thread Avi Kivity
On 08/06/2012 02:05 PM, Gleb Natapov wrote: > On Mon, Aug 06, 2012 at 12:28:05PM +0300, Avi Kivity wrote: >> On 08/06/2012 11:58 AM, Gleb Natapov wrote: >> > On Mon, Aug 06, 2012 at 11:50:20AM +0300, Avi Kivity wrote: >> >> On 07/30/2012 05:38 PM, Gleb Natapov wrote: >> >> > Optimize "rep ins" by a

Re: [PATCHv5 4/4] KVM: emulator: optimize "rep ins" handling.

2012-08-06 Thread Gleb Natapov
On Mon, Aug 06, 2012 at 12:28:05PM +0300, Avi Kivity wrote: > On 08/06/2012 11:58 AM, Gleb Natapov wrote: > > On Mon, Aug 06, 2012 at 11:50:20AM +0300, Avi Kivity wrote: > >> On 07/30/2012 05:38 PM, Gleb Natapov wrote: > >> > Optimize "rep ins" by allowing emulator to write back more than one > >>

Re: [PATCHv5 4/4] KVM: emulator: optimize "rep ins" handling.

2012-08-06 Thread Avi Kivity
On 08/06/2012 11:58 AM, Gleb Natapov wrote: > On Mon, Aug 06, 2012 at 11:50:20AM +0300, Avi Kivity wrote: >> On 07/30/2012 05:38 PM, Gleb Natapov wrote: >> > Optimize "rep ins" by allowing emulator to write back more than one >> > datum at a time. Introduce new operand type OP_MEM_STR which tells >

Re: [PATCHv5 4/4] KVM: emulator: optimize "rep ins" handling.

2012-08-06 Thread Gleb Natapov
On Mon, Aug 06, 2012 at 11:50:20AM +0300, Avi Kivity wrote: > On 07/30/2012 05:38 PM, Gleb Natapov wrote: > > Optimize "rep ins" by allowing emulator to write back more than one > > datum at a time. Introduce new operand type OP_MEM_STR which tells > > writeback() that dst contains pointer to an ar

Re: [PATCHv5 4/4] KVM: emulator: optimize "rep ins" handling.

2012-08-06 Thread Avi Kivity
On 07/30/2012 05:38 PM, Gleb Natapov wrote: > Optimize "rep ins" by allowing emulator to write back more than one > datum at a time. Introduce new operand type OP_MEM_STR which tells > writeback() that dst contains pointer to an array that should be written > back as opposite to just one data eleme

Re: [PATCHv5 4/4] KVM: emulator: optimize "rep ins" handling.

2012-08-05 Thread Avi Kivity
On 08/05/2012 06:18 PM, Gleb Natapov wrote: > On Sun, Aug 05, 2012 at 06:03:12PM +0300, Avi Kivity wrote: >> On 07/30/2012 05:38 PM, Gleb Natapov wrote: >> > Optimize "rep ins" by allowing emulator to write back more than one >> > datum at a time. Introduce new operand type OP_MEM_STR which tells >

Re: [PATCHv5 4/4] KVM: emulator: optimize "rep ins" handling.

2012-08-05 Thread Gleb Natapov
On Sun, Aug 05, 2012 at 06:03:12PM +0300, Avi Kivity wrote: > On 07/30/2012 05:38 PM, Gleb Natapov wrote: > > Optimize "rep ins" by allowing emulator to write back more than one > > datum at a time. Introduce new operand type OP_MEM_STR which tells > > writeback() that dst contains pointer to an ar

Re: [PATCHv5 4/4] KVM: emulator: optimize "rep ins" handling.

2012-08-05 Thread Avi Kivity
On 07/30/2012 05:38 PM, Gleb Natapov wrote: > Optimize "rep ins" by allowing emulator to write back more than one > datum at a time. Introduce new operand type OP_MEM_STR which tells > writeback() that dst contains pointer to an array that should be written > back as opposite to just one data eleme

[PATCHv5 4/4] KVM: emulator: optimize "rep ins" handling.

2012-07-30 Thread Gleb Natapov
Optimize "rep ins" by allowing emulator to write back more than one datum at a time. Introduce new operand type OP_MEM_STR which tells writeback() that dst contains pointer to an array that should be written back as opposite to just one data element. Signed-off-by: Gleb Natapov --- arch/x86/incl