This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/83377] Missed optimization (x86): Bit operations should be converted to arithmetic
- From: "vinay.m.engg at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 12 Dec 2018 12:33:31 +0000
- Subject: [Bug rtl-optimization/83377] Missed optimization (x86): Bit operations should be converted to arithmetic
- Auto-submitted: auto-generated
- References: <bug-83377-4@http.gcc.gnu.org/bugzilla/>
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