Skip to content

Implement memset #216

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

Merged
merged 1 commit into from
Jun 9, 2025
Merged

Implement memset #216

merged 1 commit into from
Jun 9, 2025

Conversation

DrXiao
Copy link
Collaborator

@DrXiao DrXiao commented Jun 9, 2025

The proposed changes implement memset to fill memory with a constant byte using a 4-byte loop unrolling technique. A corresponding test case is also added to validate its correctness.

Summary by Bito

This pull request implements an optimized version of the memset function using a 4-byte loop unrolling technique, enhancing memory manipulation capabilities. A test case has been added to validate the function's correctness against expected results.

This commit implements memset to fill memory with a constant byte using
a 4-byte loop unrolling technique. A corresponding test case is also
added to validate its correctness.
@jserv jserv requested review from ChAoSUnItY and vacantron and removed request for ChAoSUnItY June 9, 2025 14:03
@jserv jserv merged commit 8e07fda into sysprog21:master Jun 9, 2025
6 checks passed
@jserv
Copy link
Collaborator

jserv commented Jun 9, 2025

Thank @DrXiao for contributing!

@DrXiao DrXiao deleted the libc/memset branch June 10, 2025 12:39
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.

3 participants