diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2020-01-24 06:47:33 +0100 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2020-01-24 06:47:33 +0100 |
commit | 9adea9392bdaf9518d6f9cfce3ac0f247f3154d2 (patch) | |
tree | da54ef28ebe4e919b30c73ae11a7ede75ae0321a /gcc | |
parent | a0b935ac66bc9804b0864151e5f1bfde5ac1ddeb (diff) | |
download | gcc-9adea9392bdaf9518d6f9cfce3ac0f247f3154d2.zip gcc-9adea9392bdaf9518d6f9cfce3ac0f247f3154d2.tar.gz gcc-9adea9392bdaf9518d6f9cfce3ac0f247f3154d2.tar.bz2 |
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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/doc/tm.texi | 4 | ||||
-rw-r--r-- | gcc/target.def | 8 |
3 files changed, 12 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 023e9c3..1c77013 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 4aec468..19985ad 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 81cea0d..b5e82ff 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 |