Skip to content
This repository was archived by the owner on Aug 27, 2025. It is now read-only.

Conversation

@qizhou
Copy link

@qizhou qizhou commented Feb 8, 2022

The original implementation assumes the memory size >= max(src, dest) + ROUND_UP(len, 32), which is not always true (and result in unexpected revert).

The new implement will use reverse copy so that no out-of-copy memory will be touched (and also simplified the mask so that out-of-copy memory is unchanged).

The original implementation assumes the memory size >= max(src, dest) + ROUND_UP(len, 32), which is not always true (and result in unexpected revert).

The new implement will use reverse copy so that no out-of-copy memory will be touched (and also simplified the mask so that out-of-copy memory is unchanged).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant