Monday, January 17, 2005

XOR blocking in assembly

This following piece of text can be considered an absolute junk,
if you ask me in the current state of mind... On a normal day, I'd
go on about how the linux kernel dynamically chooses the
fastest xor computing functions, how memcpy is implemented
in assembly to be fast... Right now, I'm not in the normal
days of my life...

__memcpy__(void *dest, const void *src, size_t bytes)

__asm__volatile__ (
mov ecx, $bytes
mov edx, %(dest)
mov eax, %(src)
rep stosb


No comments:

Post a Comment

What I want to say is: