This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Jie Zhang wrote:But "maximum signed value" is the same meaning of "maximum positive number representable as a signed value", isn't? I prefer the former, which is simple and short. Is it OK if I commit the original patch?SS_ABS is not handled in simplify_const_unary_operation and ss_abs is not documented. This patch fixes these. Is it OK for mainline?
+@code{ss_abs} ensures that an out-of-bounds result saturates to the +maximum signed value. +
Maybe clarify that as "maximum positive number representable as a signed value"? Otherwise ok.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |