public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/38768]  New: man page: -fschedule-insns documentation
@ 2009-01-08 17:43 tim at klingt dot org
  2009-01-08 17:44 ` [Bug other/38768] " tim at klingt dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: tim at klingt dot org @ 2009-01-08 17:43 UTC (permalink / raw)
  To: gcc-bugs

according to the manpage, -fschedule-insns is enabled at the optimization
levels -O2, -O3 and -Os. according to g++ -c -Q --help=optimizers, this is not
the case, though.


-- 
           Summary: man page: -fschedule-insns documentation
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tim at klingt dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38768


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

* [Bug other/38768] man page: -fschedule-insns documentation
  2009-01-08 17:43 [Bug other/38768] New: man page: -fschedule-insns documentation tim at klingt dot org
@ 2009-01-08 17:44 ` tim at klingt dot org
  2009-01-08 18:27   ` Andrew Thomas Pinski
  2009-01-08 18:27 ` pinskia at gmail dot com
                   ` (6 subsequent siblings)
  7 siblings, 1 reply; 10+ messages in thread
From: tim at klingt dot org @ 2009-01-08 17:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tim at klingt dot org  2009-01-08 17:44 -------
Created an attachment (id=17057)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17057&action=view)
proposed patch


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38768


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

* [Bug other/38768] man page: -fschedule-insns documentation
  2009-01-08 17:43 [Bug other/38768] New: man page: -fschedule-insns documentation tim at klingt dot org
  2009-01-08 17:44 ` [Bug other/38768] " tim at klingt dot org
@ 2009-01-08 18:27 ` pinskia at gmail dot com
  2009-01-08 18:31 ` tim at klingt dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: pinskia at gmail dot com @ 2009-01-08 18:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gmail dot com  2009-01-08 18:27 -------
Subject: Re:  man page: -fschedule-insns documentation



On Jan 8, 2009, at 9:44 AM, "tim at klingt dot org" <gcc-bugzilla@gcc.gnu.org 
 > wrote:

>
>
> ------- Comment #1 from tim at klingt dot org  2009-01-08 17:44  
> -------
> Created an attachment (id=17057)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17057&action=view)
> --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17057&action=view)
> proposed patch


This patch is incorrect as -fschedule-insns is enabled at -O2 and  
above for most targets except for x86.

>
>
>
> -- 
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38768
>


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38768


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

* Re: [Bug other/38768] man page: -fschedule-insns documentation
  2009-01-08 17:44 ` [Bug other/38768] " tim at klingt dot org
@ 2009-01-08 18:27   ` Andrew Thomas Pinski
  0 siblings, 0 replies; 10+ messages in thread
From: Andrew Thomas Pinski @ 2009-01-08 18:27 UTC (permalink / raw)
  To: gcc-bugzilla; +Cc: gcc-bugs



On Jan 8, 2009, at 9:44 AM, "tim at klingt dot org" <gcc-bugzilla@gcc.gnu.org 
 > wrote:

>
>
> ------- Comment #1 from tim at klingt dot org  2009-01-08 17:44  
> -------
> Created an attachment (id=17057)
> --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17057&action=view)
> proposed patch


This patch is incorrect as -fschedule-insns is enabled at -O2 and  
above for most targets except for x86.

>
>
>
> -- 
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38768
>


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

* [Bug other/38768] man page: -fschedule-insns documentation
  2009-01-08 17:43 [Bug other/38768] New: man page: -fschedule-insns documentation tim at klingt dot org
  2009-01-08 17:44 ` [Bug other/38768] " tim at klingt dot org
  2009-01-08 18:27 ` pinskia at gmail dot com
@ 2009-01-08 18:31 ` tim at klingt dot org
  2009-01-09 20:22 ` [Bug other/38768] -fschedule-insns documentation is wrong for x86 and some other targets pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: tim at klingt dot org @ 2009-01-08 18:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from tim at klingt dot org  2009-01-08 18:30 -------
> This patch is incorrect as -fschedule-insns is enabled at -O2 and  
> above for most targets except for x86.

and x86_64 ... the only platforms i can use for testing ...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38768


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

* [Bug other/38768] -fschedule-insns documentation is wrong for x86 and some other targets
  2009-01-08 17:43 [Bug other/38768] New: man page: -fschedule-insns documentation tim at klingt dot org
                   ` (2 preceding siblings ...)
  2009-01-08 18:31 ` tim at klingt dot org
@ 2009-01-09 20:22 ` pinskia at gcc dot gnu dot org
  2010-01-14 22:12 ` reza dot yazdani at amd dot com
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-01-09 20:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2009-01-09 20:22 -------
Confirmed.  Also note -fschedule-insns is basically broken for x86 anyways.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |documentation
   Last reconfirmed|0000-00-00 00:00:00         |2009-01-09 20:22:48
               date|                            |
            Summary|man page: -fschedule-insns  |-fschedule-insns
                   |documentation               |documentation is wrong for
                   |                            |x86 and some other targets


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38768


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

* [Bug other/38768] -fschedule-insns documentation is wrong for x86 and some other targets
  2009-01-08 17:43 [Bug other/38768] New: man page: -fschedule-insns documentation tim at klingt dot org
                   ` (3 preceding siblings ...)
  2009-01-09 20:22 ` [Bug other/38768] -fschedule-insns documentation is wrong for x86 and some other targets pinskia at gcc dot gnu dot org
