Skip to content

add CLZ opcode #3394

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jun 23, 2025
Merged

add CLZ opcode #3394

merged 8 commits into from
Jun 23, 2025

Conversation

advaita-saha
Copy link
Contributor

No description provided.

@jangko
Copy link
Contributor

jangko commented Jun 13, 2025

btw you need to add gas cost to this op code don't you?

This was referenced Jun 13, 2025
if value.isZero:
toStackElem(256.u256, top)
else:
var count = 0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stint have leadingZeros

@advaita-saha advaita-saha mentioned this pull request Jun 20, 2025
6 tasks
@advaita-saha advaita-saha deleted the branch fusaka-devnet-2 June 23, 2025 06:49
@advaita-saha advaita-saha reopened this Jun 23, 2025
@advaita-saha advaita-saha changed the base branch from fusaka-devnet-2 to master June 23, 2025 08:22
@advaita-saha advaita-saha changed the base branch from master to fusaka-devnet-2 June 23, 2025 08:23
@advaita-saha advaita-saha merged commit b03c5c5 into fusaka-devnet-2 Jun 23, 2025
4 checks passed
@advaita-saha advaita-saha deleted the CLZ branch June 23, 2025 08:25
@advaita-saha advaita-saha restored the CLZ branch June 23, 2025 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants