You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WebAssembly SIMD: integer lane arithmetic and comparisons #281
First portable integer checkpoint is on main as 40d9e018: every i8x16/i16x8/i32x4 comparison, every standardized i64x2 comparison, and all four all_true/bitmask reductions now execute lane-by-lane without host-vector assumptions. Signed lanes are explicitly extended before comparison and true lanes are reconstructed at their exact width.
Pinned official evidence (WABT 1.0.39, proposal a78b98a…):
That is 1,761/1,761 applicable commands across the five focused files, zero failures and zero runner errors. This also removes 138 of #280’s 184 shared-file blockers; wrapping arithmetic and shifts are next.
Two more portable scalar checkpoints are now on main:
d1d5b113: abs/neg/popcnt, width-masked signed/unsigned shifts, and wrapping add/sub/mul.
9a82d87d: signed/unsigned saturating add/sub, min/max, and rounded unsigned averages.
New pinned official green files: simd_bit_shift 237/237 applicable; simd_i8x16_sat_arith 202/202; simd_i16x8_sat_arith 218/218; simd_i8x16_arith 131/131; simd_i16x8_arith 194/194. The shared simd_lane and simd_const files are also now 369/369 and 577/577 applicable. All have zero failures and zero runner errors; text-format n/a remains explicit. Narrow/widen, extadd/extmul, dot, and q15 are next.
Completed on main. Final implementation checkpoint 08e29a5f adds narrowing, all low/high signed+unsigned extension and extmul forms, pairwise extension-add, dot, and q15 rounding/saturation; 32e4f60d publishes the terminal score in README/docs.
Across the declared 24 focused official integer files: 4,380/4,380 applicable pass, 0 fail, 65 explicit text-format n/a, 0 runner errors. The implementation is architecture-independent scalar code with explicit lane widths, signed extension, wrapping, shift masks, and clamps; no native acceleration exists, so it is also the oracle future optimized paths must match. All five acceptance items are checked.
Activity
feat(wasm): execute SIMD integer comparisons (#281)
chrisbbreuer commentedon Jul 18, 2026
First portable integer checkpoint is on
mainas40d9e018: every i8x16/i16x8/i32x4 comparison, every standardized i64x2 comparison, and all four all_true/bitmask reductions now execute lane-by-lane without host-vector assumptions. Signed lanes are explicitly extended before comparison and true lanes are reconstructed at their exact width.Pinned official evidence (WABT 1.0.39, proposal
a78b98a…):simd_boolean.wast: 273/273 applicable, 4 text-format n/asimd_i8x16_cmp.wast: 445/445simd_i16x8_cmp.wast: 465/465simd_i32x4_cmp.wast: 465/465 applicable, 10 text-format n/asimd_i64x2_cmp.wast: 113/113That is 1,761/1,761 applicable commands across the five focused files, zero failures and zero runner errors. This also removes 138 of #280’s 184 shared-file blockers; wrapping arithmetic and shifts are next.
feat(wasm): execute basic SIMD integer lanes (#281)
feat(wasm): execute bounded SIMD integer lanes (#281)
chrisbbreuer commentedon Jul 18, 2026
Two more portable scalar checkpoints are now on
main:d1d5b113: abs/neg/popcnt, width-masked signed/unsigned shifts, and wrapping add/sub/mul.9a82d87d: signed/unsigned saturating add/sub, min/max, and rounded unsigned averages.New pinned official green files:
simd_bit_shift237/237 applicable;simd_i8x16_sat_arith202/202;simd_i16x8_sat_arith218/218;simd_i8x16_arith131/131;simd_i16x8_arith194/194. The sharedsimd_laneandsimd_constfiles are also now 369/369 and 577/577 applicable. All have zero failures and zero runner errors; text-format n/a remains explicit. Narrow/widen, extadd/extmul, dot, and q15 are next.feat(wasm): execute SIMD integer transforms (#281)
docs(wasm): publish terminal SIMD integer score (#281)
chrisbbreuer commentedon Jul 18, 2026
Completed on
main. Final implementation checkpoint08e29a5fadds narrowing, all low/high signed+unsigned extension and extmul forms, pairwise extension-add, dot, and q15 rounding/saturation;32e4f60dpublishes the terminal score in README/docs.Across the declared 24 focused official integer files: 4,380/4,380 applicable pass, 0 fail, 65 explicit text-format n/a, 0 runner errors. The implementation is architecture-independent scalar code with explicit lane widths, signed extension, wrapping, shift masks, and clamps; no native acceleration exists, so it is also the oracle future optimized paths must match. All five acceptance items are checked.