by veddan · 10y ago · 0 comments
Some code I just compiled with GCC 6.1.1 had several snippets like this emitted for zeroing with memset:
xor eax,eax ... rep stos QWORD PTR es:[rdi],rax