Commit bcec133f by Eric Botcazou Committed by Eric Botcazou

re PR rtl-optimization/84071 (wrong elimination of zero-extension after sign-extended load)

	PR rtl-optimization/84071
	* doc/tm.texi.in (WORD_REGISTER_OPERATIONS): Add explicit case.
	* doc/tm.texi: Regenerate.

From-SVN: r257237
parent cb6a6b25
2018-01-31 Eric Botcazou <ebotcazou@adacore.com>
PR rtl-optimization/84071
* doc/tm.texi.in (WORD_REGISTER_OPERATIONS): Add explicit case.
* doc/tm.texi: Regenerate.
2018-01-31 Richard Biener <rguenther@suse.de> 2018-01-31 Richard Biener <rguenther@suse.de>
PR tree-optimization/84132 PR tree-optimization/84132
......
...@@ -10766,8 +10766,12 @@ five otherwise. This is best for most machines. ...@@ -10766,8 +10766,12 @@ five otherwise. This is best for most machines.
@defmac WORD_REGISTER_OPERATIONS @defmac WORD_REGISTER_OPERATIONS
Define this macro to 1 if operations between registers with integral mode Define this macro to 1 if operations between registers with integral mode
smaller than a word are always performed on the entire register. smaller than a word are always performed on the entire register. To be
Most RISC machines have this property and most CISC machines do not. more explicit, if you start with a pair of @code{word_mode} registers with
known values and you do a subword, for example @code{QImode}, addition on
the low part of the registers, then the compiler may consider that the
result has a known value in @code{word_mode} too if the macro is defined
to 1. Most RISC machines have this property and most CISC machines do not.
@end defmac @end defmac
@deftypefn {Target Hook} {unsigned int} TARGET_MIN_ARITHMETIC_PRECISION (void) @deftypefn {Target Hook} {unsigned int} TARGET_MIN_ARITHMETIC_PRECISION (void)
......
...@@ -7376,8 +7376,12 @@ is in effect. ...@@ -7376,8 +7376,12 @@ is in effect.
@defmac WORD_REGISTER_OPERATIONS @defmac WORD_REGISTER_OPERATIONS
Define this macro to 1 if operations between registers with integral mode Define this macro to 1 if operations between registers with integral mode
smaller than a word are always performed on the entire register. smaller than a word are always performed on the entire register. To be
Most RISC machines have this property and most CISC machines do not. more explicit, if you start with a pair of @code{word_mode} registers with
known values and you do a subword, for example @code{QImode}, addition on
the low part of the registers, then the compiler may consider that the
result has a known value in @code{word_mode} too if the macro is defined
to 1. Most RISC machines have this property and most CISC machines do not.
@end defmac @end defmac
@hook TARGET_MIN_ARITHMETIC_PRECISION @hook TARGET_MIN_ARITHMETIC_PRECISION
......
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