Skip to content

Conversation

@no1wudi
Copy link
Collaborator

@no1wudi no1wudi commented Nov 20, 2021

  • Lower aotmic instruction to non-atomic form on some platform
  • Implement memset/memmove/memcpy for XIP
  • Disable rtti in cmake

@no1wudi no1wudi force-pushed the main branch 2 times, most recently from 5d89235 to a6f3c68 Compare November 21, 2021 07:53
@no1wudi no1wudi marked this pull request as draft November 25, 2021 03:24
@no1wudi no1wudi changed the title Implement atomic intrinsic on riscv Implement atomic and memset/memmove/memcpy intrinsic for riscv Nov 28, 2021
@no1wudi no1wudi marked this pull request as ready for review November 29, 2021 01:51
@no1wudi no1wudi requested a review from wenyongh November 29, 2021 01:52
void
aot_add_expand_memory_op_pass(LLVMPassManagerRef pass)
{
unwrap(pass)->add(new ExpandMemoryOpPass());
Copy link
Contributor

Choose a reason for hiding this comment

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

Should check return value of new ExpandMemoryOpPass(), and change return value of aot_add_expand_memory_op_pass from void to bool?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

If new operation failed, wamrc will crash and report an exception to notify user.
I think it's enough for debug purpose.

return false;
}

aot_add_expand_memory_op_pass(common_pass_mgr);
Copy link
Contributor

Choose a reason for hiding this comment

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

Should check return value

@wenyongh wenyongh merged commit 8d1c56b into bytecodealliance:main Nov 30, 2021
vickiegpt pushed a commit to vickiegpt/wamr-aot-gc-checkpoint-restore that referenced this pull request May 27, 2024
…odealliance#841)

- Lower aotmic instruction to non-atomic form on some platforms
- Lower memset/memmove/memcpy for XIP
- Disable rtti in cmake
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