public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/26831]  New: sibcall, sibcall_value, sibcall_pop, sibcall_value_pop:  standard names not documented.
@ 2006-03-23 20:43 dave dot korn at artimi dot com
  2006-03-23 20:49 ` [Bug middle-end/26831] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dave dot korn at artimi dot com @ 2006-03-23 20:43 UTC (permalink / raw)
  To: gcc-bugs

As the subject says, these four standard names are not documented.  By analogy
to the way in which "sibcall_epilogue" has a separate entry from "epilogue",
they should also have their own entries in the "standard pattern names for
generation" chapter of the internals manual.  The entry for
FUNCTION_OK_FOR_SIBCALL even refers to "the 'sibcall' md pattern", but there is
no other mention of it.

  Note also that if you implement siball_epilogue by emitting a
fully-schedulable RTL epilogue (rather than just using an unspec to represent
the entire thing as a black box to the compiler and emitting it opencoded at
assembler output generation time like the arm port does in 3.3.3 where I
discovered this), you may also need to implement these sibcall patterns, or you
can get ICEn when the register allocator gets confused in one of the later
passes.  This dependency is not mentioned anywhere.  However I have not tested
it against 4.x/HEAD to see if it remains the case.

    cheers, 
       DaveK


-- 
           Summary: sibcall, sibcall_value, sibcall_pop, sibcall_value_pop:
                    standard names not documented.
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dave dot korn at artimi dot com


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


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

* [Bug middle-end/26831] sibcall, sibcall_value, sibcall_pop, sibcall_value_pop:  standard names not documented.
  2006-03-23 20:43 [Bug middle-end/26831] New: sibcall, sibcall_value, sibcall_pop, sibcall_value_pop: standard names not documented dave dot korn at artimi dot com
@ 2006-03-23 20:49 ` pinskia at gcc dot gnu dot org
  2006-03-26 17:20 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-23 20:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-03-23 20:49 -------
Interesting, sibcall_epilogue is documented though.
http://gcc.gnu.org/onlinedocs/gccint/Standard-Names.html#Standard-Names


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-03-23 20:49:05
               date|                            |


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


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

* [Bug middle-end/26831] sibcall, sibcall_value, sibcall_pop, sibcall_value_pop:  standard names not documented.
  2006-03-23 20:43 [Bug middle-end/26831] New: sibcall, sibcall_value, sibcall_pop, sibcall_value_pop: standard names not documented dave dot korn at artimi dot com
  2006-03-23 20:49 ` [Bug middle-end/26831] " pinskia at gcc dot gnu dot org
@ 2006-03-26 17:20 ` pinskia at gcc dot gnu dot org
  2006-03-27 10:05 ` dave dot korn at artimi dot com
  2010-01-06 10:46 ` Paulo dot Matos at csr dot com
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-26 17:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-03-26 17:20 -------
Note I would like these standard names documented also since I would need them
to implement them on the SPU (SPE on the Cell) target.


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

* [Bug middle-end/26831] sibcall, sibcall_value, sibcall_pop, sibcall_value_pop:  standard names not documented.
  2006-03-23 20:43 [Bug middle-end/26831] New: sibcall, sibcall_value, sibcall_pop, sibcall_value_pop: standard names not documented dave dot korn at artimi dot com
  2006-03-23 20:49 ` [Bug middle-end/26831] " pinskia at gcc dot gnu dot org
  2006-03-26 17:20 ` pinskia at gcc dot gnu dot org
@ 2006-03-27 10:05 ` dave dot korn at artimi dot com
  2010-01-06 10:46 ` Paulo dot Matos at csr dot com
  3 siblings, 0 replies; 5+ messages in thread
From: dave dot korn at artimi dot com @ 2006-03-27 10:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from dave dot korn at artimi dot com  2006-03-27 10:05 -------
  Added by rth's sibcall optimisations back in March 2000:

http://gcc.gnu.org/viewcvs?rev=32612&view=rev

  Should we give him a ping?

   cheers, 
      DaveK


-- 


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


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

* [Bug middle-end/26831] sibcall, sibcall_value, sibcall_pop, sibcall_value_pop:  standard names not documented.
  2006-03-23 20:43 [Bug middle-end/26831] New: sibcall, sibcall_value, sibcall_pop, sibcall_value_pop: standard names not documented dave dot korn at artimi dot com
                   ` (2 preceding siblings ...)
  2006-03-27 10:05 ` dave dot korn at artimi dot com
@ 2010-01-06 10:46 ` Paulo dot Matos at csr dot com
  3 siblings, 0 replies; 5+ messages in thread
From: Paulo dot Matos at csr dot com @ 2010-01-06 10:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from Paulo dot Matos at csr dot com  2010-01-06 10:46 -------
Almost four years have gone and nobody was able to document these. It would be
nice to see these in the docs! :-)

I am looking for them since I don't know what they are for at the moment,
otherwise I could give it a go and contribute!


-- 


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


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

end of thread, other threads:[~2010-01-06 10:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-23 20:43 [Bug middle-end/26831] New: sibcall, sibcall_value, sibcall_pop, sibcall_value_pop: standard names not documented dave dot korn at artimi dot com
2006-03-23 20:49 ` [Bug middle-end/26831] " pinskia at gcc dot gnu dot org
2006-03-26 17:20 ` pinskia at gcc dot gnu dot org
2006-03-27 10:05 ` dave dot korn at artimi dot com
2010-01-06 10:46 ` Paulo dot Matos at csr 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).