From owner-freebsd-current Thu Feb 7 15:23:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from scaup.prod.itd.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by hub.freebsd.org (Postfix) with ESMTP id C016237B41A; Thu, 7 Feb 2002 15:23:37 -0800 (PST) Received: from pool0339.cvx22-bradley.dialup.earthlink.net ([209.179.199.84] helo=mindspring.com) by scaup.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16Yxt9-0003Wd-00; Thu, 07 Feb 2002 15:23:36 -0800 Message-ID: <3C630C11.D878D61E@mindspring.com> Date: Thu, 07 Feb 2002 15:21:53 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: obrien@FreeBSD.ORG Cc: Wilko Bulte , current@FreeBSD.ORG Subject: Re: How about gcj? (Re: Not committing WARNS settings...) References: <20020206192238.B3347@dragon.nuxi.com> <200202070539.g175dbQ22609@aldan.algebra.com> <20020207101133.B53237@dragon.nuxi.com> <20020207192957.B19376@freebie.xs4all.nl> <20020207103541.D53237@dragon.nuxi.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David O'Brien wrote: > 3.1 will also be slower on the Alpha. It is really an issue of the code > generator. Generating x86 code on an Alpha is faster than generating > [native] Alpha code. The Alpha code generator is slow. It may be that > all 64 bit or RISC GCC code generation is slow -- we will see soon for > the sparc64. I don't think this is definative. I think the problem is that the GCC code for the code generation on these platforms is not beaten on very heavily by people who care about it. We see the same effect in FreeBSD from time to time, when the Alpha build is broken for one reason or another by a supposedly platform independent change which is really an x86-ism. I suspect code generation for these platforms will be slow, but that code generation for the 64 bit Intel and AMD processors will be a lot faster. The Alpha stuff is also hampered by the instruction reordering, which is another pass, but that doesn't fully account for the slowness of the code (IMO). Probably, it could be made much faster by someone who cared about it, and who has a profile in hand. Personally, I was happy with my 1 MHz 6502, so as far as I see it, everything runs blazingly fast, even though modern programmers fail on cycle squezing by multiple orders of magnitude most times. 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message