From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 45F7067B52 for ; Wed, 20 Sep 2006 10:09:17 +1000 (EST) Subject: Re: [POWERPC] convert string i/o operations to C From: Benjamin Herrenschmidt To: Segher Boessenkool In-Reply-To: References: <20060919222351.d27a1a06.sfr@canb.auug.org.au> <20060919182953.GK29167@austin.ibm.com> <1158707532.6002.171.camel@localhost.localdomain> Content-Type: text/plain Date: Wed, 20 Sep 2006 10:08:58 +1000 Message-Id: <1158710938.6002.223.camel@localhost.localdomain> Mime-Version: 1.0 Cc: Stephen Rothwell , paulus@samba.org, ppc-dev List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > Why? If "ns" <= 0 there is no I/O done... For the sake of being paranoid :) What happens on x86 if you do a rep ; insw with a 0 count ? Ben.