Received: from eggs.gnu.org ([208.118.235.92]:37286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TM3Xt-0004Oe-14 for qemu-devel@nongnu.org; Wed, 10 Oct 2012 17:10:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TM3Xr-0004AV-Oz for qemu-devel@nongnu.org; Wed, 10 Oct 2012 17:10:24 -0400 Received: from fe02x03-cgp.akado.ru ([77.232.31.165]:50811 helo=akado.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TM3Xr-000441-Ho for qemu-devel@nongnu.org; Wed, 10 Oct 2012 17:10:23 -0400 Date: Thu, 11 Oct 2012 01:09:58 +0400 (MSK) From: malc In-Reply-To: <5075E2B6.9060603@FreeBSD.org> Message-ID: References: <50720C75.30109@FreeBSD.org> <5072968C.60000@FreeBSD.org> <5075E2B6.9060603@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [Qemu-devel] bug in popcnt emulation with some register operand(s)? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andriy Gapon Cc: qemu-devel@nongnu.org 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 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 worked fine though. > >>> > >>> > >> > >> Does following work? > > > > It does! Thank you very much. > > Do you plan to commit this fix? > Is there anything that I should do to make that happen (sooner)? > Submit a patch with a well thought out comment and it'll be commited. [..snip..] -- mailto:av1474@comtv.ru