[Bug target/78037] Incorrect code generated at optimization level -O2 for tzcnt and binary and

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Oct 20 10:19:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78037

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|tree-optimization           |target

--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> ---
Back to target because:

@defmac CLZ_DEFINED_VALUE_AT_ZERO (@var{mode}, @var{value})
@defmacx CTZ_DEFINED_VALUE_AT_ZERO (@var{mode}, @var{value})
A C expression that indicates whether the architecture defines a value
for @code{clz} or @code{ctz} with a zero operand.
...
Note that regardless of this macro the ``definedness'' of @code{clz}
and @code{ctz} at zero do @emph{not} extend to the builtin functions
visible to the user.  Thus one may be free to adjust the value at will
to match the target expansion of these operations without fear of
breaking the API@.


More information about the Gcc-bugs mailing list