From 9adea9392bdaf9518d6f9cfce3ac0f247f3154d2 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Fri, 24 Jan 2020 06:47:33 +0100 Subject: [PATCH] doc: target.def (flags_regnum): Also mention effect on delay slot filling. * 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 | 5 +++++ gcc/doc/tm.texi | 4 +++- gcc/target.def | 8 ++++---- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 023e9c398ea..1c77013927a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2020-01-24 Hans-Peter Nilsson + + * target.def (flags_regnum): Also mention effect on delay slot filling. + * doc/tm.texi: Regenerate. + 2020-01-23 Jeff Law * config/h8300/h8300.c (h8300_option_override): Fix diagnostic text. diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 4aec468814c..19985adac3e 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -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 diff --git a/gcc/target.def b/gcc/target.def index 81cea0d8bd1..b5e82ff826e 100644 --- a/gcc/target.def +++ b/gcc/target.def @@ -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 -- 2.30.2