From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TL01s-0002Vt-9J for qemu-devel@nongnu.org; Sun, 07 Oct 2012 19:13:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TL01q-0000JV-81 for qemu-devel@nongnu.org; Sun, 07 Oct 2012 19:13:00 -0400 Received: from citadel.icyb.net.ua ([212.40.38.140]:3993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TL01p-0000JA-SU for qemu-devel@nongnu.org; Sun, 07 Oct 2012 19:12:58 -0400 Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id CAA18937 for ; Mon, 08 Oct 2012 02:12:55 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1TL01m-0008om-Ru for qemu-devel@nongnu.org; Mon, 08 Oct 2012 02:12:54 +0300 Message-ID: <50720C75.30109@FreeBSD.org> Date: Mon, 08 Oct 2012 02:12:53 +0300 From: Andriy Gapon MIME-Version: 1.0 Content-Type: text/plain; charset=X-VIET-VPS Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] bug in popcnt emulation with some register operand(s)? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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. -- Andriy Gapon