Remix.run Logo
tapirl 6 hours ago

Maybe I'm wrong, but should it be @clz instead?

wrs 5 hours ago | parent [-]

No, the diagram looks like a binary literal but it's actually backwards from that. Lane 0 becomes the LSB, but that's on the left of the diagram.

tapirl 5 hours ago | parent [-]

Aha, you are right. Smaller indexes are for least-significant bits.