Skip to content

Conversation

@dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Sep 19, 2019

Adds the narrowing

  • i8x16.narrow_i16x8_s
  • i8x16.narrow_i16x8_u
  • i16x8.narrow_i32x4_s
  • i16x8.narrow_i32x4_u

and widening

  • i16x8.widen_low_i8x16_s
  • i16x8.widen_high_i8x16_s
  • i16x8.widen_low_i8x16_u
  • i16x8.widen_high_i8x16_u
  • i32x4.widen_low_i16x8_s
  • i32x4.widen_high_i16x8_s
  • i32x4.widen_low_i16x8_u
  • i32x4.widen_high_i16x8_u

instructions incl. their respective generic variants

  • v128.narrow<T>
  • v128.widen_low<T>
  • v128.widen_high<T>

and renames

  • v128.trunc<T> to v128.trunc_sat<T> for consistency,
  • any instructions with misplaced _s_ _u_ to the respective correct one and
  • internal v128 op enums to shorter names better matching the naming of other instructions.

@dcodeIO dcodeIO merged commit eff0244 into master Sep 20, 2019
@dcodeIO dcodeIO deleted the simd-narrowing-widening branch November 8, 2019 01:59
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