Преглед изворни кода

Emit imm for lane extract and replace (#3906)

Maks Litskevich пре 1 година
родитељ
комит
fbbcd08b3c
1 измењених фајлова са 3 додато и 1 уклоњено
  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)))
                                     error_buf, error_buf_size)))
                                 goto fail;
                                 goto fail;
                         }
                         }
-
+#if WASM_ENABLE_FAST_INTERP != 0
+                        emit_byte(loader_ctx, lane);
+#endif
                         POP_AND_PUSH(
                         POP_AND_PUSH(
                             VALUE_TYPE_V128,
                             VALUE_TYPE_V128,
                             push_type[opcode1 - SIMD_i8x16_extract_lane_s]);
                             push_type[opcode1 - SIMD_i8x16_extract_lane_s]);