[Bug rtl-optimization/83377] Missed optimization (x86): Bit operations should be converted to arithmetic

2018-12-12 Thread vinay.m.engg at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83377 --- Comment #4 from Vinay Kumar --- 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

[Bug rtl-optimization/83377] Missed optimization (x86): Bit operations should be converted to arithmetic

2018-12-11 Thread vinay.m.engg at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83377 --- Comment #3 from Vinay Kumar --- The below mentioned pattern match in match.pd generates the assembly code similar to subtraction. == diff --git a/gcc/match.pd b/gcc/match.pd index fbb4d6f..3cde6a6

[Bug target/85667] (x86_64) ms_abi rules aren't followed when returning short structs with float values

2018-10-17 Thread vinay.m.engg at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85667 Vinay Kumar changed: What|Removed |Added CC||vinay.m.engg at gmail dot com --- Comment

[Bug target/86947] Erroneous code generated with O2 and O3 for PPC

2018-08-22 Thread vinay.m.engg at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86947 --- Comment #4 from Vinay Kumar --- Hi Richard, Thanks for checking the bug. Please find attached the testcase that would exit with message "Should NOT BE here" on miscompilation. The behavior is same with other targets as well. We have

[Bug target/86947] Erroneous code generated with O2 and O3 for PPC

2018-08-22 Thread vinay.m.engg at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86947 --- Comment #3 from Vinay Kumar --- Created attachment 44572 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44572=edit Testcase t2.c

[Bug target/86947] Erroneous code generated with O2 and O3 for PPC

2018-08-22 Thread vinay.m.engg at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86947 Vinay Kumar changed: What|Removed |Added CC||vinay.m.engg at gmail dot com --- Comment