*BSD News Article 54839


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!chi-news.cic.net!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!julia.physik.fu-berlin.DE!not-for-mail
From: graichen@julia.physik.fu-berlin.de (Thomas Graichen)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: gcc: strong request for 8 byte alignment for double.
Date: 11 Nov 1995 09:37:53 GMT
Organization: Freie Universitaet Berlin
Lines: 31
Message-ID: <481qth$1a9@fu-berlin.de>
References: <47vo08$t62@nyx.eos.hokudai.ac.jp>
NNTP-Posting-Host: julia.physik.fu-berlin.de (130.133.3.235)
X-Access: 16 17 18
X-Newsreader: TIN [version 1.2 PL2]

Hiroshi Murakami (hiroshi@teine.chem2.hokudai.ac.jp) wrote:

: We found, that gcc-2.6.3 comes with FreeBSD2.1 pre-release
: does not honor the 8 byte alignment for double variables.
: On Pentium, which has 64bits bus, if the double alignment
: were not made, every load/store, fp arithmetics slows down
: in factor of about two. The users programs without any sign
: could be slow by this reason unless the address of variables
: or arrays are examined.

: Please let the compiler/linker/loader to honor this alignment,
: otherwise the performance is just wasted.

it's part of 2.7.0 - if you really need it:

* get gcc-2.7.0
* unpack it
* configure
* make

then you have it :-)

t
 _______________________________________________________||_____________________
                                                  __||
 Perfection is reached, not when there is no  __||       thomas graichen
 longer anything to add, but when there   __||      freie universitaet berlin
 is no longer anything to take away   __||              fachbereich physik
                                  __||
 - Antoine de Saint-Exupery - __||
 ___________________________||____email: graichen@omega.physik.fu-berlin.de____