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

[wasm] Implement more jiterpreter opcodes #82849

Merged
merged 2 commits into from
Mar 1, 2023

Conversation

kg
Copy link
Member

@kg kg commented Mar 1, 2023

This PR implements:

  • MINT_NEWSTR
  • MINT_ARRAY_ELEMENT_SIZE
  • MINT_DIV_I8
  • MINT_REM_I8

NEWSTR was causing a lot of aborts in some test suites, and it's simple to implement. ARRAY_ELEMENT_SIZE wasn't very common but it makes sense to have it if we already have ARRAY_RANK.
The I8 versions of div/rem were omitted previously because I didn't have appendBoundaryValue, now that it exists it's easy to implement them.

@kg kg added arch-wasm WebAssembly architecture area-Codegen-Jiterpreter-mono labels Mar 1, 2023
@ghost ghost assigned kg Mar 1, 2023
@ghost
Copy link

ghost commented Mar 1, 2023

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

This PR implements:

  • MINT_NEWSTR
  • MINT_ARRAY_ELEMENT_SIZE
  • MINT_DIV_I8
  • MINT_REM_I8

NEWSTR was causing a lot of aborts in some test suites, and it's simple to implement. ARRAY_ELEMENT_SIZE wasn't very common but it makes sense to have it if we already have ARRAY_RANK.
The I8 versions of div/rem were omitted previously because I didn't have appendBoundaryValue, now that it exists it's easy to implement them.

Author: kg
Assignees: -
Labels:

arch-wasm, area-Codegen-Jiterpreter-mono

Milestone: -

@kg kg merged commit ef0241e into dotnet:main Mar 1, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Apr 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants