Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 1996 19:08:50 -0500 (CDT)
From:      Tony Kimball <alk@Think.COM>
To:        langfod@dihelix.com
Cc:        hackers@FreeBSD.org
Subject:   Re: pgcc kernel compiles automated
Message-ID:  <199604120008.TAA03198@compound.think.com>
In-Reply-To: <199604112329.NAA19322@caliban.dihelix.com> (langfod@dihelix.com)

next in thread | previous in thread | raw e-mail | index | archive | help
   Date: Thu, 11 Apr 1996 13:29:13 -1000 (HST)
   From: "David Langford" <langfod@dihelix.com>

   Are you actually using "-mpentium"?  IF not I am not sure that using pgcc
   actually has an advantage :)

; gcc -mpentium -O6 -fomit-frame-pointer t.c -o pentium -lm
; gcc -O6 -fomit-frame-pointer t.c -o generic -lm
; kcc -O6 -fomit-frame-pointer t.c -o shipped -lm
; pentium 10000
1.655895 user
; generic 10000
1.648273 user
; shipped 10000
2.133230 user

As far as I can tell, -mpentium doesn't do anything statistically
significant, in pgcc 2.7.2.p9 anyhow.  I haven't controlled for the
gcc version, though, so for all the evidence to date it could just
as well be attributable to the antiquity of the shipped compiler.
(t.c is a mix of floating point and pointer-chasing.)

//alk




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