Skip to content
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

[Type][refactor] Use Tagged Pointer for bit-level pointers #1952

Closed
Hanke98 opened this issue Oct 14, 2020 · 0 comments
Closed

[Type][refactor] Use Tagged Pointer for bit-level pointers #1952

Hanke98 opened this issue Oct 14, 2020 · 0 comments
Labels
feature request Suggest an idea on this project

Comments

@Hanke98
Copy link
Contributor

Hanke98 commented Oct 14, 2020

Concisely describe the proposed feature
Related to pr #1948 and issue #1905 .
Since we implemented PointerType which could be used for pointing to a specific bit, we might need to use tagged pointer to describe the bit address. Then we can use the bit address to do some bit-level operations like setting some bits to zero or one.

Describe the solution you'd like (if any)
A possible way is using a derived class like TaggedPointerType which contains some additional information. We could use the additional information as the bit address in the byte.

Please help me to know if this is right. Thanks a lot!

@Hanke98 Hanke98 added the feature request Suggest an idea on this project label Oct 14, 2020
@Hanke98 Hanke98 closed this as completed Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Suggest an idea on this project
Projects
None yet
Development

No branches or pull requests

1 participant