[Bug target/50131] Optimize x = -1 with "or" for -O
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Aug 23 14:57:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50131
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sergos.gnu at gmail dot com
--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> 2011-08-23 14:38:58 UTC ---
We do have
/* X86_TUNE_MOVE_M1_VIA_OR: On pentiums, it is faster to load -1 via OR
than a MOV. */
m_PENT,
We should check how it performs on the current processors.
More information about the Gcc-bugs
mailing list