🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #20571

Re: Unaligned Accesses (was Re: How to use silicon)

#20571
From: Bruce Robertson;685-2912;;;tigge...
Date: Tue, 28 Mar 1989 21:47
18 lines
1330 bytes
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
Technical Details
Message-ID: <BRUCE.89Mar28134751@tigger.wv.tek.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!tektronix!orca!tekecs!bruce
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>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <BRUCE.89Mar28134751@tigger.wv.tek.com>
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