From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 7744 invoked from network); 5 Jul 1998 00:53:23 -0000 Received: from earth.terran.org (bryan@208.152.24.33) by mail2.redhat.com with SMTP; 5 Jul 1998 00:53:23 -0000 Received: from localhost (bryan@localhost) by earth.terran.org (8.8.7/8.8.8) with SMTP id RAA18377 for ; Sat, 4 Jul 1998 17:54:19 -0700 Date: Sat, 4 Jul 1998 17:54:19 -0700 (PDT) From: "B. James Phillippe" To: RedHat AXP list Subject: Unaligned accesses Message-ID: Organization: Terran.ORG/LinuxWorld.NET X-Subliminal-Message: Use Linux MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hello, I'm wondering if someone can better educate me on unaligned accesses under Alpha. I am aware of the basics (that Alpha, like all RISC CPU's, requires memory accesses to be on naturally aligned boundaries), but there are some other questions I have. First, can someone post a snippet of code demonstrating aligned and unaligned memory access? Second, how do I interpret the fields in /proc/cpuinfo pertaining to kernel unaligned access and user unaligned access? kernel unaligned acc : 0 (pc=0,va=0) user unaligned acc : 11385 (pc=1201d1648,va=15555eb2428) thanks, -bp -- B. James Phillippe Linux Software Engineer, WGT Inc. http://earth.terran.org/~bryan