Re: [PATCH v2 1/2] LoongArch: Simplify using bstr{ins,pick} instructions for and

2025-01-19 Thread Lulu Cheng
LGTM! Thanks! 在 2025/1/18 下午7:33, Xi Ruoyao 写道: For bstrins, we can merge it into and3 instead of having a separate define_insn. For bstrpick, we can use the constraints to ensure the first source register and the destination register are the same hardware register, instead of emitting a move

[PATCH v2 1/2] LoongArch: Simplify using bstr{ins, pick} instructions for and

2025-01-18 Thread Xi Ruoyao
For bstrins, we can merge it into and3 instead of having a separate define_insn. For bstrpick, we can use the constraints to ensure the first source register and the destination register are the same hardware register, instead of emitting a move manually. This will simplify the next commit where