Thanks for your suggestion!

Indeed, there are still some scenarios that can be optimized and improved next.

在 2024/12/30 下午12:06, Xi Ruoyao 写道:
On Mon, 2024-12-30 at 10:39 +0800, Guo Jie wrote:
+             /* Make sure that imm is a positive integer power of
2.  */
Maybe we should also consider the case $imm = 2^k + 1$ as they can be
implemented with sl[te] and bstrins.[wd].  But it can be done in another
patch anyway.

+             if (val > 0 && !(val & (val - 1)))
+               can_be_optimized = true;

Reply via email to