[Bug tree-optimization/94877] Failure to simplify ~(x + 1) to -2 - x
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed May 6 14:55:21 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94877
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I'm not sure why this is considered a simplification, two insns vs. two, and on
the subtraction it isn't specific to just one target, but I think for most the
constant will need to be forced into register, the immediates the instructions
have is mostly for the second operand.
More information about the Gcc-bugs
mailing list