From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 28676 invoked from network); 28 Aug 1999 18:57:41 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 28 Aug 1999 18:57:41 -0000 Received: from piglet.twiddle.net (root@piglet.twiddle.net [207.104.6.26]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id OAA20537 for ; Sat, 28 Aug 1999 14:57:40 -0400 Received: (from rth@localhost) by piglet.twiddle.net (8.8.7/8.8.7) id LAA01881; Sat, 28 Aug 1999 11:57:33 -0700 Date: Sat, 28 Aug 1999 11:57:33 -0700 From: Richard Henderson To: Gerard Roudier Cc: Linux , Linus Torvalds , axp-list@redhat.com Subject: Re: udelay() possibly broken on Alpha. Message-ID: <19990828115733.B1659@twiddle.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: ; from Gerard Roudier on Sat, Aug 28, 1999 at 08:47:45PM +0200 On Sat, Aug 28, 1999 at 08:47:45PM +0200, Gerard Roudier wrote: > It seems that, on some Alpha machines, udelay() may sometimes execute up > to twice slower than expected. Given that the Alpha *delay() stuff is > based on inline functions and define's, it could well be that the > execution time of small loops depends on the actual address (boundary?) of > the loop code as for Pentia. If it is EV6 machines that are seeing this, change - __asm__ __volatile__(".align 3\n" + __asm__ __volatile__(".align 4\n" and see if the problem clears up. r~