Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!rpi!crdgw1!crdos1!davidsen From: davidsen@crdos1.crd.ge.COM (Wm E Davidsen Jr) Newsgroups: comp.arch Subject: Re: integer alignment problems on RT Summary: Available for Intel, too Keywords: RT 6150 032 ROMP alignment Message-ID: <788@crdos1.crd.ge.COM> Date: 4 Oct 89 13:02:00 GMT References: <162@eliza.edvvie.at> <754@crdos1.crd.ge.COM> <28697@winchester.mips.COM> Reply-To: davidsen@crdos1.UUCP (bill davidsen) Organization: GE Corp R&D Center Lines: 15 In article <28697@winchester.mips.COM>, mash@mips.COM (John Mashey) writes: | them unaligned. Some 68K C compilers packed structures so that | longs often showed up on non-long boundaries. A good point! The Microsoft C compilers allow selection of packing on 1, 2, or 4 byte level, with the default being whatever is best for the native hardware. Letting the CPU access packed structures is a lot faster than unpacking by code, although I have to keep the code for other machines. -- bill davidsen (davidsen@crdos1.crd.GE.COM -or- uunet!crdgw1!crdos1!davidsen) "The world is filled with fools. They blindly follow their so-called 'reason' in the face of the church and common sense. Any fool can see that the world is flat!" - anon