ping: [PATCH V2] rs6000: Add new patterns rlwinm with mask

2023-04-25 Thread Jiufu Guo via Gcc-patches
Hi, I would like to ping this for comments. https://gcc.gnu.org/pipermail/gcc-patches/2023-February/611821.html In this patch, "subreg:DI (x:SI)" is used. I' thinking that this may be a concern, while it maybe acceptable for current code. BR, Jeff (Jiufu) Jiufu Guo writes: > Hi, > > Compare

[PATCH V2] rs6000: Add new patterns rlwinm with mask

2023-02-12 Thread Jiufu Guo via Gcc-patches
Hi, Compare with previous version: https://gcc.gnu.org/pipermail/gcc-patches/2023-February/611513.html This patch remove un-needed lowpart_subreg_operand. For code: ``` u64 test_rlwinm_lowpart_mask (u32 v) { u32 v1 = ((v << N) | (v >> (32 - N))) & 0xf00; return (u64)v1; } ``` We generate