Skip to content

Instantly share code, notes, and snippets.

@justinruggles
Created August 6, 2012 00:22
Show Gist options
  • Save justinruggles/3268413 to your computer and use it in GitHub Desktop.
Save justinruggles/3268413 to your computer and use it in GitHub Desktop.
works:
palignr m1, m0, m3, 12
works:
mova m1, m3
mova m4, m0
pslldq m1, 4
psrldq m4, 12
por m1, m4
does not work:
PALIGNR_MMX m1, m0, m3, 12, m4
disassembly:
movdqa xmm1,xmm0
movdqa xmm4,xmm3
pslldq xmm1,0x4
psrldq xmm4,0xc
por xmm1,xmm4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment