From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 2426 invoked from network); 8 Dec 1998 01:09:49 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 8 Dec 1998 01:09:49 -0000 Received: from voicenet.com (mail11.voicenet.com [207.103.0.37]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id UAA16513 for ; Mon, 7 Dec 1998 20:04:18 -0500 Received: (qmail 29892 invoked from network); 8 Dec 1998 01:04:16 -0000 Received: from rotary940-pri.voicenet.com (HELO voicenet.com) (209.71.52.40) by mail11.voicenet.com with SMTP; 8 Dec 1998 01:04:16 -0000 Message-ID: <366C7BDA.3C48407C@voicenet.com> Date: Mon, 07 Dec 1998 20:07:39 -0500 From: Uncle George Organization: None Avail X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: How do I find/fix unaligned accesses? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit actually its the instruction - is it a quad instruction, then data must be aligned on 8 byte boundaries. floating point doubles require alignment at 8 byte boundaries. BTW, in general unaligned traps are fixed-up in the kern, although at a price. although i'm not too sure about floating point fixups. Eric Ding wrote: > Hi guys, > > thanks for the tips... ok, so now I'm looking at > > unaligned trap at 0000015556b9d360: 0000000120d9740c 27 1 > > and the variable being accessed is a double, which means it must be aligned > on 4 byte boundaries, right? But it's correct, then, isn't it? That is, > 0x0000000120d9740c is divisible by 4, so why is there still an error? > > Thanks, > Eric > -- > Senior Software Engineer / ericding@applix.com <>< > Applix, Inc. / 112 Turnpike Road / Westboro MA 01581-2842 > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com