home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!convex!news.utdallas.edu!corpgate!crchh327!davisonj
- From: davisonj@bnr.ca (John Davison)
- Newsgroups: comp.lang.c
- Subject: Re: Memory alignment of struct elements
- Message-ID: <1992Aug17.191543.11742@bnr.ca>
- Date: 17 Aug 92 19:15:43 GMT
- References: <BsxCtz.598@unx.sas.com> <adam.714060134@mcrware> <25533@dog.ee.lbl.gov>
- Sender: news@bnr.ca (News on crchh327)
- Organization: Bell-Northern Research, Richardson, Tx.
- Lines: 15
- Nntp-Posting-Host: crchh7ab
-
- In article <25533@dog.ee.lbl.gov> torek@horse.ee.lbl.gov (Chris Torek) writes:
- >Some machines---like the ones I use---are physically
- >incapable of accessing unaligned data. (It causes a machine fault.)
-
- They can; they just can't access it directly. Some copy-to-an-aligned-
- chunk piece of code would be needed. This extra code could (I think) be
- restricted to only the places where it is needed by the addition of an
- "byte_aligned" type qualifier.
-
-
- --
- NOTE: I CAN'T SEND/RECEIVE E-MAIL HERE!!! Use --> davisonj@ecn.purdue.edu <--
- During (roughly) August 20-25, I will be in transit. Please be patient.
- The opinions and other information contained herein are not necessarily
- representative of Northern Telecom or any of its subsidiaries.
-