Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/compile: optimize BSRQ with nonzero input
Same as BSFQ, if the input is known to be nonzero we don't need a CMOV to correct for the weird all-zero behavior of the BSRQ instruction. Fixes #51964 Change-Id: Ic1d14fdf3e7e698ff2f47efecfd761d8a036012a Reviewed-on: https://go-review.googlesource.com/c/go/+/396034 Trust: Keith Randall <[email protected]> Run-TryBot: Keith Randall <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: David Chase <[email protected]>
- Loading branch information