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 rtl-optimization/83377] Missed optimization (x86): Bit operations should be converted to arithmetic


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

--- Comment #4 from Vinay Kumar <vinay.m.engg at gmail dot com> ---
Hi,

Above mentioned patch does not work for the pattern "if( x & 2 ) y = (x &
~2UL)". 

>> Probably still easier to fix in combine / simplify-rtx.
We are working as per your suggestion.

Regards,
Vinay

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