From owner-freebsd-questions@FreeBSD.ORG Wed Feb 21 12:11:09 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0719416BC7B for ; Wed, 21 Feb 2007 12:11:09 +0000 (UTC) (envelope-from news@nermal.rz1.convenimus.net) Received: from mx1.netclusive.de (mx1.netclusive.de [89.110.132.131]) by mx1.freebsd.org (Postfix) with ESMTP id BD10013C442 for ; Wed, 21 Feb 2007 12:11:08 +0000 (UTC) (envelope-from news@nermal.rz1.convenimus.net) Received: from nermal.rz1.convenimus.net (Fdd6e.f.ppp-pool.de [195.4.221.110]) by mx1.netclusive.de (Postfix) with ESMTP id E2E75DE8020 for ; Wed, 21 Feb 2007 13:11:06 +0100 (CET) Received: by nermal.rz1.convenimus.net (Postfix, from userid 8) id F25771521B; Wed, 21 Feb 2007 13:11:04 +0100 (CET) To: freebsd-questions@freebsd.org Path: not-for-mail From: Christian Baer Newsgroups: gmane.os.freebsd.questions Date: Wed, 21 Feb 2007 13:11:04 +0100 (CET) Organization: Convenimus Projekt Lines: 23 Message-ID: References: <20070219174550.GA27605@xor.obsecurity.org> NNTP-Posting-Host: garfield.rz1.convenimus.net X-Trace: nermal.rz1.convenimus.net 1172059864 39351 192.168.100.11 (21 Feb 2007 12:11:04 GMT) X-Complaints-To: abuse@convenimus.net NNTP-Posting-Date: Wed, 21 Feb 2007 12:11:04 +0000 (UTC) User-Agent: slrn/0.9.8.1 (FreeBSD) Subject: Re: Compiler Flags for SPARC64 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: Wed, 21 Feb 2007 12:11:09 -0000 On Mon, 19 Feb 2007 12:45:51 -0500 Kris Kennaway wrote: >> Has anyone got any ideas on how to go on with this? > > You'll have to look at the compiler spec and how it is bootstrapped. That could become quite a project. > FWIW, I don't think there are any secret flags you can set to improve > the compiler targetting, as the defaults are already appropriate. These are not 'secret' flags: http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/SPARC-Options.html#SPARC-Options Also look a this: http://www.osnews.com/story.php/6136/SPARC-Optimizations-With-GCC/page1 gcc by default creates v7 code which is a fair bit slower on a v9 CPU than v9 code. And I can't find anything that suggests that FreeBSD has any default flags that take this into account. Regards Chris