@ 2010-01-14 22:12 ` reza dot yazdani at amd dot com
  2010-01-15  3:31 ` hjl dot tools at gmail dot com
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: reza dot yazdani at amd dot com @ 2010-01-14 22:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from reza dot yazdani at amd dot com  2010-01-14 22:12 -------
> Confirmed.  Also note -fschedule-insns is basically broken for x86 anyways.
> 

Do you have a list of bug reports where -fschedule-insns is broken on x86?
We tried to compile all the SPEC 2006 with this option and there are no
errors in there.


-- 

reza dot yazdani at amd dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38768


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

* [Bug other/38768] -fschedule-insns documentation is wrong for x86 and some other targets
  2009-01-08 17:43 [Bug other/38768] New: man page: -fschedule-insns documentation tim at klingt dot org
                   ` (4 preceding siblings ...)
  2010-01-14 22:12 ` reza dot yazdani at amd dot com
@ 2010-01-15  3:31 ` hjl dot tools at gmail dot com
  2010-01-15  9:46 ` rguenther at suse dot de
  2010-01-15 15:19 ` reza dot yazdani at amd dot com
  7 siblings, 0 replies; 10+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-01-15  3:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from hjl dot tools at gmail dot com  2010-01-15 03:31 -------
(In reply to comment #5)
> > Confirmed.  Also note -fschedule-insns is basically broken for x86 anyways.
> > 
> 
> Do you have a list of bug reports where -fschedule-insns is broken on x86?
> We tried to compile all the SPEC 2006 with this option and there are no
> errors in there.
> 

Did you really use -fschedule-insns on SPEC CPU 2006 on 32bit?


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl dot tools at gmail dot
                   |                            |com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38768


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

* [Bug other/38768] -fschedule-insns documentation is wrong for x86 and some other targets
  2009-01-08 17:43 [Bug other/38768] New: man page: -fschedule-insns documentation tim at klingt dot org
                   ` (5 preceding siblings ...)
  2010-01-15  3:31 ` hjl dot tools at gmail dot com
@ 2010-01-15  9:46 ` rguenther at suse dot de
  2010-01-15 15:19 ` reza dot yazdani at amd dot com
  7 siblings, 0 replies; 10+ messages in thread
From: rguenther at suse dot de @ 2010-01-15  9:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rguenther at suse dot de  2010-01-15 09:46 -------
Subject: Re:  -fschedule-insns documentation is wrong for
 x86 and some other targets

On Thu, 14 Jan 2010, reza dot yazdani at amd dot com wrote:

> ------- Comment #5 from reza dot yazdani at amd dot com  2010-01-14 22:12 -------
> > Confirmed.  Also note -fschedule-insns is basically broken for x86 anyways.
> > 
> 
> Do you have a list of bug reports where -fschedule-insns is broken on x86?
> We tried to compile all the SPEC 2006 with this option and there are no
> errors in there.

24319, 38403, 42295, etc.  (that's from a -fschedule-insns search)
or walk through 
http://gcc.gnu.org/bugzilla/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&known_to_fail_type=allwordssubstr&known_to_work_type=allwordssubstr&long_desc_type=substring&long_desc=unable+to+find+a+register+to+spill&bug_file_loc_type=allwordssubstr&bug_file_loc=&gcchost_type=allwordssubstr&gcchost=&gcctarget_type=allwordssubstr&gcctarget=&gccbuild_type=allwordssubstr&gccbuild=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=SUSPENDED&bug_status=WAITING&bug_status=REOPENED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=

basically the issue is increasing register pressure and failure to
do register allocation after that.  In 4.5 -fsched-pressure might
fix some of them.

Richard.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38768


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

* [Bug other/38768] -fschedule-insns documentation is wrong for x86 and some other targets
  2009-01-08 17:43 [Bug other/38768] New: man page: -fschedule-insns documentation tim at klingt dot org
                   ` (6 preceding siblings ...)
  2010-01-15  9:46 ` rguenther at suse dot de
@ 2010-01-15 15:19 ` reza dot yazdani at amd dot com
  7 siblings, 0 replies; 10+ messages in thread
From: reza dot yazdani at amd dot com @ 2010-01-15 15:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from reza dot yazdani at amd dot com  2010-01-15 15:19 -------
We used -O2 -fsched-pressure -fschedule-insns to build the cpu2006 bmks on an
amd64-linux machine.

Thanks for the list of bugs.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38768


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

end of thread, other threads:[~2010-01-15 15:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-08 17:43 [Bug other/38768] New: man page: -fschedule-insns documentation tim at klingt dot org
2009-01-08 17:44 ` [Bug other/38768] " tim at klingt dot org
2009-01-08 18:27   ` Andrew Thomas Pinski
2009-01-08 18:27 ` pinskia at gmail dot com
2009-01-08 18:31 ` tim at klingt dot org
2009-01-09 20:22 ` [Bug other/38768] -fschedule-insns documentation is wrong for x86 and some other targets pinskia at gcc dot gnu dot org
2010-01-14 22:12 ` reza dot yazdani at amd dot com
2010-01-15  3:31 ` hjl dot tools at gmail dot com
2010-01-15  9:46 ` rguenther at suse dot de
2010-01-15 15:19 ` reza dot yazdani at amd dot com

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