public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Contribution
@ 2022-12-14 15:32 Mohamed Atef
  2022-12-15 14:47 ` Contribution Jason Merrill
  2022-12-15 16:42 ` Contribution Paul Smith
  0 siblings, 2 replies; 10+ messages in thread
From: Mohamed Atef @ 2022-12-14 15:32 UTC (permalink / raw)
  To: gcc

[-- Attachment #1: Type: text/plain, Size: 265 bytes --]

Hello all,
   As I mentioned before, I don't have much time to contribute.
So is there any way I can contribute some medium project I can work on but
myself in the long run? I loved this community, I contributed before so can
you suggest some work for me?

Mohamed

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Contribution
  2022-12-14 15:32 Contribution Mohamed Atef
@ 2022-12-15 14:47 ` Jason Merrill
  2022-12-15 16:42 ` Contribution Paul Smith
  1 sibling, 0 replies; 10+ messages in thread
From: Jason Merrill @ 2022-12-15 14:47 UTC (permalink / raw)
  To: Mohamed Atef; +Cc: gcc

[-- Attachment #1: Type: text/plain, Size: 687 bytes --]

Hi, thanks for your interest.

There are some ideas at https://gcc.gnu.org/wiki/EasyHacks

You might also look at Bugzilla PRs with a lot of interest, particularly
with severity of "enhancement".  In the search results screen you can
display the number of CCs and duplicates using the "change columns" button
at the bottom.

On Wed, Dec 14, 2022 at 10:33 AM Mohamed Atef via Gcc <gcc@gcc.gnu.org>
wrote:

> Hello all,
>    As I mentioned before, I don't have much time to contribute.
> So is there any way I can contribute some medium project I can work on but
> myself in the long run? I loved this community, I contributed before so can
> you suggest some work for me?
>
> Mohamed
>
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Contribution
  2022-12-14 15:32 Contribution Mohamed Atef
  2022-12-15 14:47 ` Contribution Jason Merrill
@ 2022-12-15 16:42 ` Paul Smith
  1 sibling, 0 replies; 10+ messages in thread
From: Paul Smith @ 2022-12-15 16:42 UTC (permalink / raw)
  To: gcc

On Wed, 2022-12-14 at 17:32 +0200, Mohamed Atef via Gcc wrote:
> Hello all,
>    As I mentioned before, I don't have much time to contribute.
> So is there any way I can contribute some medium project I can work
> on but myself in the long run? I loved this community, I contributed
> before so can you suggest some work for me?

I don't know if it's on the EasyHacks list but there's this bug with a
patch I filed years ago, that has been asked for multiple times since,
but I've never had the bandwidth to polish and submit it and it looks
like I never will.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78147

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Contribution
  2022-03-14  8:35 ` Fwd: Contribution farhad
@ 2022-03-14 16:51   ` David Edelsohn
  0 siblings, 0 replies; 10+ messages in thread
From: David Edelsohn @ 2022-03-14 16:51 UTC (permalink / raw)
  To: farhad; +Cc: GCC Development

On Mon, Mar 14, 2022 at 4:37 AM farhad via Gcc <gcc@gcc.gnu.org> wrote:
>
> TO whom it may concern,
> I'm Farhad Sarvari and I have been working as a software engineer for more
> than 10 years and also have a strong background in c++ programming language.
> In addition I wrote a book about modern C++.
> <https://leanpub.com/cpplibrary-persian>  I want to contribute to GCC
> development. It would be great if you provide more detail about how i can
> contribute.
> Thanks in advance. I'm looking forward to hearing from you.

Thanks for your interest in GCC.  Welcome!

A good place to start is the GCC Wiki Getting Started page:
https://gcc.gnu.org/wiki/#Getting_Started_with_GCC_Development

and browse other recent answers to similar questions in the archives
of this mailing list.

Thanks, David

>
> Best regards,
> Farhad
>
> --
> sent by Farhad
>
>
> --
> sent by Farhad

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: contribution
  2002-04-12 11:42   ` contribution Alexey Starovoytov
@ 2002-04-12 15:15     ` Toon Moene
  0 siblings, 0 replies; 10+ messages in thread
From: Toon Moene @ 2002-04-12 15:15 UTC (permalink / raw)
  To: Alexey Starovoytov; +Cc: Andi Kleen, gcc

Alexey Starovoytov wrote:

> On 12 Apr 2002, Andi Kleen wrote:

> > You could compiled 172.mgrid with gcc twice this way and it showed 48%
> > improvement ? Or did you use a different compiler as backend?

> It was gcc3.0.4 as a backend.

mgrid is one of those codes that heavily pays for reruning loop
optimisation (as it is now).

At least looking at the generated assembler, g77 -O2 -fno-rerun-loop-opt
produces much better code.

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: contribution
  2002-04-12  1:28 ` contribution Andi Kleen
@ 2002-04-12 11:42   ` Alexey Starovoytov
  2002-04-12 15:15     ` contribution Toon Moene
  0 siblings, 1 reply; 10+ messages in thread
From: Alexey Starovoytov @ 2002-04-12 11:42 UTC (permalink / raw)
  To: Andi Kleen; +Cc: gcc

On 12 Apr 2002, Andi Kleen wrote:

> Alexey Starovoytov <starlex@eng.sun.com> writes:
>
> > For example SPECfp benchmark 172.mgrid showed 48% improvement
> > compiled with "-O2 -Ws,-O2,-fno-strict-aliasing" vs plain GCC with "-O2"
>
> You could compiled 172.mgrid with gcc twice this way and it showed 48%
> improvement ? Or did you use a different compiler as backend?
It was gcc3.0.4 as a backend.

Environment:
US2 450Mhz Solaris 2.8

gcc_3.0.4   -O2:
Success 172.mgrid ratio=59.73, runtime=3013.766979

GCC_3.0.4 -> C -> GCC_3.0.4    -O2 -Ws,-O2,-fno-strict-aliasing
Success 172.mgrid ratio=88.55, runtime=2032.768725

GCC_3.1 -> C -> GCC_3.0.4    -O2 -Ws,-O2,-fno-strict-aliasing
Success 172.mgrid ratio=98.22, runtime=1832.557732

> If you used gcc - is it known where that huge difference comes from?
I didn't have time to check.

Best regards,
Alexey.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: contribution
  2002-04-12  5:54 ` contribution Andi Kleen
@ 2002-04-12  5:58   ` Toon Moene
  0 siblings, 0 replies; 10+ messages in thread
From: Toon Moene @ 2002-04-12  5:58 UTC (permalink / raw)
  To: Andi Kleen; +Cc: gcc, starlex

Andi Kleen wrote:

> > > You could compiled 172.mgrid with gcc twice this way and it showed
> > > 48% improvement ? Or did you use a different compiler as backend?
> > > If you used gcc - is it known where that huge difference comes
> > > from?

> To be honest I don't believe that he got that result with multiple runs
> of gcc. If yes that would be a very bad bug in the optimizer. More likely
> it was reached with the proprietary Sun compiler as backend (that would
> make the patch more a porting tool for GNU C programs to Sun C)

Hmm, I wouldn't be surprised at all ...  When g77 came out (in February
'95) we had a hard time beating the f2c+gcc combo.  It might still be
the case that, e.g., multi-rank array code (as in mgrid) is treated more
optimally by the gcc middle-end when first "squashed" by a Fortran to C
converter into a linear array.

--
Toon Moene, KNMI, PO Box 201, 3730 AE De Bilt, The Netherlands.
Tel. +31302206443, Fax +31302210407,  e-mail moene@knmi.nl
URL: http://www.knmi.nl/hirlam

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: contribution
       [not found] <3CB6D448.45A4FE3E@knmi.nl.suse.lists.egcs>
@ 2002-04-12  5:54 ` Andi Kleen
  2002-04-12  5:58   ` contribution Toon Moene
  0 siblings, 1 reply; 10+ messages in thread
From: Andi Kleen @ 2002-04-12  5:54 UTC (permalink / raw)
  To: Toon Moene; +Cc: gcc, starlex

Toon Moene <moene@knmi.nl> writes:

> Andi Kleen wrote:
> 
> > Alexey Starovoytov <starlex@eng.sun.com> writes:
> 
> >> For example SPECfp benchmark 172.mgrid showed 48% improvement
> >> compiled with "-O2 -Ws,-O2,-fno-strict-aliasing" vs plain GCC 
> >> with "-O2"
> 
> > You could compiled 172.mgrid with gcc twice this way and it showed 
> > 48% improvement ? Or did you use a different compiler as backend? 
> > If you used gcc - is it known where that huge difference comes 
> > from? 
> 
> A more important aspect of such a compiler would be idempotency.
> 
> I.e., is
> 
> 	gcc(gcc(x.c)) = gcc(x.c)
> 
> ?

To be honest I don't believe that he got that result with multiple runs
of gcc. If yes that would be a very bad bug in the optimizer. More likely
it was reached with the proprietary Sun compiler as backend (that would 
make the patch more a porting tool for GNU C programs to Sun C) 

-Andi

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: contribution
@ 2002-04-12  5:45 Toon Moene
  0 siblings, 0 replies; 10+ messages in thread
From: Toon Moene @ 2002-04-12  5:45 UTC (permalink / raw)
  To: gcc

Andi Kleen wrote:

> Alexey Starovoytov <starlex@eng.sun.com> writes:

>> For example SPECfp benchmark 172.mgrid showed 48% improvement
>> compiled with "-O2 -Ws,-O2,-fno-strict-aliasing" vs plain GCC 
>> with "-O2"

> You could compiled 172.mgrid with gcc twice this way and it showed 
> 48% improvement ? Or did you use a different compiler as backend? 
> If you used gcc - is it known where that huge difference comes 
> from? 

A more important aspect of such a compiler would be idempotency.

I.e., is

	gcc(gcc(x.c)) = gcc(x.c)

?

[ Ducks :-) ]

--
Toon Moene, KNMI, PO Box 201, 3730 AE De Bilt, The Netherlands.
Tel. +31302206443, Fax +31302210407,  e-mail moene@knmi.nl
URL: http://www.knmi.nl/hirlam

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: contribution
       [not found] <Pine.GSO.4.31.0204112030350.15026-101000@boojum.suse.lists.egcs-patches>
@ 2002-04-12  1:28 ` Andi Kleen
  2002-04-12 11:42   ` contribution Alexey Starovoytov
  0 siblings, 1 reply; 10+ messages in thread
From: Andi Kleen @ 2002-04-12  1:28 UTC (permalink / raw)
  To: Alexey Starovoytov; +Cc: gcc

Alexey Starovoytov <starlex@eng.sun.com> writes:

> For example SPECfp benchmark 172.mgrid showed 48% improvement
> compiled with "-O2 -Ws,-O2,-fno-strict-aliasing" vs plain GCC with "-O2"

You could compiled 172.mgrid with gcc twice this way and it showed 48%
improvement ? Or did you use a different compiler as backend? 
If you used gcc - is it known where that huge difference comes from? 

-Andi

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-12-15 16:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-14 15:32 Contribution Mohamed Atef
2022-12-15 14:47 ` Contribution Jason Merrill
2022-12-15 16:42 ` Contribution Paul Smith
     [not found] <CAOw3FZBzjtxEmbSMJDviD-td4bDM_mCMs9BQpk0SvK4EpR8N5g@mail.gmail.com>
2022-03-14  8:35 ` Fwd: Contribution farhad
2022-03-14 16:51   ` Contribution David Edelsohn
     [not found] <3CB6D448.45A4FE3E@knmi.nl.suse.lists.egcs>
2002-04-12  5:54 ` contribution Andi Kleen
2002-04-12  5:58   ` contribution Toon Moene
  -- strict thread matches above, loose matches on Subject: below --
2002-04-12  5:45 contribution Toon Moene
     [not found] <Pine.GSO.4.31.0204112030350.15026-101000@boojum.suse.lists.egcs-patches>
2002-04-12  1:28 ` contribution Andi Kleen
2002-04-12 11:42   ` contribution Alexey Starovoytov
2002-04-12 15:15     ` contribution Toon Moene

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).