@@ -3748,33 +3748,6 @@ function emit_simd_3 (builder: WasmBuilder, ip: MintOpcodePtr, index: SimdIntrin
3748
3748
builder . appendU8 ( WasmOpcode . i32_eqz ) ;
3749
3749
append_stloc_tail ( builder , getArgU16 ( ip , 1 ) , WasmOpcode . i32_store ) ;
3750
3750
return true ;
3751
- case SimdIntrinsic3 . V128_R4_FLOAT_EQUALITY :
3752
- case SimdIntrinsic3 . V128_R8_FLOAT_EQUALITY : {
3753
- /*
3754
- Vector128<T> result = Vector128.Equals(lhs, rhs) | ~(Vector128.Equals(lhs, lhs) | Vector128.Equals(rhs, rhs));
3755
- return result.AsInt32() == Vector128<int>.AllBitsSet;
3756
- */
3757
- const isR8 = index === SimdIntrinsic3 . V128_R8_FLOAT_EQUALITY ,
3758
- eqOpcode = isR8 ? WasmSimdOpcode . f64x2_eq : WasmSimdOpcode . f32x4_eq ;
3759
- builder . local ( "pLocals" ) ;
3760
- append_ldloc ( builder , getArgU16 ( ip , 2 ) , WasmOpcode . PREFIX_simd , WasmSimdOpcode . v128_load ) ;
3761
- builder . local ( "math_lhs128" , WasmOpcode . tee_local ) ;
3762
- append_ldloc ( builder , getArgU16 ( ip , 3 ) , WasmOpcode . PREFIX_simd , WasmSimdOpcode . v128_load ) ;
3763
- builder . local ( "math_rhs128" , WasmOpcode . tee_local ) ;
3764
- builder . appendSimd ( eqOpcode ) ;
3765
- builder . local ( "math_lhs128" ) ;
3766
- builder . local ( "math_lhs128" ) ;
3767
- builder . appendSimd ( eqOpcode ) ;
3768
- builder . local ( "math_rhs128" ) ;
3769
- builder . local ( "math_rhs128" ) ;
3770
- builder . appendSimd ( eqOpcode ) ;
3771
- builder . appendSimd ( WasmSimdOpcode . v128_or ) ;
3772
- builder . appendSimd ( WasmSimdOpcode . v128_not ) ;
3773
- builder . appendSimd ( WasmSimdOpcode . v128_or ) ;
3774
- builder . appendSimd ( isR8 ? WasmSimdOpcode . i64x2_all_true : WasmSimdOpcode . i32x4_all_true ) ;
3775
- append_stloc_tail ( builder , getArgU16 ( ip , 1 ) , WasmOpcode . i32_store ) ;
3776
- return true ;
3777
- }
3778
3751
case SimdIntrinsic3 . V128_I1_SHUFFLE : {
3779
3752
// Detect a constant indices vector and turn it into a const. This allows
3780
3753
// v8 to use a more optimized implementation of the swizzle opcode
0 commit comments