Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 9 Oct 2001 04:51:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 9 Oct 2001 04:51:31 -0400 Received: from web11801.mail.yahoo.com ([216.136.172.155]:38161 "HELO web11801.mail.yahoo.com") by vger.kernel.org with SMTP id ; Tue, 9 Oct 2001 04:51:10 -0400 Message-ID: <20011009085140.85739.qmail@web11801.mail.yahoo.com> Date: Tue, 9 Oct 2001 10:51:40 +0200 (CEST) From: =?iso-8859-1?q?Etienne=20Lorrain?= Subject: Re: [PATCH] change name of rep_nop To: linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hello, > __asm__ __volatile__("rep;nop"); "The behavior of the REP prefix is undefined when used with non-string instructions." page 3-404 of Intel documentation, in "CHAPTER 3, INSTRUCTION SET REFERENCE"... How about: __asm__ __volatile__("loop ." : "+c" (nbloop)); ? Etienne. ___________________________________________________________ Un nouveau Nokia Game commence. Allez sur http://fr.yahoo.com/nokiagame avant le 3 novembre pour participer ? cette aventure tous m?dias. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/