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

🛤 Sign-extension operators #1178

Closed
binji opened this issue Feb 1, 2018 · 3 comments
Closed

🛤 Sign-extension operators #1178

binji opened this issue Feb 1, 2018 · 3 comments

Comments

@binji
Copy link
Member

binji commented Feb 1, 2018

This is a tracking issue for a post-MVP feature
It will be updated as the issue progresses.

Topic Sign-extension operators
Champion Ben Smith @binji
Status in progress
Phase standardize the feature
Linked issues
Linked repositories github.com/WebAssembly/sign-extension-ops

Details

This proposal adds five new integer instructions for sign-extending 8-bit, 16-bit, and 32-bit values.

  • i32.extend8_s: extend a signed 8-bit integer to a 32-bit integer
  • i32.extend16_s: extend a signed 16-bit integer to a 32-bit integer
  • i64.extend8_s: extend a signed 8-bit integer to a 64-bit integer
  • i64.extend16_s: extend a signed 16-bit integer to a 64-bit integer
  • i64.extend32_s: extend a signed 32-bit integer to a 64-bit integer
@binji binji self-assigned this Feb 1, 2018
@WebAssembly WebAssembly locked and limited conversation to collaborators Feb 1, 2018
@lars-t-hansen
Copy link
Contributor

We've implemented this and it's been in Nightly for a long time, with our own test cases and the proposed spec test cases. We're just waiting for this proposal to advance before we ship.
https://bugzilla.mozilla.org/show_bug.cgi?id=1429818

@lars-t-hansen
Copy link
Contributor

Sign extension ops are now riding the trains in Firefox and will likely be in FF62, currently scheduled to ship September 5.

@binji
Copy link
Member Author

binji commented Oct 16, 2018

Moved to WebAssembly/proposals#9.

@binji binji closed this as completed Oct 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants