Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HiG4Z-0004g0-UZ for qemu-devel@nongnu.org; Sun, 29 Apr 2007 16:32:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HiG4X-0004fk-Js for qemu-devel@nongnu.org; Sun, 29 Apr 2007 16:32:42 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HiG4X-0004fc-AE for qemu-devel@nongnu.org; Sun, 29 Apr 2007 16:32:41 -0400 Received: from mail7.worldserver.net ([217.13.200.27]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1HiFyP-0006RY-S5 for qemu-devel@nongnu.org; Sun, 29 Apr 2007 16:26:22 -0400 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <2544C44B-B563-4396-AF1E-12567DD0C633@users.sourceforge.net> References: <2544C44B-B563-4396-AF1E-12567DD0C633@users.sourceforge.net> Content-Type: multipart/mixed; boundary=Apple-Mail-4--144814543 Message-Id: <20EC160A-CE57-4896-BD87-B552F5C26798@users.sourceforge.net> From: Joachim Henke Subject: Re: [Qemu-devel] [PATCH] 3DNow! instruction set emulation Date: Sun, 29 Apr 2007 22:26:04 +0200 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --Apple-Mail-4--144814543 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Im sorry, but I just found that a checking should be done in a more proper way. Please additionally apply the attached patch after my 3DNow! patch. Sorry again, Jo. On 29 Apr 2007, at 21:32, Joachim Henke wrote: > The attached patch adds the 3DNow! and extented 3DNow! instruction > sets to qemu. -- Joachim Henke http://base91.sourceforge.net/j-o/ --Apple-Mail-4--144814543 Content-Transfer-Encoding: 7bit Content-Type: application/octet-stream; x-unix-mode=0600; name=3dn-corr.diff Content-Disposition: attachment; filename=3dn-corr.diff --- target-i386/translate.c +++ target-i386/translate.c @@ -2596,5 +2596,5 @@ if (!sse_op2) goto illegal_op; - if ((b <= 0x5f && b != 0x0f) || b == 0xc6 || b == 0xc2) { + if ((b <= 0x5f && b >= 0x10) || b == 0xc6 || b == 0xc2) { is_xmm = 1; } else { --Apple-Mail-4--144814543--