Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Feb 2004 19:54:12 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Wes Peters <wes@softweyr.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: FreeBSD 5.2 v/s FreeBSD 4.9 MFLOPS performance (gcc3.3.3 v/s gcc2.9.5)
Message-ID:  <20040216035412.GA70593@xor.obsecurity.org>
In-Reply-To: <200402160352.16477.wes@softweyr.com>
References:  <BAY12-F37zmBUw7MurD00010899@hotmail.com> <20040214082420.GB77411@nevermind.kiev.ua> <xzpvfm8yssm.fsf@dwp.des.no> <200402160352.16477.wes@softweyr.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--OXfL5xGRrasGEqWY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Feb 16, 2004 at 03:52:16AM -0800, Wes Peters wrote:
> On Sunday 15 February 2004 12:46, Dag-Erling Sm?rgrav wrote:
> > Alexandr Kovalenko <never@nevermind.kiev.ua> writes:
> > > Could you please explain me this? Result is fully reproduceable. Plea=
se
> > > note, that the only difference is the output file name. Even resulting
> > > files match bit-to-bit. [...]
> >
> > Definitely some kind of alignment problem, but it only shows up at
> > some optimization levels and not others.
>=20
> I've tested the patch Dan mentioned before and the results were astonishi=
ng. =20
> Running the flops.c 1.2 program in a loop, lengthening the environment st=
ring=20
> by one byte each time, I get 8 successive runs of fast, then 8 successive=
=20
> runs of slow, where fast and slow vary between 650 and 990 mflops.  With =
the=20
> patch, the performance is always 990, within a few percent.
>=20
> Should I commit this?

What effect does it have on non-i386 architectures?

Kris

--OXfL5xGRrasGEqWY
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAMD7kWry0BWjoQKURAqk0AKCQKvboUsykiATe1L3fdZixEHkE5gCdGXSl
R974BIIGfx8in4rCOfbkUqA=
=a2WA
-----END PGP SIGNATURE-----

--OXfL5xGRrasGEqWY--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040216035412.GA70593>