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

pulley: Ungate the GC_TYPES feature from Pulley #9785

Merged
merged 2 commits into from
Dec 11, 2024

Conversation

alexcrichton
Copy link
Member

Similar to #9779 this remove the GC_TYPES feature from the list of
panicking features in Pulley. In doing so this then additionally fixes a
number of panics and then adds more tests that are working. Some other
minor instructions are filled out to ensure that tests are working on
both 32 and 64-bit platforms.

cc #9783

@alexcrichton alexcrichton requested review from a team as code owners December 11, 2024 15:29
@alexcrichton alexcrichton requested review from abrown and fitzgen and removed request for a team December 11, 2024 15:29
@alexcrichton
Copy link
Member Author

Note this is currently based on #9780

;;;; Rules for `bor` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(rule 0 (lower (has_type (fits_in_32 _) (bor a b)))
(pulley_xor32 a b))
Copy link
Member

Choose a reason for hiding this comment

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

This is a somewhat unfortunate instruction name :-/

Copy link
Member Author

Choose a reason for hiding this comment

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

Heh good eye! I didn't even realize this until I added lowerings for bxor later and wrote pulley_xxor. In a future PR I'll rename this to pulley_xbor32 to make room for the actual xor op.

Similar to bytecodealliance#9779 this remove the `GC_TYPES` feature from the list of
panicking features in Pulley. In doing so this then additionally fixes a
number of panics and then adds more tests that are working. Some other
minor instructions are filled out to ensure that tests are working on
both 32 and 64-bit platforms.
@alexcrichton alexcrichton added this pull request to the merge queue Dec 11, 2024
Merged via the queue into bytecodealliance:main with commit b5101ec Dec 11, 2024
43 checks passed
@alexcrichton alexcrichton deleted the pulley-gc-types branch December 11, 2024 16:50
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