LibWasm: Implement proposal 'relaxed-simd'

This commit is contained in:
Ali Mohammad Pur 2025-09-23 04:37:20 +02:00 committed by Ali Mohammad Pur
parent 77237af33f
commit d6f3f5fd51
Notes: github-actions[bot] 2025-10-14 23:29:22 +00:00
7 changed files with 536 additions and 261 deletions

View file

@ -1148,6 +1148,26 @@ HashMap<Wasm::OpCode, ByteString> Wasm::Names::instruction_names {
{ Instructions::i32x4_trunc_sat_f64x2_u_zero, "i32x4.trunc_sat_f64x2_u_zero" },
{ Instructions::f64x2_convert_low_i32x4_s, "f64x2.convert_low_i32x4_s" },
{ Instructions::f64x2_convert_low_i32x4_u, "f64x2.convert_low_i32x4_u" },
{ Instructions::i8x16_relaxed_swizzle, "i8x16.relaxed_swizzle" },
{ Instructions::i32x4_relaxed_trunc_f32x4_s, "i32x4.relaxed_trunc_f32x4_s" },
{ Instructions::i32x4_relaxed_trunc_f32x4_u, "i32x4.relaxed_trunc_f32x4_u" },
{ Instructions::i32x4_relaxed_trunc_f64x2_s_zero, "i32x4.relaxed_trunc_f64x2_s_zero" },
{ Instructions::i32x4_relaxed_trunc_f64x2_u_zero, "i32x4.relaxed_trunc_f64x2_u_zero" },
{ Instructions::f32x4_relaxed_madd, "f32x4.relaxed_madd" },
{ Instructions::f32x4_relaxed_nmadd, "f32x4.relaxed_nmadd" },
{ Instructions::f64x2_relaxed_madd, "f64x2.relaxed_madd" },
{ Instructions::f64x2_relaxed_nmadd, "f64x2.relaxed_nmadd" },
{ Instructions::i8x16_relaxed_laneselect, "i8x16.relaxed_laneselect" },
{ Instructions::i16x8_relaxed_laneselect, "i16x8.relaxed_laneselect" },
{ Instructions::i32x4_relaxed_laneselect, "i32x4.relaxed_laneselect" },
{ Instructions::i64x2_relaxed_laneselect, "i64x2.relaxed_laneselect" },
{ Instructions::f32x4_relaxed_min, "f32x4.relaxed_min" },
{ Instructions::f32x4_relaxed_max, "f32x4.relaxed_max" },
{ Instructions::f64x2_relaxed_min, "f64x2.relaxed_min" },
{ Instructions::f64x2_relaxed_max, "f64x2.relaxed_max" },
{ Instructions::i16x8_relaxed_q15mulr_s, "i16x8.relaxed_q15mulr_s" },
{ Instructions::i16x8_relaxed_dot_i8x16_i7x16_s, "i16x8.relaxed_dot_i8x16_i7x16_s" },
{ Instructions::i32x4_relaxed_dot_i8x16_i7x16_add_s, "i32x4.relaxed_dot_i8x16_i7x16_add_s" },
{ Instructions::structured_else, "synthetic:else" },
{ Instructions::structured_end, "synthetic:end" },
{ Instructions::synthetic_i32_add2local, "synthetic:i32.add2local" },