Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
void Main()
{
int i = 4;
__asm
{
movd xmm0, [i]
shufps xmm0, xmm0, 0
xorps xmm1, xmm1
mov eax, 1
movd xmm1, eax
psllq xmm1, 32
shufps xmm1, xmm1, 84
shufps xmm2, xmm1, 80
addps xmm1, xmm2
shufps xmm2, xmm1, 64
addps xmm1, xmm2
addps xmm0, xmm1
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.