Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove dependency on bits.h in default.c when BUILDING_MODULAR_GC #13351

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

peterzhu2118
Copy link
Member

We can assume that the compiler will have __builtin_clzll so we can implement nlz_int64 using that.

We can assume that the compiler will have __builtin_clzll so we can implement
nlz_int64 using that.
We unpoison slots allocated out of the GC, so we don't need to disable
the assertions that read from the memory.
Copy link

launchable-app bot commented May 15, 2025

Tests Failed

✖️no tests failed ✔️61819 tests passed(10 flakes)

@nobu
Copy link
Member

nobu commented May 16, 2025

We can assume that the compiler will have __builtin_clzl

Why?

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.

2 participants