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

[SOL] New encoding for memory instructions #118

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

LucasSte
Copy link
Collaborator

@LucasSte LucasSte commented Dec 13, 2024

SIMD-0173 introduces a new encoding for memory instructions, as follows:

STB  => 0x27 
STH  => 0x37
STW  => 0x87
STDW => 0x97
SDXB  => 0x2f
SDXH  => 0x3f
SDXW  => 0x8f
SDXDW => 0x9f
LDXB  => 0x2c 
LDXH  => 0x3c
LDXW  => 0x8c
LDXDW => 0x9c

This PR brings this new encoding to the SBF target.

@LucasSte LucasSte requested a review from dmakarov December 13, 2024 18:14
@LucasSte LucasSte marked this pull request as ready for review December 13, 2024 18:14
@dmakarov dmakarov requested a review from Lichtso December 13, 2024 21:59
@LucasSte LucasSte merged commit dda6181 into anza-xyz:solana-rustc/18.1-2024-05-19 Dec 16, 2024
15 checks passed
@LucasSte LucasSte deleted the mem-enc branch December 16, 2024 17:16
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