Skip to content

Conversation

@wenyongh
Copy link
Contributor

No description provided.

@wenyongh wenyongh changed the title Fix loader and interpreter issues Add check for code section size, fix interpreter copysign Sep 13, 2022
@wenyongh wenyongh changed the title Add check for code section size, fix interpreter copysign Add check for code section size, fix interp float operations Sep 13, 2022
loader_ctx->frame_ref -= 2;
loader_ctx->stack_cell_num -= 2;
#if (WASM_ENABLE_FAST_INTERP == 0) || (WASM_ENABLE_JIT != 0)
#if WASM_ENABLE_FAST_INTERP == 0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we need to remove WASM_ENABLE_JIT != 0 here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The classic interpreter is enabled when LLVM JIT is enabled, no need to add the macro control again.

Copy link
Collaborator

@xujuntwt95329 xujuntwt95329 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wenyongh wenyongh merged commit ab929c2 into bytecodealliance:main Sep 14, 2022
@wenyongh wenyongh deleted the fix_loader_issue branch September 15, 2022 00:37
wenyongh added a commit to wenyongh/wasm-micro-runtime that referenced this pull request Sep 15, 2022
Add check for code section size, fix interp float operations (bytecodealliance#1480)
vickiegpt pushed a commit to vickiegpt/wamr-aot-gc-checkpoint-restore that referenced this pull request May 27, 2024
…ealliance#1480)

And enable classic interpreter instead fast interpreter when llvm jit is enabled,
so as to fix the issue that llvm jit cannot handle opcode drop_64/select_64.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants