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鈥檒l 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

Comments

Projects
None yet
4 participants
@binji
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

This comment has been minimized.

Contributor

lars-t-hansen commented May 24, 2018

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

This comment has been minimized.

Contributor

lars-t-hansen commented Jun 4, 2018

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

@binji

This comment has been minimized.

Member

binji commented Oct 16, 2018

@binji binji closed this Oct 16, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.