diff options
Diffstat (limited to 'gcc/doc/md.texi')
-rw-r--r-- | gcc/doc/md.texi | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index 3eae212..49dfda9 100644 --- a/gcc/doc/md.texi +++ b/gcc/doc/md.texi @@ -7783,8 +7783,16 @@ latency time for given instruction pair. This is so called bypasses. @var{number} defines when the result generated by the instructions given in string @var{out_insn_names} will be ready for the -instructions given in string @var{in_insn_names}. The instructions in -the string are separated by commas. +instructions given in string @var{in_insn_names}. Each of these +strings is a comma-separated list of filename-style globs and +they refer to the names of @code{define_insn_reservation}s. +For example: +@smallexample +(define_bypass 1 "cpu1_load_*, cpu1_store_*" "cpu1_load_*") +@end smallexample +defines a bypass between instructions that start with +@samp{cpu1_load_} or @samp{cpu1_store_} and those that start with +@samp{cpu1_load_}. @var{guard} is an optional string giving the name of a C function which defines an additional guard for the bypass. The function will get the |