Re: [Qemu-devel] bug in popcnt emulation with some register operand(s)?

2012-10-14 Thread Andriy Gapon
on 14/10/2012 13:56 malc said the following: > On Sun, 14 Oct 2012, Andriy Gapon wrote: > > [..snip..] > >> >> Hmm... Since you are the author of the patch, wouldn't be more >> appropriate for you to submit it? Besides, I can only mostly repeat the >> bug report as I do not quite understand th

Re: [Qemu-devel] bug in popcnt emulation with some register operand(s)?

2012-10-14 Thread malc
On Sun, 14 Oct 2012, Andriy Gapon wrote: [..snip..] > > Hmm... Since you are the author of the patch, wouldn't be more > appropriate for you to submit it? Besides, I can only mostly repeat the > bug report as I do not quite understand the code and can not properly > describe what the patch do

Re: [Qemu-devel] bug in popcnt emulation with some register operand(s)?

2012-10-14 Thread Andriy Gapon
on 11/10/2012 00:09 malc said the following: > On Thu, 11 Oct 2012, Andriy Gapon wrote: > >> on 08/10/2012 12:02 Andriy Gapon said the following: >>> on 08/10/2012 10:52 malc said the following: On Mon, 8 Oct 2012, Andriy Gapon wrote: > > I am running Qemu (plain, no kvm, etc) on

Re: [Qemu-devel] bug in popcnt emulation with some register operand(s)?

2012-10-10 Thread malc
On Thu, 11 Oct 2012, Andriy Gapon wrote: > on 08/10/2012 12:02 Andriy Gapon said the following: > > on 08/10/2012 10:52 malc said the following: > >> On Mon, 8 Oct 2012, Andriy Gapon wrote: > >> > >>> > >>> I am running Qemu (plain, no kvm, etc) on an AMD 10h machine that > >>> provides popcnt ins

Re: [Qemu-devel] bug in popcnt emulation with some register operand(s)?

2012-10-10 Thread Andriy Gapon
on 08/10/2012 12:02 Andriy Gapon said the following: > on 08/10/2012 10:52 malc said the following: >> On Mon, 8 Oct 2012, Andriy Gapon wrote: >> >>> >>> I am running Qemu (plain, no kvm, etc) on an AMD 10h machine that >>> provides popcnt instruction. Qemu advertises availability of pocnt >>> to

Re: [Qemu-devel] bug in popcnt emulation with some register operand(s)?

2012-10-08 Thread Andriy Gapon
on 08/10/2012 10:52 malc said the following: > On Mon, 8 Oct 2012, Andriy Gapon wrote: > >> >> I am running Qemu (plain, no kvm, etc) on an AMD 10h machine that >> provides popcnt instruction. Qemu advertises availability of pocnt >> to a guest as well. What I see in the guest that popcnt >> 0x2

Re: [Qemu-devel] bug in popcnt emulation with some register operand(s)?

2012-10-08 Thread malc
On Mon, 8 Oct 2012, Andriy Gapon wrote: > > I am running Qemu (plain, no kvm, etc) on an AMD 10h machine that > provides popcnt instruction. Qemu advertises availability of pocnt > to a guest as well. What I see in the guest that popcnt > 0x20(%r12),%r8 instruction actually placed its result in

[Qemu-devel] bug in popcnt emulation with some register operand(s)?

2012-10-07 Thread Andriy Gapon
I am running Qemu (plain, no kvm, etc) on an AMD 10h machine that provides popcnt instruction. Qemu advertises availability of pocnt to a guest as well. What I see in the guest that popcnt 0x20(%r12),%r8 instruction actually placed its result into %rax. With %rdi and %rax operands the instruction