Explorar o código

Emit imm for lane extract and replace (#3906)

Maks Litskevich hai 1 ano
pai
achega
fbbcd08b3c
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      core/iwasm/interpreter/wasm_loader.c

+ 3 - 1
core/iwasm/interpreter/wasm_loader.c

@@ -15225,7 +15225,9 @@ re_scan:
                                     error_buf, error_buf_size)))
                                 goto fail;
                         }
-
+#if WASM_ENABLE_FAST_INTERP != 0
+                        emit_byte(loader_ctx, lane);
+#endif
                         POP_AND_PUSH(
                             VALUE_TYPE_V128,
                             push_type[opcode1 - SIMD_i8x16_extract_lane_s]);