[llvm] [X86] Handle BSF/BSR "zero-input pass through" behaviour (PR #123623)
Phoebe Wang via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 23 03:13:16 PST 2025
================
@@ -15,12 +15,12 @@ bsf %rax, %rcx
# CHECK: Iterations: 100
# CHECK-NEXT: Instructions: 400
-# CHECK-NEXT: Total Cycles: 655
+# CHECK-NEXT: Total Cycles: 663
----------------
phoebewang wrote:
I think it makes sense somehow. The dependency is increased indeed. Fortunately BSF doesn't have partial dependency issue.
https://github.com/llvm/llvm-project/pull/123623
More information about the llvm-commits
mailing list