public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] profiledbootstrap
@ 2004-10-27 12:43 Andreas Krebbel
  2004-10-27 13:10 ` Jan Hubicka
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Krebbel @ 2004-10-27 12:43 UTC (permalink / raw)
  To: jh; +Cc: gcc-patches

Hi Jan,

profiledbootstrap still does not work (at least on i386 and s390) due to
PR 14684. The patch proposed in the PR by Kelley Cook was not applied on mainline.

I've limited the patch to enable only -funroll-loops as you suggested in the PR. 
With the patch applied profiledbootstrap survives on i386 and s390.


OK?

Bye,

-Andreas-

2004-10-27  Andreas Krebbel  <krebbel@de.ibm.com>
            patch originally created by Kelley Cook  <kcook@gcc.gnu.org>

	PR middle-end/14684
	* opts.c (OPT_fprofile_generate): Default to -funroll-loops 
	to match -fprofile-use.

Index: gcc/opts.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/opts.c,v
retrieving revision 1.83
diff -p -c -r1.83 opts.c
*** gcc/opts.c	14 Oct 2004 18:29:17 -0000	1.83
--- gcc/opts.c	27 Oct 2004 11:13:52 -0000
*************** common_handle_option (size_t scode, cons
*** 854,859 ****
--- 854,861 ----
          flag_profile_values = value;
        if (!flag_value_profile_transformations_set)
          flag_value_profile_transformations = value;
+       if (!flag_unroll_loops_set)
+ 	flag_unroll_loops = value;
  #ifdef HAVE_prefetch
        if (0 && !flag_speculative_prefetching_set)
  	flag_speculative_prefetching = value;

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

* Re: [PATCH] profiledbootstrap
  2004-10-27 12:43 [PATCH] profiledbootstrap Andreas Krebbel
@ 2004-10-27 13:10 ` Jan Hubicka
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Hubicka @ 2004-10-27 13:10 UTC (permalink / raw)
  To: Andreas Krebbel; +Cc: jh, gcc-patches

> Hi Jan,
> 
> profiledbootstrap still does not work (at least on i386 and s390) due to
> PR 14684. The patch proposed in the PR by Kelley Cook was not applied on mainline.
> 
> I've limited the patch to enable only -funroll-loops as you suggested in the PR. 
> With the patch applied profiledbootstrap survives on i386 and s390.
> 
> 
> OK?
OK, thanks!
Honza
> 
> Bye,
> 
> -Andreas-
> 
> 2004-10-27  Andreas Krebbel  <krebbel@de.ibm.com>
>             patch originally created by Kelley Cook  <kcook@gcc.gnu.org>
> 
> 	PR middle-end/14684
> 	* opts.c (OPT_fprofile_generate): Default to -funroll-loops 
> 	to match -fprofile-use.
> 
> Index: gcc/opts.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/opts.c,v
> retrieving revision 1.83
> diff -p -c -r1.83 opts.c
> *** gcc/opts.c	14 Oct 2004 18:29:17 -0000	1.83
> --- gcc/opts.c	27 Oct 2004 11:13:52 -0000
> *************** common_handle_option (size_t scode, cons
> *** 854,859 ****
> --- 854,861 ----
>           flag_profile_values = value;
>         if (!flag_value_profile_transformations_set)
>           flag_value_profile_transformations = value;
> +       if (!flag_unroll_loops_set)
> + 	flag_unroll_loops = value;
>   #ifdef HAVE_prefetch
>         if (0 && !flag_speculative_prefetching_set)
>   	flag_speculative_prefetching = value;

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

end of thread, other threads:[~2004-10-27 12:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-27 12:43 [PATCH] profiledbootstrap Andreas Krebbel
2004-10-27 13:10 ` Jan Hubicka

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).