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

Add STOREU8, LOADU8, LOADS8 #151

Merged
merged 13 commits into from
Apr 19, 2024
Merged

Add STOREU8, LOADU8, LOADS8 #151

merged 13 commits into from
Apr 19, 2024

Conversation

thealmarty
Copy link
Collaborator

@thealmarty thealmarty commented Apr 15, 2024

As in the compiler, added:

  • STOREU8 as truncated store.
  • LOADU8 as zero extended load. (The byte is loaded to the lowest significant byte and extended to 32 bit)
  • LOADS8 as sign extended load. (The byte is loaded to the lowest significant byte and extended to 32 bit)

We may want to add truncated load as well.

cpu/src/lib.rs Show resolved Hide resolved
cpu/src/lib.rs Outdated Show resolved Hide resolved
cpu/src/lib.rs Show resolved Hide resolved
@thealmarty thealmarty force-pushed the thealmarty-ldst8 branch 4 times, most recently from 2650854 to c134477 Compare April 17, 2024 19:41
@morganthomas morganthomas marked this pull request as ready for review April 18, 2024 23:02
@morganthomas morganthomas merged commit 7a17fe8 into main Apr 19, 2024
2 checks passed
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