This is the mail archive of the gcc-bugs@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]

[Bug target/50131] Optimize x = -1 with "or" for -O


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50131

--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-08-21 09:19:28 UTC ---
I'm sure or $-1,reg doesn't avoid the data dependence on reg and may even
result in hitting partial reg stall issues.  Surely xor reg,reg; not reg
might be another alternative?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]