Created
January 7, 2020 01:08
-
-
Save celskeggs/db24e886e63d7134ea2bbb9934c3184f to your computer and use it in GitHub Desktop.
Memset optimization index
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Implementation strategies: | |
- For loop with Duff's device | |
- `rep movsd` and similar | |
- mmx with movq on x86 | |
- sse: movaps (16 byte aligned), caution about | |
https://stackoverflow.com/questions/3654905/faster-way-to-zero-memory-than-with-memset |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment