Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: ctz rules on s390x #19551
I don't think these rules do the right thing if the input argument is 0.
It probably doesn't matter at the moment as the runtime probably never calls Ctz with a 0 argument. But I'm about to make math/bits use the intrinsic, and there it matters.