From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GEEh8-0005Qu-HK for qemu-devel@nongnu.org; Fri, 18 Aug 2006 20:28:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GEEh6-0005Oq-S7 for qemu-devel@nongnu.org; Fri, 18 Aug 2006 20:28:10 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GEEh6-0005Oj-OJ for qemu-devel@nongnu.org; Fri, 18 Aug 2006 20:28:08 -0400 Received: from [65.74.133.4] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GEEnv-0001uj-Fp for qemu-devel@nongnu.org; Fri, 18 Aug 2006 20:35:11 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH] handle multibyte NOPs Date: Sat, 19 Aug 2006 01:28:10 +0100 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608190128.12476.paul@codesourcery.com> 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 On Saturday 19 August 2006 00:40, Igor Kovalenko wrote: > Hi! > > This patch adds handling of multi-byte NOPs, recent gcc/gas uses them for > x86 code padding. > Patch checked with current opensuse-factory x86 guest installation which is > built with new gcc/gas tools. According to my amd64 documentation all of the opcodes 0f 19 through 0f 1f should be implemented as a NOP. Also, I suspect the "invalid" prefetch ops (0f 18) should also be implemented as nops. The same implementation should be useable to all these opcodes. Paul