Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!tektronix!orca!tekecs!bruce From: bruce@tigger.wv.tek.com (Bruce Robertson;685-2912;;;tigger) Newsgroups: comp.arch Subject: Re: Unaligned Accesses (was Re: How to use silicon) Message-ID: Date: 28 Mar 89 21:47:51 GMT References: <37196@bbn.COM> <1989Mar16.190043.23227@utzoo.uucp> <24889@amdcad.AMD.COM> <355@bnr-fos.UUCP> <13@microsoft.UUCP> <362@bnr-fos.UUCP> <59@microsoft.UUCP> <343@unicads.UUCP> <25000@amdcad.AMD.COM> Sender: nobody@tekecs.GWD.TEK.COM Organization: Tektronix ITD, Wilsonville, OR Lines: 18 In-reply-to: tim@crackle.amd.com's message of 27 Mar 89 23:04:48 GMT Historically, reordering of structure members was disallowed because C is so often used to talk to hardware. However, nothing says you can't write a utility to reorder your structure members at the C source level, optimizing for a particular architecture. Obviously, you would have to avoid using this utility if the order of structure elements matters (you wouldn't want to do it to the Unix kernel!) -- Bruce Robertson Domain: bruce@tigger.wv.tek.com UUCP: tektronix!tekecs!tigger!bruce -- Bruce Robertson Domain: bruce@tigger.wv.tek.com UUCP: tektronix!tekecs!tigger!bruce