Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!sdd.hp.com!mips!rogerk From: rogerk@mips.com (Roger B.A. Klorese) Newsgroups: comp.sys.mips Subject: Re: forcing double word alignment Message-ID: <2234@spim.mips.COM> Date: 12 Apr 91 19:03:30 GMT References: <1991Apr12.183201.4296@aero.org> Sender: news@mips.COM Organization: MIPS Computer Systems, Sunnyvale, California Lines: 21 Nntp-Posting-Host: servitude.mips.com In article <1991Apr12.183201.4296@aero.org> jordan@aero.org (Larry M. Jordan) writes: >Is there a compiler directive (c and f77) which guarantees >that all double's will be double word aligned? > >I've noticed in some of the symbolic assembly for FORTRAN >things like: > > ... > .align 2 > .align 0 >$$13: .double 1.0e0 : 1 > ... > >The double is word aligned?! Yes. The MIPS-I architecture requires word alignment for doubles. -- ROGER B.A. KLORESE MIPS Computer Systems, Inc. MS 6-05 930 DeGuigne Dr. Sunnyvale, CA 94088 +1 408 524-7421 "10 years of Reagan/Bush have brought us to a new place: postconstitutional America." - Jon Carroll rogerk@mips.COM | {ames,decwrl,pyramid}!mips!rogerk