doc: target.def (flags_regnum): Also mention effect on delay slot filling.
authorHans-Peter Nilsson <hp@axis.com>
Fri, 24 Jan 2020 05:47:33 +0000 (06:47 +0100)
committerHans-Peter Nilsson <hp@axis.com>
Fri, 24 Jan 2020 05:47:33 +0000 (06:47 +0100)
* target.def (flags_regnum): Also mention effect on delay slot filling.
* doc/tm.texi: Regenerate.

Previously only mentioned an effect on compare elimination.

gcc/ChangeLog
gcc/doc/tm.texi
gcc/target.def

index 023e9c3..1c77013 100644 (file)
@@ -1,3 +1,8 @@
+2020-01-24  Hans-Peter Nilsson  <hp@axis.com>
+
+       * target.def (flags_regnum): Also mention effect on delay slot filling.
+       * doc/tm.texi: Regenerate.
+
 2020-01-23  Jeff Law  <law@redhat.com>
 
        * config/h8300/h8300.c (h8300_option_override): Fix diagnostic text.
index 4aec468..19985ad 100644 (file)
@@ -6532,7 +6532,9 @@ returns @code{VOIDmode}.
 @end deftypefn
 
 @deftypevr {Target Hook} {unsigned int} TARGET_FLAGS_REGNUM
-If the target has a dedicated flags register, and it needs to use the post-reload comparison elimination pass, then this value should be set appropriately.
+If the target has a dedicated flags register, and it needs to use the
+post-reload comparison elimination pass, or the delay slot filler pass,
+then this value should be set appropriately.
 @end deftypevr
 
 @node Costs
index 81cea0d..b5e82ff 100644 (file)
@@ -3716,10 +3716,10 @@ of spill registers and print a fatal error message.",
    target is constrainted to use post-reload comparison elimination.  */
 DEFHOOKPOD
 (flags_regnum,
- "If the target has a dedicated flags register, and it needs to use the\
- post-reload comparison elimination pass, then this value should be set\
- appropriately.",
- unsigned int, INVALID_REGNUM)
+ "If the target has a dedicated flags register, and it needs to use the\n\
+post-reload comparison elimination pass, or the delay slot filler pass,\n\
+then this value should be set appropriately.",
+unsigned int, INVALID_REGNUM)
 
 /* Compute a (partial) cost for rtx X.  Return true if the complete
    cost has been computed, and false if subexpressions should be