[PATCH] [AARCH64] Modify __ARM_ARCH as per latest ACLE

2021-03-06 Thread Naveen Hurugalawadi via Gcc-patches
--_002_DM6PR18MB27780C281E55729A473FF172A7969DM6PR18MB2778namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Please find attached the patch that modifies "__ARM_ARCH" as per latest ACL= E. Built and tested the patch on aarch64-marvell-linux-gnu. Ple

RE: [EXT] Re: [PATCH] Optimize and+or+sub into xor+not (PR94882)

2020-06-04 Thread Naveen Hurugalawadi via Gcc-patches
Hi, Thanks for reviewing the patch and sharing your comments. >> nop_convert4 cannot happen, constants will have been constant folded here. Removed. >> So I think it should be and the other patterns adjusted accordingly. Modified the remaining patterns accordingly. Please find attached the modi

RE: [EXT] Re: [PATCH] Optimize and+or+sub into xor+not (PR94882)

2020-06-03 Thread Naveen Hurugalawadi via Gcc-patches
Hi Richard, Thanks for reviewing the patch and sharing your comments. >> pattern should be guarded with !TYPE_OVERFLOW_SANITIZED >> and/or !TYPE_OVERFLOW_TRAPS Done. >> can you add some cases with unsigned types and types >> smaller than int (thus with integral promotion applied)? Done. Please

[PATCH] Optimize and+or+sub into xor+not (PR94882)

2020-05-28 Thread Naveen Hurugalawadi via Gcc-patches
Hi, Please find attached the patch that addresses PR94882. Bootstrapped and regression tested on x86_64-pc-linux-gnu. Thanks, Naveen match.pd: (x & y) - (x | y) - 1 -> ~(x ^ y) simplification [PR94882] 2029-05-04 Naveen H S PR tree-optimization/94882 * match.pd (x & y) - (