Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

musl: add mips optimized memcpy and memset #111

Open
wants to merge 1 commit into
base: opendingux
Choose a base branch
from

Conversation

SiarheiVolkau
Copy link

The musl library has no mips specific optimization for memcpy/memset which are widely used.

The patch aims to port the code for these functions from uClibc-ng.

Performance shall be definitely better but might be not noticeable in some apps.
So If someone can perform the testing that would be great.

Thanks.

The code has been taken from uclibc-ng and adopted for musl source tree.

Signed-off-by: Siarhei Volkau <[email protected]>
@glebm
Copy link

glebm commented Jan 9, 2023

Sadly, DevilutionX comparison @ 420 MHz showed no difference.
The asm version might even be like 0.005 FPS slower (though it's hard to tell as it fluctuates more than that).
(These are the OPKs that I used to test it https://github.com/od-contrib/buildroot/releases/tag/od-rs90-max-mem-2022-12-28)

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