Skip to content

Instantly share code, notes, and snippets.

@egonelbre

egonelbre/eg.s Secret

Last active September 9, 2015 19:07
Show Gist options
  • Save egonelbre/64b7a4afac085530b48f to your computer and use it in GitHub Desktop.
Save egonelbre/64b7a4afac085530b48f to your computer and use it in GitHub Desktop.
for ; CX >= $64; CX -= 64 {
MOVOA [X1..X4], [X5..X8]
PCLMULQDQ $0, X0, [X1..X4]
MOVOU [0,16,32,48](SI), [X11..X14]
PCLMULQDQ $0x11, X0, [X5..X8]
PXOR [X5..X8], [X1..X4]
PXOR [X11..X14], [X1..X4]
DI += $0x40
SI += $64
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment