From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 6AEB63F6AA for ; Wed, 16 Oct 2002 15:44:54 -0400 (EDT) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id g9GJisR09657 for axp-list@listman.redhat.com; Wed, 16 Oct 2002 15:44:54 -0400 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g9GJisf09653 for ; Wed, 16 Oct 2002 15:44:54 -0400 Received: from mailout08.sul.t-online.com (mailout08.sul.t-online.com [194.25.134.20]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g9GJODw21758 for ; Wed, 16 Oct 2002 15:24:13 -0400 Received: from fwd05.sul.t-online.de by mailout08.sul.t-online.com with smtp id 181u64-0002en-0B; Wed, 16 Oct 2002 21:44:48 +0200 Received: from juist (520046482682-0001@[217.230.21.249]) by fmrl05.sul.t-online.com with esmtp id 181u60-0tnHFoC; Wed, 16 Oct 2002 21:44:44 +0200 Received: from falk by juist with local (Exim 3.36 #1 (Debian)) id 181u6f-00012k-00 for ; Wed, 16 Oct 2002 21:45:25 +0200 X-Face: "iUeUu$b*W_"w?tV83Y3*r:`rh&dRv}$YnZ3,LVeCZSYVuf[Gpo*5%_=/\_!gc_,SS}[~xZ wY77I-M)xHIx:2f56g%/`SOw"Dx%4Xq0&f\Tj~>|QR|vGlU}TBYhiG(K:2 <3DAC6EF2.BC962839@voicenet.com> <3DADACDB.8000401@iplink.net> <02101615182900.18457@shadowfax.middleearth> From: Falk Hueffner Date: 16 Oct 2002 21:45:25 +0200 In-Reply-To: <02101615182900.18457@shadowfax.middleearth> Message-ID: <87d6qanp62.fsf@student.uni-tuebingen.de> User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (broccoli) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Sender: 520046482682-0001@t-dialin.net X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: George France writes: > Your converted code makes sense. A prettier method is used by the > kernel in asm/unaligned.h via: > > get_unaligned(ptr); > put_unaligned(val, ptr); Note that the code gcc generates for these is pretty inefficient, though, so the memcpy method is probably faster. (Incidentally, I have a patch lying around that makes better code on Alphas with the BWX extension, but I never got around to finishing it... does anybody think it is worthwhile?) -- Falk