From owner-freebsd-questions@FreeBSD.ORG Fri Aug 18 21:46:26 2006 Return-Path: X-Original-To: freebsd-questions@FreeBSD.ORG Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08E8D16A4DD for ; Fri, 18 Aug 2006 21:46:26 +0000 (UTC) (envelope-from sigma_zk@yahoo.com) Received: from web52310.mail.yahoo.com (web52310.mail.yahoo.com [206.190.48.153]) by mx1.FreeBSD.org (Postfix) with SMTP id 71C5843D45 for ; Fri, 18 Aug 2006 21:46:25 +0000 (GMT) (envelope-from sigma_zk@yahoo.com) Received: (qmail 13328 invoked by uid 60001); 18 Aug 2006 21:46:24 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=jyvv3hpsVUFdxzOjDDGPPlk0wGjh2BTfEqQUz4RA46K9biOeHBPKzQPKDCup1pKrlEHiur01eNcrtDK99S3rvlzb8EGlUoPqowAxNwTa6NOuLMxX+Nt0msOPRPOqJbeNEQXpo5cgziCQK4PqdcHQ6ccbLInITngONUoCgMqNV8c= ; Message-ID: <20060818214624.13326.qmail@web52310.mail.yahoo.com> Received: from [24.87.114.179] by web52310.mail.yahoo.com via HTTP; Fri, 18 Aug 2006 14:46:24 PDT Date: Fri, 18 Aug 2006 14:46:24 -0700 (PDT) From: "Sean M." To: freebsd-questions@FreeBSD.ORG In-Reply-To: <200608181800.k7II0tIg072158@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: GCC - Optimal Optimization X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Aug 2006 21:46:26 -0000 --- Oliver Fromme wrote: > The default is "-O2 -fno-strict-aliasing -pipe". info gcc --index "optimize options" says the default is '-O0'. > You said you don't want an increase in size. But that's > exactly what -O3 (via inlining) and -funroll-loops do. > If you want not to increase size, use the default flags. > You could even use -Os, which instructs the compiler to > optimize for small size (it's somewhere between -O and > -O2). "-O3" was a typo, I meant "-O2". And I'm not against an absolute increase in size, just a significant one (>10% is about where I'd start to care) --- Nikolas Britton wrote: > IIRC the Duron should be set to athlon or athlon-tbird. The athlon-4, > athlon-xp, athlon-mp knobs should only be used on Athlons with a > Palomino core or better, your Duron is to slow to be based off > Palomino. Also -mfp-math=sse does nothing for you because your chip > doesn't have full SSE support. No, athlon-xp is valid: "The second-generation Duron, the "Morgan" core, was sold in speed grades between 900 and 1300 MHz, and was based on the 180 nm "Palomino" Athlon XP core." [wikipedia.org] And -mfp-math=sse actually does nothing because there's not supposed to be a hyphen between "fp" and "math". __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com