Commit 0b433de6 by Jeff Law

[multiple changes]

Sat Feb 27 01:12:40 1999  Jeffrey A Law  (law@cygnus.com)
        * md.texi (prologue,epilogue): Document named patterns.
Fri Feb 26 19:31:25 1999  Dave Love  <fx@gnu.org>
        * md.texi, invoke.texi: Fix unterminated @xrefs.

From-SVN: r25477
parent 66543169
Sat Feb 27 01:12:40 1999 Jeffrey A Law (law@cygnus.com)
* md.texi (prologue,epilogue): Document named patterns.
Fri Feb 26 19:31:25 1999 Dave Love <fx@gnu.org>
* md.texi, invoke.texi: Fix unterminated @xrefs.
Fri Feb 26 15:33:45 1999 Richard Henderson <rth@cygnus.com> Fri Feb 26 15:33:45 1999 Richard Henderson <rth@cygnus.com>
* genattrtab.c (simplify_knowing): Fix uninitialized read * genattrtab.c (simplify_knowing): Fix uninitialized read
......
...@@ -5058,7 +5058,7 @@ there. ...@@ -5058,7 +5058,7 @@ there.
You can specify that an individual function is called with this calling You can specify that an individual function is called with this calling
sequence with the function attribute @samp{stdcall}. You can also sequence with the function attribute @samp{stdcall}. You can also
override the @samp{-mrtd} option by using the function attribute override the @samp{-mrtd} option by using the function attribute
@samp{cdecl}. @xref{Function Attributes} @samp{cdecl}. @xref{Function Attributes}.
@strong{Warning:} this calling convention is incompatible with the one @strong{Warning:} this calling convention is incompatible with the one
normally used on Unix, so you cannot use it if you need to call normally used on Unix, so you cannot use it if you need to call
...@@ -5084,7 +5084,8 @@ supported letters are: @code{a} allocate EAX; @code{b} allocate EBX; ...@@ -5084,7 +5084,8 @@ supported letters are: @code{a} allocate EAX; @code{b} allocate EBX;
Control how many registers are used to pass integer arguments. By Control how many registers are used to pass integer arguments. By
default, no registers are used to pass arguments, and at most 3 default, no registers are used to pass arguments, and at most 3
registers can be used. You can control this behavior for a specific registers can be used. You can control this behavior for a specific
function by using the function attribute @samp{regparm}. @xref{Function Attributes} function by using the function attribute @samp{regparm}.
@xref{Function Attributes}.
@strong{Warning:} if you use this switch, and @strong{Warning:} if you use this switch, and
@var{num} is nonzero, then you must build all modules with the same @var{num} is nonzero, then you must build all modules with the same
...@@ -5729,7 +5730,7 @@ All variants support @samp{-mcpu=base}, this is the default. ...@@ -5729,7 +5730,7 @@ All variants support @samp{-mcpu=base}, this is the default.
Put functions, data, and readonly data in @var{text section}, Put functions, data, and readonly data in @var{text section},
@var{data section}, and @var{readonly data section} respectively @var{data section}, and @var{readonly data section} respectively
by default. This can be overridden with the @code{section} attribute. by default. This can be overridden with the @code{section} attribute.
@xref{Variable Attributes} @xref{Variable Attributes}.
@end table @end table
......
...@@ -2181,7 +2181,7 @@ pattern or a @samp{tst@var{m}} pattern. ...@@ -2181,7 +2181,7 @@ pattern or a @samp{tst@var{m}} pattern.
Machines that use a pseudo register for the condition code value, or Machines that use a pseudo register for the condition code value, or
where the mode used for the comparison depends on the condition being where the mode used for the comparison depends on the condition being
tested, should also use the above mechanism. @xref{Jump Patterns} tested, should also use the above mechanism. @xref{Jump Patterns}.
The above discussion also applies to the @samp{mov@var{mode}cc} and The above discussion also applies to the @samp{mov@var{mode}cc} and
@samp{s@var{cond}} patterns. @samp{s@var{cond}} patterns.
...@@ -2558,6 +2558,40 @@ pattern to some special register. ...@@ -2558,6 +2558,40 @@ pattern to some special register.
This pattern must be defined if @code{RETURN_ADDR_RTX} does not yield This pattern must be defined if @code{RETURN_ADDR_RTX} does not yield
something that can be reliably and permanently modified, i.e. a fixed something that can be reliably and permanently modified, i.e. a fixed
hard register or a stack memory reference. hard register or a stack memory reference.
@cindex @code{prologue} instruction pattern
@item @samp{prologue}
This pattern, if defined, emits RTL for entry to a function. The function
entry is resposible for setting up the stack frame, initializing the frame
pointer register, saving callee saved registers, etc.
Using a prologue pattern is generally preferred over defining
@code{FUNCTION_PROLOGUE} to emit assembly code for the prologue.
The @code{prologue} pattern is particularly useful for targets which perform
instruction scheduling.
@cindex @code{epilogue} instruction pattern
@item @samp{epilogue}
This pattern, if defined, emits RTL for exit from a function. The function
exit is resposible for deallocating the stack frame, restoring callee saved
registers and emitting the return instruction.
Using an epilogue pattern is generally preferred over defining
@code{FUNCTION_EPILOGUE} to emit assembly code for the prologue.
The @code{epilogue} pattern is particularly useful for targets which perform
instruction scheduling or which have delay slots for their return instruction.
@cindex @code{sibcall_epilogue} instruction pattern
@item @samp{sibcall_epilogue}
This pattern, if defined, emits RTL for exit from a function without the final
branch back to the calling function. This pattern will be emitted before any
sibling call (aka tail call) sites.
The @code{sibcall_epilogue} pattern must not clobber any arguments used for
parameter passing or any stack slots for arguments passed to the current
function.
@end table @end table
@node Pattern Ordering @node Pattern Ordering
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment