From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id BA5D33F5ED for ; Thu, 7 Mar 2002 14:40:16 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g27JeGq04293 for ; Thu, 7 Mar 2002 14:40:16 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g27JeGr09569 for axp-list@listman.redhat.com; Thu, 7 Mar 2002 14:40:16 -0500 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g27JeFG09562 for ; Thu, 7 Mar 2002 14:40:15 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g27JeBq04273 for ; Thu, 7 Mar 2002 14:40:11 -0500 Received: from lakemtao05.cox.net ([68.1.17.116]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g27Jd5Q29671 for ; Thu, 7 Mar 2002 14:39:05 -0500 Received: from outpost23 ([68.0.112.106]) by lakemtao05.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020307194006.CHPA3353.lakemtao05.cox.net@outpost23> for ; Thu, 7 Mar 2002 14:40:06 -0500 From: "Ted Goodridge, Jr" To: Subject: Compaq C compiler Date: Thu, 7 Mar 2002 13:42:53 -0600 Message-ID: <000201c1c610$491fed10$6a700044@outpost23> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0003_01C1C5DD.FE857D10" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0003_01C1C5DD.FE857D10 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I want to compile X and my kernel with CCC, how do I go about doing this? This has been discussed in the list before, and I was hoping I might start compiling a FAQ. Ted ------=_NextPart_000_0003_01C1C5DD.FE857D10 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I want to compile X and my kernel with CCC, how do I = go about doing this?  This has = been discussed in the list before, and I was hoping I might start compiling a = FAQ.

 

Ted

------=_NextPart_000_0003_01C1C5DD.FE857D10-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 8EBD43F933 for ; Thu, 7 Mar 2002 14:57:45 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g27Jvjq10049 for ; Thu, 7 Mar 2002 14:57:45 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g27JviO17642 for axp-list@listman.redhat.com; Thu, 7 Mar 2002 14:57:44 -0500 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g27JviG17638 for ; Thu, 7 Mar 2002 14:57:44 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g27Jviq10045 for ; Thu, 7 Mar 2002 14:57:44 -0500 Received: from zmamail05.zma.compaq.com (mailout.zma.compaq.com [161.114.64.105]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g27JucQ32304 for ; Thu, 7 Mar 2002 14:56:38 -0500 Received: from mailrelay01.cac.cpqcorp.net (mailrelay01.cac.cpqcorp.net [16.47.132.152]) by zmamail05.zma.compaq.com (Postfix) with ESMTP id 09808354E for ; Thu, 7 Mar 2002 14:57:44 -0500 (EST) Received: from anw.zk3.dec.com (wasted.zk3.dec.com [16.140.32.3]) by mailrelay01.cac.cpqcorp.net (Postfix) with ESMTP id 28FEC1A63 for ; Thu, 7 Mar 2002 11:57:43 -0800 (PST) Received: from imhotep.zk3.dec.com by anw.zk3.dec.com (8.9.3/1.1.22.2/08Sep98-0251PM) id OAA0000966423; Thu, 7 Mar 2002 14:57:41 -0500 (EST) Date: Thu, 7 Mar 2002 14:53:28 -0500 (EST) From: Ross A Knepper To: axp-list@redhat.com Subject: Re: Compaq C compiler In-Reply-To: <000201c1c610$491fed10$6a700044@outpost23> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: you dont. at least not with the kernel. the kernel uses the asm() command supported by gcc rather than the incompatible one supported by ccc. so it wouldn't compile without a fair amount of work. X might compile cleanly. i've never tried it. just set your CC environment variable to ccc. -ross On Thu, 7 Mar 2002, Ted Goodridge, Jr wrote: > I want to compile X and my kernel with CCC, how do I go about doing > this? This has been discussed in the list before, and I was hoping I > might start compiling a FAQ. > > Ted > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 478543FC91 for ; Thu, 7 Mar 2002 16:56:21 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g27LuKq16467 for ; Thu, 7 Mar 2002 16:56:20 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g27LuKC03719 for axp-list@listman.redhat.com; Thu, 7 Mar 2002 16:56:20 -0500 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g27LuKG03714 for ; Thu, 7 Mar 2002 16:56:20 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g27LuKq16463 for ; Thu, 7 Mar 2002 16:56:20 -0500 Received: from ellpspace.math.ualberta.ca (ellpspace.math.ualberta.ca [129.128.207.67]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g27LtDQ19793 for ; Thu, 7 Mar 2002 16:55:13 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.11.6/8.11.6) id g27LuCt03268 for axp-list@redhat.com; Thu, 7 Mar 2002 14:56:12 -0700 Date: Thu, 7 Mar 2002 14:56:12 -0700 From: Michal Jaegermann To: axp-list@redhat.com Subject: Re: Compaq C compiler Message-ID: <20020307145612.A3227@ellpspace.math.ualberta.ca> References: <000201c1c610$491fed10$6a700044@outpost23> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <000201c1c610$491fed10$6a700044@outpost23>; from tedgoodridgejr@acm.org on Thu, Mar 07, 2002 at 01:42:53PM -0600 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Thu, Mar 07, 2002 at 01:42:53PM -0600, Ted Goodridge, Jr wrote: > I want to compile X and my kernel with CCC, how do I go about doing > this? This has been discussed in the list before, and I was hoping I > might start compiling a FAQ. First you are getting an access to CCC sources (good luck with this). Next you are implemeting all gcc extensions which are used by kernel and you also modify a parser, while you are at it, to accept an assembler syntax as used by gcc. After you did all of that, and thorougly debugged it and made sure that all silent expectations about generated code are met, you compile your kernel to find out that results of all this exercise are likely slower (there are good reasons for that prognosis) although you probably hope that differences are not really measurable. If the later is the case you did _really_ well. Congratulations! As for X server most likely just change make sure that CC variable in all Makefiles is set to 'ccc' instead of 'gcc'. There is a top configuration file which should be enough. Maybe you need adjust a bit option strings. If you will see any overall performance gains from that then please let us know. I mean for the system and not some well chosen program or benchmark. Michal From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 4FA873ECA0 for ; Thu, 7 Mar 2002 22:35:33 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g283ZWq02801 for ; Thu, 7 Mar 2002 22:35:32 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g283ZWq16738 for axp-list@listman.redhat.com; Thu, 7 Mar 2002 22:35:32 -0500 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g283ZWG16734 for ; Thu, 7 Mar 2002 22:35:32 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g283ZWq02797 for ; Thu, 7 Mar 2002 22:35:32 -0500 Received: from lakemtao07.cox.net (mtao7.east.cox.net [68.1.17.114]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g283YOQ29713 for ; Thu, 7 Mar 2002 22:34:25 -0500 Received: from outpost23 ([68.0.112.106]) by lakemtao07.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020308033525.DIND850.lakemtao07.cox.net@outpost23> for ; Thu, 7 Mar 2002 22:35:25 -0500 From: "Ted Goodridge, Jr" To: Subject: RE: Compaq C compiler Date: Thu, 7 Mar 2002 21:38:28 -0600 Message-ID: <000001c1c652$b9711b60$6a700044@outpost23> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <20020307145612.A3227@ellpspace.math.ualberta.ca> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: X wont compile with CCC, at least as far as I have tried. Even changing GCC to CCC doesn't work. Any ideas? For kicks, I made gcc a symbolic link to CCC, and the program won't compile. And I'm not sure how to change it in the makefile. I don't know if X is using some specific GCC compilation options or not. Ted -----Original Message----- From: axp-list-admin@redhat.com [mailto:axp-list-admin@redhat.com] On Behalf Of Michal Jaegermann Sent: Thursday, March 07, 2002 3:56 PM To: axp-list@redhat.com Subject: Re: Compaq C compiler On Thu, Mar 07, 2002 at 01:42:53PM -0600, Ted Goodridge, Jr wrote: > I want to compile X and my kernel with CCC, how do I go about doing > this? This has been discussed in the list before, and I was hoping I > might start compiling a FAQ. First you are getting an access to CCC sources (good luck with this). Next you are implemeting all gcc extensions which are used by kernel and you also modify a parser, while you are at it, to accept an assembler syntax as used by gcc. After you did all of that, and thorougly debugged it and made sure that all silent expectations about generated code are met, you compile your kernel to find out that results of all this exercise are likely slower (there are good reasons for that prognosis) although you probably hope that differences are not really measurable. If the later is the case you did _really_ well. Congratulations! As for X server most likely just change make sure that CC variable in all Makefiles is set to 'ccc' instead of 'gcc'. There is a top configuration file which should be enough. Maybe you need adjust a bit option strings. If you will see any overall performance gains from that then please let us know. I mean for the system and not some well chosen program or benchmark. Michal _______________________________________________ Axp-list mailing list Axp-list@redhat.com https://listman.redhat.com/mailman/listinfo/axp-list From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id ADC403EAE7 for ; Fri, 8 Mar 2002 13:57:11 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g28IvBq27823 for ; Fri, 8 Mar 2002 13:57:11 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g28IvB302321 for axp-list@listman.redhat.com; Fri, 8 Mar 2002 13:57:11 -0500 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g28IvAG02316 for ; Fri, 8 Mar 2002 13:57:10 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g28IvAq27817 for ; Fri, 8 Mar 2002 13:57:10 -0500 Received: from manzanita.silverado (dialup-napanet-206-81-103-178.napanet.net [206.81.103.178]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g28ItwQ25120 for ; Fri, 8 Mar 2002 13:55:59 -0500 Received: from napanet.net (localhost [127.0.0.1]) by manzanita.silverado (8.9.3/8.9.3) with ESMTP id LAA04363 for ; Fri, 8 Mar 2002 11:01:48 -0800 Message-ID: <3C890A96.FF26E22C@napanet.net> Date: Fri, 08 Mar 2002 11:01:42 -0800 From: Stephen Lewis X-Mailer: Mozilla 4.6 [en] (X11; U; Linux 2.2.6-16apmac ppc) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Compaq C compiler References: <20020308060803.4DB073F764@listman.redhat.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: Should not need source to compile stuff, can get asm functionality with #pragma intrinsic (asm) and maybe #define __asm__ asm see hints in 'c_asm.h' that comes with ccc "most" gcc options are recognised by ccc, don't need to change the makefiles use CC=ccc make -e however, if you want to try this I would NOT begin with 'X' or the kernel, try something smaller, just turn on all the warnings and read the log files :-) Stephen Lewis > > Re: Compaq C compiler > Date: > Thu, 7 Mar 2002 14:56:12 -0700 > From: > Michal Jaegermann > Reply-To: > axp-list@redhat.com > To: > axp-list@redhat.com > References: > 1 > > > > On Thu, Mar 07, 2002 at 01:42:53PM -0600, Ted Goodridge, Jr wrote: > > I want to compile X and my kernel with CCC, how do I go about doing > > this? This has been discussed in the list before, and I was hoping > I > > might start compiling a FAQ. > > First you are getting an access to CCC sources (good luck with this). > Next you are implemeting all gcc extensions which are used by kernel > and > you also modify a parser, while you are at it, to accept an assembler > syntax as used by gcc. After you did all of that, and thorougly > debugged it and made sure that all silent expectations about > generated > code are met, you compile your kernel to find out that results of all > this exercise are likely slower (there are good reasons for that > prognosis) although you probably hope that differences are not really > measurable. If the later is the case you did _really_ well. > Congratulations! > > As for X server most likely just change make sure that CC variable in > all Makefiles is set to 'ccc' instead of 'gcc'. There is a top > configuration file which should be enough. Maybe you need adjust a > bit > option strings. If you will see any overall performance gains from > that > then please let us know. I mean for the system and not some well > chosen > program or benchmark. > > Michal > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 4C6BE3F211 for ; Fri, 8 Mar 2002 17:21:27 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g28MLQq18163 for ; Fri, 8 Mar 2002 17:21:26 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g28MLQl14283 for axp-list@listman.redhat.com; Fri, 8 Mar 2002 17:21:26 -0500 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g28MLQV14279 for ; Fri, 8 Mar 2002 17:21:26 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g28MLQq18159 for ; Fri, 8 Mar 2002 17:21:26 -0500 Received: from dns1.micahtek.com ([198.160.140.244]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g28MKFQ20737 for ; Fri, 8 Mar 2002 17:20:15 -0500 Received: from dns1.micahtek.com (localhost [127.0.0.1]) by dns1.micahtek.com (8.11.3/8.11.3) with ESMTP id g28MLRG20052 for ; Fri, 8 Mar 2002 16:21:27 -0600 Received: from stevek ([198.160.140.253]) by dns1.micahtek.com (8.11.3/8.11.3) with SMTP id g28MLQE20046 for ; Fri, 8 Mar 2002 16:21:26 -0600 From: "Ted Goodridge" To: Subject: RE: Compaq C Compiler Date: Fri, 8 Mar 2002 16:30:07 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: Again this is my frustration with the linux community. As for help, get RTFM, RTFM, RTFM. I was asking for people with _real_ experiences with CC, and actual assistance. >>> > X wont compile with CCC, >>> >>> Hard to believe as X sources are fairly portable across different >>> platforms and compilers. This is in a marked contrast to a Linux kernel >>> which was never written in a portable C, and there were never claims of >>> that sort, but in a dialect supported by gcc. >>> Have *YOU* actually tried to compile it with CCC? How do you know how portable something is without trying it. >>> OTOH it is higly doubtful that it is worth to bother unless you consider >>> that learning experience in portable programming and in how XFree86 >>> sources are put together. This is a floting point, and a floating point >>> _libraries_, which make the biggest difference between ccc and gcc. In >>> other situations differences are rather small and not that infrequently >>> gcc comes ahead. >>> GCC coming out ahead? Compaq states that CCC gets up to a 30% bonus for non floating point programs. 30% is well worth the effort. Again, actual help with my question might be more appreciated than telling me my attempts are misguided. This is what turns new people off to linux. Elitism telling people to RTFM and "you obviously don't know what you are doing". Ted From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 4742E3FBB1 for ; Fri, 8 Mar 2002 18:57:00 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g28Nuxq06721 for ; Fri, 8 Mar 2002 18:56:59 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g28Nuxo11786 for axp-list@listman.redhat.com; Fri, 8 Mar 2002 18:56:59 -0500 Received: from passion.cambridge.redhat.com (passion.cambridge.redhat.com [172.16.18.67]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g28NuxV11782 for ; Fri, 8 Mar 2002 18:56:59 -0500 Received: from dwmw2 (helo=redhat.com) by passion.cambridge.redhat.com with local-esmtp (Exim 3.16 #2) id 16jUEM-0001eH-00 for axp-list@redhat.com; Fri, 08 Mar 2002 23:56:58 +0000 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 From: David Woodhouse X-Accept-Language: en_GB In-Reply-To: References: To: axp-list@redhat.com Subject: Re: Compaq C Compiler Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 08 Mar 2002 23:56:58 +0000 Message-ID: <6340.1015631818@redhat.com> X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: tedgoodridgejr@acm.org said: > Again this is my frustration with the linux community. As for help, > get RTFM, RTFM, RTFM. I was asking for people with _real_ experiences > with CC, and actual assistance. Who do you think _wrote_ the aforementioned F. Manual? Someone with real experience perhaps? And what do you think they wrote it for? > Have *YOU* actually tried to compile it with CCC? How do you know > how portable something is without trying it. I tried it. It exceeded my boredom threshold - to be honest, X code makes me queasy and I couldn't be bothered to find and read the Compaq manuals to work out what their compiler was whinging about. > GCC coming out ahead? Compaq states that CCC gets up to a 30% bonus > for non floating point programs. 30% is well worth the effort. > Again, actual help with my question might be more appreciated than > telling me my attempts are misguided. Your attempt isn't misguided. Compiling X with CCC would be interesting. But you do need to give reports that people can at least _attempt_ to help you with - don't just report 'it didn't work'. Quote the command line it used and the _precise_ error(s). -- dwmw2 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 0DAD73ED4B for ; Fri, 8 Mar 2002 19:39:12 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g290dBq14718 for ; Fri, 8 Mar 2002 19:39:11 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g290dB122395 for axp-list@listman.redhat.com; Fri, 8 Mar 2002 19:39:11 -0500 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g290dBV22391 for ; Fri, 8 Mar 2002 19:39:11 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g290dBq14714 for ; Fri, 8 Mar 2002 19:39:11 -0500 Received: from lakemtao06.cox.net (mtao6.east.cox.net [68.1.17.115]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g290bxQ02586 for ; Fri, 8 Mar 2002 19:37:59 -0500 Received: from outpost23 ([68.0.112.106]) by lakemtao06.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020309003906.FAKV1028.lakemtao06.cox.net@outpost23> for ; Fri, 8 Mar 2002 19:39:06 -0500 From: "Ted Goodridge, Jr" To: Subject: RE: Compaq C Compiler Date: Fri, 8 Mar 2002 18:42:38 -0600 Message-ID: <000801c1c703$53e6f9c0$6a700044@outpost23> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <6340.1015631818@redhat.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: I'm sorry about my outburst, it came after a long frustrating day. About the RTFM, see the point is, I usually already have read the manual before I ask for help. That's why hearing 'read the manual' on these lists was touched off a nerve. This evening/tomorrow/weekend I'm going to make another attempt to compile X with ccc. Someone suggested I edit the top level makefile? Changing the environment variable "CC" to ccc didn't affect the build process, which is the normal step the Compaq faq suggests. The first way I attempted to build X with ccc was to just create a symbolic link called gcc and point that to ccc. (This was the only way I could get other programs to compile which would not accept ccc as the compiler.) The build failed rather early. I'll get the exact error to those who are interested. (Please email me directly if you are willing to help with this, that was the original attempt of my first email on this subject.) Ted -----Original Message----- From: axp-list-admin@redhat.com [mailto:axp-list-admin@redhat.com] On Behalf Of David Woodhouse Sent: Friday, March 08, 2002 5:57 PM To: axp-list@redhat.com Subject: Re: Compaq C Compiler tedgoodridgejr@acm.org said: > Again this is my frustration with the linux community. As for help, > get RTFM, RTFM, RTFM. I was asking for people with _real_ experiences > with CC, and actual assistance. Who do you think _wrote_ the aforementioned F. Manual? Someone with real experience perhaps? And what do you think they wrote it for? > Have *YOU* actually tried to compile it with CCC? How do you know > how portable something is without trying it. I tried it. It exceeded my boredom threshold - to be honest, X code makes me queasy and I couldn't be bothered to find and read the Compaq manuals to work out what their compiler was whinging about. > GCC coming out ahead? Compaq states that CCC gets up to a 30% bonus > for non floating point programs. 30% is well worth the effort. > Again, actual help with my question might be more appreciated than > telling me my attempts are misguided. Your attempt isn't misguided. Compiling X with CCC would be interesting. But you do need to give reports that people can at least _attempt_ to help you with - don't just report 'it didn't work'. Quote the command line it used and the _precise_ error(s). -- dwmw2 _______________________________________________ Axp-list mailing list Axp-list@redhat.com https://listman.redhat.com/mailman/listinfo/axp-list From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id DB0A63EB12 for ; Fri, 8 Mar 2002 20:06:15 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g2916Fq19132 for ; Fri, 8 Mar 2002 20:06:15 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g2916Ep28262 for axp-list@listman.redhat.com; Fri, 8 Mar 2002 20:06:14 -0500 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g2916DV28258 for ; Fri, 8 Mar 2002 20:06:13 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g2916Dq19124 for ; Fri, 8 Mar 2002 20:06:13 -0500 Received: from paralleldata.com ([63.93.128.8]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g29151Q04981 for ; Fri, 8 Mar 2002 20:05:02 -0500 Received: by paralleldata.com from localhost (router,SLMail V5.0); Fri, 08 Mar 2002 18:59:33 -0600 for Received: from paralleldata.com [12.239.11.2] by paralleldata.com [63.93.128.8] (SLmail 5.0.0.4348) with ESMTP id AF496BE9AC5F4D46920A3BAF84B229F8 for ; Fri, 08 Mar 2002 18:59:33 -0600 Message-ID: <3C89606F.73D87C5F@paralleldata.com> Date: Fri, 08 Mar 2002 19:07:59 -0600 From: "W Bauske" Organization: PDS Inc. X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Compaq C Compiler References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SLUIDL: 6538A1D2-3AEE41B4-A28050AC-B266293D X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: Ted Goodridge wrote: > > Again this is my frustration with the linux community. As for help, get > RTFM, RTFM, RTFM. I was asking for people with _real_ experiences with CC, > and actual assistance. > Best to ask a proper question. Saying it doesn't work is useless. Grab the output from your test compile and post the relevant portion where it failed. Without it, you get generic comments. With a specific question, you're more likely to get an answer. > > >>> OTOH it is higly doubtful that it is worth to bother unless you consider > >>> that learning experience in portable programming and in how XFree86 > >>> sources are put together. This is a floting point, and a floating point > >>> _libraries_, which make the biggest difference between ccc and gcc. In > >>> other situations differences are rather small and not that infrequently > >>> gcc comes ahead. > >>> > GCC coming out ahead? Compaq states that CCC gets up to a 30% bonus for non > floating point programs. 30% is well worth the effort. Again, actual help > with my question might be more appreciated than telling me my attempts are > misguided. > gcc is better than you think. I've never seen the level of performance improvements Compaq quote except with FP codes. The key is "UP TO 30%". ccc can in fact be slower than gcc. He's just warning you not to get your hopes up. They also are comparing against an older version of gcc. Wes From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 4D00D3FE6B for ; Fri, 8 Mar 2002 20:07:41 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g2917eq19306 for ; Fri, 8 Mar 2002 20:07:40 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g2917eK28519 for axp-list@listman.redhat.com; Fri, 8 Mar 2002 20:07:40 -0500 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g2917eV28515 for ; Fri, 8 Mar 2002 20:07:40 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g2917dq19302 for ; Fri, 8 Mar 2002 20:07:39 -0500 Received: from MyLaptop.GatWorks.com (pool-141-155-117-29.ny5030.east.verizon.net [141.155.117.29]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g2916RQ05094 for ; Fri, 8 Mar 2002 20:06:28 -0500 Received: from voicenet.com (localhost.localdomain [127.0.0.1]) by MyLaptop.GatWorks.com (8.11.2/8.11.2) with ESMTP id g2914kN02077 for ; Fri, 8 Mar 2002 20:04:53 -0500 Message-ID: <3C895FAB.FF1034C0@voicenet.com> Date: Fri, 08 Mar 2002 20:04:43 -0500 From: Uncle George Organization: GatWorks.com X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Compaq C Compiler References: <000801c1c703$53e6f9c0$6a700044@outpost23> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: I, myself would: 1) Take the src RPM from redhat, install the source, and rpm -bc on the .spec file in redhat/SPEC 2) Once you know that you have the X/spec/rpm file working ( i think you will need some 500meg for it all ), you can edit the spec file. Your would in essence add in the makefile build flags "CC=ccc CFLAGS=-O2 -- and whatever other ccc flags ) in the build section . Hopefully that will build all the makefiles ( via ./configure ) with ccc as the c compiler, and your CFLAGS as your options. 3) do again the rpm -bc for the altered spec file. 4) Somewhere along the way, there is going to be some 'link'ing, which may not be what ccc needs to get it going. So I suspect its going to bomb. 5) repeat steps 3,4,5 as often as necessary to make it go the way you want. You might also want to look at the src's for a Digital Unix port -- maybe the flags, and linkages will be of help there. goo luck, its going to be time consuming, so see ya in april :-} /gat "Ted Goodridge, Jr" wrote: > > I'm sorry about my outburst, it came after a long frustrating day. > About the RTFM, see the point is, I usually already have read the manual > before I ask for help. That's why hearing 'read the manual' on these > lists was touched off a nerve. > > This evening/tomorrow/weekend I'm going to make another attempt to > compile X with ccc. Someone suggested I edit the top level makefile? > Changing the environment variable "CC" to ccc didn't affect the build > process, which is the normal step the Compaq faq suggests. > > The first way I attempted to build X with ccc was to just create a > symbolic link called gcc and point that to ccc. (This was the only way > I could get other programs to compile which would not accept ccc as the > compiler.) The build failed rather early. I'll get the exact error to > those who are interested. (Please email me directly if you are willing > to help with this, that was the original attempt of my first email on > this subject.) > > Ted > -----Original Message----- > From: axp-list-admin@redhat.com [mailto:axp-list-admin@redhat.com] On > Behalf Of David Woodhouse > Sent: Friday, March 08, 2002 5:57 PM > To: axp-list@redhat.com > Subject: Re: Compaq C Compiler > > tedgoodridgejr@acm.org said: > > Again this is my frustration with the linux community. As for help, > > get RTFM, RTFM, RTFM. I was asking for people with _real_ experiences > > with CC, and actual assistance. > > Who do you think _wrote_ the aforementioned F. Manual? Someone with > real experience perhaps? And what do you think they wrote it for? > > > Have *YOU* actually tried to compile it with CCC? How do you know > > how portable something is without trying it. > > I tried it. It exceeded my boredom threshold - to be honest, X code > makes > me queasy and I couldn't be bothered to find and read the Compaq manuals > to work out what their compiler was whinging about. > > > GCC coming out ahead? Compaq states that CCC gets up to a 30% bonus > > for non floating point programs. 30% is well worth the effort. > > Again, actual help with my question might be more appreciated than > > telling me my attempts are misguided. > > Your attempt isn't misguided. Compiling X with CCC would be interesting. > But > you do need to give reports that people can at least _attempt_ to help > you > with - don't just report 'it didn't work'. Quote the command line it > used > and the _precise_ error(s). > > -- > dwmw2 > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 917FD3EA4D for ; Sat, 9 Mar 2002 12:48:46 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g29Hmk516365 for ; Sat, 9 Mar 2002 12:48:46 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g29Hmjd28499 for axp-list@listman.redhat.com; Sat, 9 Mar 2002 12:48:45 -0500 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g29HmjR28495 for ; Sat, 9 Mar 2002 12:48:45 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g29Hmj516361 for ; Sat, 9 Mar 2002 12:48:45 -0500 Received: from manzanita.silverado (dialup-napanet-206-81-103-160.napanet.net [206.81.103.160]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g29HlSb00489 for ; Sat, 9 Mar 2002 12:47:28 -0500 Received: from napanet.net (localhost [127.0.0.1]) by manzanita.silverado (8.9.3/8.9.3) with ESMTP id JAA05593 for ; Sat, 9 Mar 2002 09:53:25 -0800 Message-ID: <3C8A4C10.7B04A856@napanet.net> Date: Sat, 09 Mar 2002 09:53:20 -0800 From: Stephen Lewis X-Mailer: Mozilla 4.6 [en] (X11; U; Linux 2.2.6-16apmac ppc) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Compaq C Compiler References: <20020309170102.1A3BF3EF4F@listman.redhat.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: Ted, I concur with George, this is no small project. The X4.2 sources took me 3.6 hours to compile when everything was setup correctly. (PWS 500au) The log file (and you will need to look through this) is over 54,000 lines. The directory holding source AND .o files will expand beyond 680 megs! I only compiled the code for the cards I have and this does not include the fonts. Some of this may go well but expect to spend a lot of time on the modules that don't compile. 'make' won't use environment vars unless you ask it to (make -e) and will stop at the first error unless you tell it not to (make -k) Try something smaller first then when you understand the issues and the process then come back to X, Stephen Lewis > > Re: Compaq C Compiler > Date: > Fri, 08 Mar 2002 20:04:43 -0500 > From: > Uncle George > Reply-To: > axp-list@redhat.com > Organization: > GatWorks.com > To: > axp-list@redhat.com > References: > 1 > > > > I, myself would: > > 1) Take the src RPM from redhat, install the source, and rpm -bc on > the > .spec file in redhat/SPEC > 2) Once you know that you have the X/spec/rpm file working ( i > think you > will need some 500meg for it all ), you can edit the spec file. Your > would in essence add in the makefile build flags "CC=ccc CFLAGS=-O2 -- > and whatever other ccc flags ) in the build section . Hopefully that > will build all the makefiles ( via ./configure ) with ccc as the c > compiler, and your CFLAGS as your options. > 3) do again the rpm -bc for the altered spec file. > 4) Somewhere along the way, there is going to be some 'link'ing, > which > may not be what ccc needs to get it going. So I suspect its going to > bomb. > 5) repeat steps 3,4,5 as often as necessary to make it go > the way you > want. You might also want to look at the src's for a Digital Unix port > -- maybe the flags, and linkages will be of help there. > > goo luck, its going to be time consuming, so see ya in april :-} > /gat > > > "Ted Goodridge, Jr" wrote: > > > > I'm sorry about my outburst, it came after a long frustrating day. > > About the RTFM, see the point is, I usually already have read the > manual > > before I ask for help. That's why hearing 'read the manual' on these > > lists was touched off a nerve. > > > > This evening/tomorrow/weekend I'm going to make another attempt to > > compile X with ccc. Someone suggested I edit the top level makefile? > > Changing the environment variable "CC" to ccc didn't affect the build > > process, which is the normal step the Compaq faq suggests. > > > > The first way I attempted to build X with ccc was to just create a > > symbolic link called gcc and point that to ccc. (This was the only > way > > I could get other programs to compile which would not accept ccc as > the > > compiler.) The build failed rather early. I'll get the exact error > to > > those who are interested. (Please email me directly if you are > willing > > to help with this, that was the original attempt of my first email on > > this subject.) > > > > Ted > > -----Original Message----- > > From: axp-list-admin@redhat.com [mailto:axp-list-admin@redhat.com] On > > Behalf Of David Woodhouse > > Sent: Friday, March 08, 2002 5:57 PM > > To: axp-list@redhat.com > > Subject: Re: Compaq C Compiler > > > > tedgoodridgejr@acm.org said: > > > Again this is my frustration with the linux community. As for help, > > > get RTFM, RTFM, RTFM. I was asking for people with _real_ > experiences > > > with CC, and actual assistance. > > > > Who do you think _wrote_ the aforementioned F. Manual? Someone with > > real experience perhaps? And what do you think they wrote it for? > > > > > Have *YOU* actually tried to compile it with CCC? How do you know > > > how portable something is without trying it. > > > > I tried it. It exceeded my boredom threshold - to be honest, X code > > makes > > me queasy and I couldn't be bothered to find and read the Compaq > manuals > > to work out what their compiler was whinging about. > > > > > GCC coming out ahead? Compaq states that CCC gets up to a 30% bonus > > > for non floating point programs. 30% is well worth the effort. > > > Again, actual help with my question might be more appreciated than > > > telling me my attempts are misguided. > > > > Your attempt isn't misguided. Compiling X with CCC would be > interesting. > > But > > you do need to give reports that people can at least _attempt_ to help > > you > > with - don't just report 'it didn't work'. Quote the command line it > > used > > and the _precise_ error(s). > > > > -- > > dwmw2 > > > > _______________________________________________ > > Axp-list mailing list > > Axp-list@redhat.com > > https://listman.redhat.com/mailman/listinfo/axp-list > > > > _______________________________________________ > > Axp-list mailing list > > Axp-list@redhat.com > > https://listman.redhat.com/mailman/listinfo/axp-list > > > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 42A5C3EA14 for ; Sat, 9 Mar 2002 23:52:01 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g2A4q0523468 for ; Sat, 9 Mar 2002 23:52:00 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g2A4q0800637 for axp-list@listman.redhat.com; Sat, 9 Mar 2002 23:52:00 -0500 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g2A4q0R00633 for ; Sat, 9 Mar 2002 23:52:00 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g2A4px523464 for ; Sat, 9 Mar 2002 23:52:00 -0500 Received: from handhelds.org ([192.58.209.91]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g2A4oib15695 for ; Sat, 9 Mar 2002 23:50:44 -0500 Received: (qmail 23176 invoked from network); 10 Mar 2002 04:51:34 -0000 Received: from unknown (HELO shadowfax.middleearth) (127.0.0.1) by 0 with SMTP; 10 Mar 2002 04:51:34 -0000 From: George France To: axp-list@redhat.com, "W Bauske" Subject: Re: Compaq C Compiler Date: Sat, 9 Mar 2002 23:50:30 -0500 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="us-ascii" References: <3C89606F.73D87C5F@paralleldata.com> In-Reply-To: <3C89606F.73D87C5F@paralleldata.com> MIME-Version: 1.0 Message-Id: <02030923503000.06143@shadowfax.middleearth> Content-Transfer-Encoding: 8bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Friday 08 March 2002 20:07, W Bauske wrote: > > gcc is better than you think. I've never seen the level of performance > improvements Compaq quote except with FP codes. The key is "UP TO 30%". > ccc can in fact be slower than gcc. He's just warning you not to get your > hopes up. They also are comparing against an older version of gcc. > It has been my experience that ccc performs much better than gcc. It has also been my experience that the people that do not see an improvements in levels of performance with ccc are probably not using the correct switches with ccc. Best Regards, --George From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 373E83ED7B for ; Sun, 10 Mar 2002 01:58:46 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g2A6wj506287 for ; Sun, 10 Mar 2002 01:58:45 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g2A6wjk20307 for axp-list@listman.redhat.com; Sun, 10 Mar 2002 01:58:45 -0500 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g2A6wjR20303 for ; Sun, 10 Mar 2002 01:58:45 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g2A6wj506283 for ; Sun, 10 Mar 2002 01:58:45 -0500 Received: from paralleldata.com ([63.93.128.8]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g2A6vTb23487 for ; Sun, 10 Mar 2002 01:57:29 -0500 Received: by paralleldata.com from localhost (router,SLMail V5.0); Sun, 10 Mar 2002 00:52:01 -0600 for Received: from paralleldata.com [12.239.11.2] by paralleldata.com [63.93.128.8] (SLmail 5.0.0.4348) with ESMTP id 752170CE42834DA2A5505F41BD8057B0 for ; Sun, 10 Mar 2002 00:52:01 -0600 Message-ID: <3C8B0498.BCFCAD38@paralleldata.com> Date: Sun, 10 Mar 2002 01:00:40 -0600 From: "W Bauske" Organization: PDS Inc. X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Compaq C Compiler References: <3C89606F.73D87C5F@paralleldata.com> <02030923503000.06143@shadowfax.middleearth> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SLUIDL: F7F9CF72-B2A64539-857BF2C5-ECF55950 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: George France wrote: > > On Friday 08 March 2002 20:07, W Bauske wrote: > > > > gcc is better than you think. I've never seen the level of performance > > improvements Compaq quote except with FP codes. The key is "UP TO 30%". > > ccc can in fact be slower than gcc. He's just warning you not to get your > > hopes up. They also are comparing against an older version of gcc. > > > > It has been my experience that ccc performs much better than gcc. It has also > been my experience that the people that do not see an improvements in levels > of performance with ccc are probably not using the correct switches with ccc. > And how much of your code's time is spent doing FP work? If it's not FP, I'd be curious what you're doing with Alphas and gaining lots of performance over gcc. Wes From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 53BD33F6A9 for ; Mon, 11 Mar 2002 13:22:50 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g2BIMn506505 for ; Mon, 11 Mar 2002 13:22:49 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g2BIMns32178 for axp-list@listman.redhat.com; Mon, 11 Mar 2002 13:22:49 -0500 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g2BIMnR32159 for ; Mon, 11 Mar 2002 13:22:49 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g2BIMm506445 for ; Mon, 11 Mar 2002 13:22:48 -0500 Received: from falstaff.isc-net.upenn.edu (FALSTAFF.ISC-NET.UPENN.EDU [130.91.72.121]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g2BILSc24206 for ; Mon, 11 Mar 2002 13:21:28 -0500 Received: (from magill@localhost) by falstaff.isc-net.upenn.edu (8.11.6/8.11.6) id g2BIMmJ14792; Mon, 11 Mar 2002 13:22:48 -0500 (EST) Date: Mon, 11 Mar 2002 13:22:48 -0500 (EST) From: "William H. Magill" Message-Id: <200203111822.g2BIMmJ14792@falstaff.isc-net.upenn.edu> To: axp-list@redhat.com Subject: Re: Compaq C Compiler X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: > > >>> OTOH it is higly doubtful that it is worth to bother unless you consider > > >>> that learning experience in portable programming and in how XFree86 > > >>> sources are put together. This is a floting point, and a floating point > > >>> _libraries_, which make the biggest difference between ccc and gcc. In > > >>> other situations differences are rather small and not that infrequently > > >>> gcc comes ahead. > > >>> > > GCC coming out ahead? Compaq states that CCC gets up to a 30% bonus for non > > floating point programs. 30% is well worth the effort. Again, actual help > > with my question might be more appreciated than telling me my attempts are > > misguided. > > gcc is better than you think. I've never seen the level of performance > improvements Compaq quote except with FP codes. The key is "UP TO 30%". > ccc can in fact be slower than gcc. He's just warning you not to get your > hopes up. They also are comparing against an older version of gcc. > Ok... here's a different take on the question/answer - - Why bother expending efforts on converting software to compile under CCC now that the ccc complier technology has been sold to Intel, and (I assume) that there will never be another rev of the compilers made available to the Alpha Linux folks. At one time the explanation was - "Gcc has a poor Alpha code generator." Back then, people wanted Compaq to expend energy getting gcc to generate better Alpha code, rather than making their own proprietary compiler - ccc, available to Linux. But now it appears that the ccc availability was simply a flash-in-the-pan. It is no longer Compaq's technology to "relase" to the world. -- www.tru64unix.compaq.com www.tru64.org T.T.F.N. William H. Magill Senior Systems Administrator Information Services and Computing (ISC) Networking & Telecommunications University of Pennsylvania Internet: magill@isc.upenn.edu http://www.isc-net.upenn.edu/~magill/ magill@acm.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 6BE943F742 for ; Mon, 11 Mar 2002 13:35:34 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g2BIZX513235 for ; Mon, 11 Mar 2002 13:35:33 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g2BIZXH06959 for axp-list@listman.redhat.com; Mon, 11 Mar 2002 13:35:33 -0500 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g2BIZXR06953 for ; Mon, 11 Mar 2002 13:35:33 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g2BIZX513231 for ; Mon, 11 Mar 2002 13:35:33 -0500 Received: from handhelds.org ([192.58.209.91]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g2BIYCc27400 for ; Mon, 11 Mar 2002 13:34:12 -0500 Received: (qmail 20903 invoked from network); 11 Mar 2002 18:35:06 -0000 Received: from unknown (HELO shadowfax.middleearth) (127.0.0.1) by 0 with SMTP; 11 Mar 2002 18:35:06 -0000 From: George France To: axp-list@redhat.com, "W Bauske" Subject: Re: Compaq C Compiler Date: Mon, 11 Mar 2002 13:33:51 -0500 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="us-ascii" References: <02030923503000.06143@shadowfax.middleearth> <3C8B0498.BCFCAD38@paralleldata.com> In-Reply-To: <3C8B0498.BCFCAD38@paralleldata.com> MIME-Version: 1.0 Message-Id: <02031113335101.24094@shadowfax.middleearth> Content-Transfer-Encoding: 8bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Sunday 10 March 2002 02:00, W Bauske wrote: > And how much of your code's time is spent doing FP work? If it's not > FP, I'd be curious what you're doing with Alphas and gaining lots > of performance over gcc. > Hello Wes, On Alpha systems most of my applications are cluster related and customer specific, so I can not really chat about them. Overall, I do see about a 20% integer performance improvement with ccc over gcc 2.96.x. I believe that gcc 3.1.x when released may have improved integer performance on Alpha. I usually use: ccc -arch ev6 -fast -O4 ONESTEP -arch ev6 I do not want to use the ev4/5 instruction set nor scheduling. -fast Make certain that ccc is using the byte/word instructions. As an example, I downloaded nbench 2.1 from http://www.tux.org/~mayer/linux/bmark.html and tried it against gcc 2.96 on a RH 7.0 system running on a Digital Personal Workstation 500a (EV5/6 500). Using the ccc compiler, but adding -fast, and using gcc with -O5 I get: ------------ ccc -fast -noifo -lm -DLINUX emfloat.c misc.c nbench0.c nbench1.c sysspec.c emfloat.c: misc.c: nbench0.c: nbench1.c: sysspec.c: ../a.out | tee -a stdout.log BYTEmark* Native Mode Benchmark ver. 2 (10/95) Index-split by Andrew D. Balsa (11/97) Linux/Unix* port by Uwe F. Mayer (12/96,11/97) TEST : Iterations/sec. : Old Index : New Index : : Pentium 90* : AMD K6/233* --------------------:------------------:-------------:------------ NUMERIC SORT : 283.94 : 7.28 : 2.39 STRING SORT : 23.912 : 10.68 : 1.65 BITFIELD : 5.5362e+07 : 9.50 : 1.98 FP EMULATION : 21.819 : 10.47 : 2.42 FOURIER : 12810 : 14.57 : 8.18 ASSIGNMENT : 2.4346 : 9.26 : 2.40 IDEA : 479.47 : 7.33 : 2.18 HUFFMAN : 355.02 : 9.84 : 3.14 NEURAL NET : 7.5143 : 12.07 : 5.08 LU DECOMPOSITION : 182.77 : 9.47 : 6.84 ==========================ORIGINAL BYTEMARK RESULTS========================== INTEGER INDEX : 9.102 FLOATING-POINT INDEX: 11.852 Baseline (MSDOS*) : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0 ==============================LINUX DATA BELOW=============================== C compiler : ccc-6.2.9.505-1 Red Hat Linux release 7.0 (Guinness) libc : glibc-2.1.95-2 MEMORY INDEX : 1.990 INTEGER INDEX : 2.508 FLOATING-POINT INDEX: 6.574 Baseline (LINUX) : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, libc-5.4.38 * Trademarks are property of their respective holder. ------------ gcc -O5 -lm -DLINUX emfloat.c misc.c nbench0.c nbench1.c sysspec.c ../a.out | tee -a stdout.log BYTEmark* Native Mode Benchmark ver. 2 (10/95) Index-split by Andrew D. Balsa (11/97) Linux/Unix* port by Uwe F. Mayer (12/96,11/97) TEST : Iterations/sec. : Old Index : New Index : : Pentium 90* : AMD K6/233* --------------------:------------------:-------------:------------ NUMERIC SORT : 260.13 : 6.67 : 2.19 STRING SORT : 23.436 : 10.47 : 1.62 BITFIELD : 5.8679e+07 : 10.07 : 2.10 FP EMULATION : 12.505 : 6.00 : 1.38 FOURIER : 2004 : 2.28 : 1.28 ASSIGNMENT : 2.4413 : 9.29 : 2.41 IDEA : 530.37 : 8.11 : 2.41 HUFFMAN : 224.51 : 6.23 : 1.99 NEURAL NET : 1.751 : 2.81 : 1.18 LU DECOMPOSITION : 111.54 : 5.78 : 4.17 ==========================ORIGINAL BYTEMARK RESULTS========================== INTEGER INDEX : 7.934 FLOATING-POINT INDEX: 3.334 Baseline (MSDOS*) : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0 ==============================LINUX DATA BELOW=============================== C compiler : gcc version 2.96 20000731 (Red Hat Linux 7.0) libc : glibc-2.1.95-2 MEMORY INDEX : 2.017 INTEGER INDEX : 1.952 FLOATING-POINT INDEX: 1.849 Baseline (LINUX) : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, libc-5.4.38 * Trademarks are property of their respective holder. This shows ccc to be about 20% faster integer and more than 300% faster float, very slightly slower in memory (by less than the claimed accuracy of the tests). I did not verify whether or not the results were correct... BTW, I did not use the Makefile, as that was the reason it didn't show useful information about the compiler and libc versions. Instead, I wrote a little sh script to compile/link/run using a specified compile/link command line in a fresh directory that it creates. Every day I build the alpha toolchains (binutils, gcc (c, c++, etc...), glibc, gdb, etc...) from the head 2.95.x, 3.0.x and main gcc cvs trees. If I get some time this week maybe I should write a script to run benchmarks on the results and compare them to ccc. Does any body have some suggestions as to what would make good compiler benchmarks? I hope this helps. Best Regards, --George From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id E39F83F10D for ; Mon, 11 Mar 2002 17:25:36 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g2BMPaF08900 for ; Mon, 11 Mar 2002 17:25:36 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g2BMPYo20091 for axp-list@listman.redhat.com; Mon, 11 Mar 2002 17:25:34 -0500 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g2BMPXR20049 for ; Mon, 11 Mar 2002 17:25:33 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g2BLejF25397 for ; Mon, 11 Mar 2002 16:40:45 -0500 Received: from paralleldata.com ([63.93.128.8]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g2BLdNc32549 for ; Mon, 11 Mar 2002 16:39:23 -0500 Received: by paralleldata.com from localhost (router,SLMail V5.0); Mon, 11 Mar 2002 15:34:13 -0600 for Received: from paralleldata.com [12.239.11.2] by paralleldata.com [63.93.128.8] (SLmail 5.0.0.4348) with ESMTP id F4FE654323C74125A55248EDADEC6A04 for ; Mon, 11 Mar 2002 15:34:13 -0600 Message-ID: <3C8D24CF.CBF6C22E@paralleldata.com> Date: Mon, 11 Mar 2002 15:42:39 -0600 From: "W Bauske" Organization: PDS Inc. X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Compaq C Compiler References: <02030923503000.06143@shadowfax.middleearth> <3C8B0498.BCFCAD38@paralleldata.com> <02031113335101.24094@shadowfax.middleearth> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SLUIDL: 7DA1CE02-FC384D23-A812676E-4B7BC1FF X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: George France wrote: > > On Sunday 10 March 2002 02:00, W Bauske wrote: > > And how much of your code's time is spent doing FP work? If it's not > > FP, I'd be curious what you're doing with Alphas and gaining lots > > of performance over gcc. > > > > Hello Wes, > > On Alpha systems most of my applications are cluster related and customer > specific, so I can not really chat about them. Overall, I do see about a 20% > integer performance improvement with ccc over gcc 2.96.x. I believe that gcc > 3.1.x when released may have improved integer performance on Alpha. > > I usually use: > > ccc -arch ev6 -fast -O4 ONESTEP > > -arch ev6 > I do not want to use the ev4/5 instruction set nor scheduling. > > -fast > Make certain that ccc is using the byte/word instructions. > > No surprises. > As an example, I downloaded nbench 2.1 from > http://www.tux.org/~mayer/linux/bmark.html and tried it against gcc 2.96 on a > RH 7.0 system running on a Digital Personal Workstation 500a (EV5/6 500). > Using the ccc compiler, but adding -fast, and using gcc with -O5 I get: > All I'll say about this benchmark is it's not what I run in production and is not the most well tuned code around. Everything I build has been tuned against a minimum of 4 computer architectures. Ultrasparc/Alpha/POWER3+/P4/Athlon XP are used currently. I do mean heavily checked and rechecked with a bias toward the machine that currently dominates my production environment. I'll recode an algorithm if I have to to make it run well. X is sufficiently mature to have gone through as much tuning as I normally do on my codes so I expect X's performance characteristics to be similar to my observations, not nbench's behavior. What I mean by that is that I've incorporated tricks the compiler would use into the source so it leaves little left for the compiler to do. The main things I expect a compiler to do are instruction scheduling and efficient memory access. A good math lib is nice too. Things like common sub-expression elimination, loop reordering, constants moved out of loops, loop unrolling, etc., are already in the source code. Wes From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id A38DC3F5B9 for ; Mon, 11 Mar 2002 19:25:06 -0500 (EST) Received: from lacrosse.corp.redhat.com (lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g2C0P5F09243 for ; Mon, 11 Mar 2002 19:25:05 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g2C0P0o30199 for axp-list@listman.redhat.com; Mon, 11 Mar 2002 19:25:00 -0500 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g2C0OwR30151 for ; Mon, 11 Mar 2002 19:24:58 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g2BMupF19429 for ; Mon, 11 Mar 2002 17:56:51 -0500 Received: from technolust.cx (technolust.cx [66.92.82.226]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g2BMtTc13863 for ; Mon, 11 Mar 2002 17:55:29 -0500 Received: from whichblade (pool-141-154-179-87.wma.east.verizon.net [141.154.179.87]) by technolust.cx (8.9.3/8.8.7) with ESMTP id RAA09503 for ; Mon, 11 Mar 2002 17:56:47 -0500 From: "Peter Petrakis" To: Subject: RE: Compaq C Compiler Date: Mon, 11 Mar 2002 17:51:15 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3C8D24CF.CBF6C22E@paralleldata.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: > X is sufficiently mature to have gone through as much tuning as I > normally do > on my codes so I expect X's performance characteristics to be > similar to my > observations, not nbench's behavior. If that is true then from my experience with X, gcc must be doing a horrible job of optimizing on Alpha. 2D performance (nevermind 3D) is abysmal compared to the intel processors of 2 years ago nevermind today. I'm using a 600Mhz LX as my baseline. It's one more reason to get X to compile with ccc. Peter -- www.linuxalpha.org www.alphadriven.org Peter Petrakis Warrior/Engineer voodoo@alphadriven.org " Who the hell are you!? Name's Ash Housewares..." From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 1ADC83EA1A for ; Mon, 11 Mar 2002 19:52:26 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g2C0qPF14834 for ; Mon, 11 Mar 2002 19:52:25 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g2C0qP406965 for axp-list@listman.redhat.com; Mon, 11 Mar 2002 19:52:25 -0500 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g2C0qOR06961 for ; Mon, 11 Mar 2002 19:52:24 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g2C0qOF14830 for ; Mon, 11 Mar 2002 19:52:24 -0500 Received: from paralleldata.com ([63.93.128.8]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g2C0p2c28122 for ; Mon, 11 Mar 2002 19:51:02 -0500 Received: by paralleldata.com from localhost (router,SLMail V5.0); Mon, 11 Mar 2002 18:45:53 -0600 for Received: from paralleldata.com [12.239.11.2] by paralleldata.com [63.93.128.8] (SLmail 5.0.0.4348) with ESMTP id A030B263D30E44B1B89E026B2A92844D for ; Mon, 11 Mar 2002 18:45:53 -0600 Message-ID: <3C8D51BD.DAADAFD7@paralleldata.com> Date: Mon, 11 Mar 2002 18:54:21 -0600 From: "W Bauske" Organization: PDS Inc. X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Compaq C Compiler References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SLUIDL: 17FC0F80-CE2B4F74-B78D3E93-0C254777 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: Peter Petrakis wrote: > > > X is sufficiently mature to have gone through as much tuning as I > > normally do > > on my codes so I expect X's performance characteristics to be > > similar to my > > observations, not nbench's behavior. > > If that is true then from my experience with X, gcc must be doing > a horrible job of optimizing on Alpha. 2D performance (nevermind 3D) is > abysmal > compared to the intel processors of 2 years ago nevermind today. > I'm using a 600Mhz LX as my baseline. It's one more reason to > get X to compile with ccc. > Until you run a profile against X and Xlibs, it would be hard to say what's really wrong. Unfortunately, I think the current architecture of X makes profiling hard to do because it does dynamic linking of modules. Anyone ever try turn on "-pg" and see what's up? Could also try attaching gdb to X and starting up the offending program and see where X is at by interrupting and looking at what routines it's spending time in. Have to have non-stripped binaries though and those dynamic links may still be hard to track. Also, you probably want to login from another system and do the gdb since the screen will be non-responsive when you interrupt X. As to comparing an Alpha to x86, Couple possible reasons. First, I'd bet there is some asm floating around for x86. Second, whether you like it or not, Mhz do matter. Have you compared the performance of a PIII 600Mhz to your 600Mhz Alpha and it still loses badly? I would expect a P4 or Athlon with clock rates in excess of a Ghz to have no problem beating your Alpha or my XP1000's for that matter. Wes From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id AC1D93EA02 for ; Tue, 12 Mar 2002 23:36:08 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g2D4a7m02495 for ; Tue, 12 Mar 2002 23:36:07 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g2D4a7t23190 for axp-list@listman.redhat.com; Tue, 12 Mar 2002 23:36:07 -0500 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g2D4a7s23185 for ; Tue, 12 Mar 2002 23:36:07 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g2D4a7m02491 for ; Tue, 12 Mar 2002 23:36:07 -0500 Received: from technolust.cx (technolust.cx [66.92.82.226]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g2D4Yer18944 for ; Tue, 12 Mar 2002 23:34:40 -0500 Received: from whichblade (pool-141-154-182-137.wma.east.verizon.net [141.154.182.137]) by technolust.cx (8.9.3/8.8.7) with ESMTP id XAA17851 for ; Tue, 12 Mar 2002 23:36:05 -0500 From: "Peter Petrakis" To: Subject: RE: Compaq C Compiler Date: Tue, 12 Mar 2002 23:30:34 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3C8D51BD.DAADAFD7@paralleldata.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: > Until you run a profile against X and Xlibs, it would be hard to say That is going to be alot work in just getting the backstory on well those things 'should' work. Unless you're an Xfree developer. > what's really wrong. Unfortunately, I think the current architecture > of X makes profiling hard to do because it does dynamic linking of > modules. Anyone ever try turn on "-pg" and see what's up? Could also Nope, not yet. > try attaching gdb to X and starting up the offending program and see > where X is at by interrupting and looking at what routines it's > spending time in. Have to have non-stripped binaries though and those > dynamic links may still be hard to track. Also, you probably want to > login from another system and do the gdb since the screen will be > non-responsive when you interrupt X. I'm familiar with these techniuqes from work with E. > As to comparing an Alpha to x86, Couple possible reasons. First, > I'd bet there is some asm floating around for x86. Second, whether you Yes definiatly and next to none on the Alpha side. Probably not even MVI. There's no good reason why someone (I guess me since I'm sooooo interested) couldnt write a set of MVI macros for pre EV6 machines. They're matrix operations for the most part and as long as the macros are schedualed for their respective processors there will be a performance gain. Actually, one could implement that in the kernel like the EV5* compat patch (to run Civ CTP :-)) that implemented MVI for all Alphas. > like it or not, Mhz do matter. Have you compared the performance of a > PIII 600Mhz to your 600Mhz Alpha and it still loses badly? I would expect I'm losing against my P "II" 400 (no katmai) both with identical video cards, voodoo3s. The 2D performance is night and day. Atleast I notice it. > a P4 or Athlon with clock rates in excess of a Ghz to have no problem > beating your Alpha or my XP1000's for that matter. Agreed though I think a properly profiled and optimized X on EV6 that is leveraging MVI will eat thier lunch and then some. Peter -- www.linuxalpha.org www.alphadriven.org Peter Petrakis Warrior/Engineer voodoo@alphadriven.org " Who the hell are you!? Name's Ash Housewares..."