Create a gist now

Instantly share code, notes, and snippets.

anonymous /gist:10020560
Created Apr 7, 2014

What would you like to do?
in al,dx
movaps xmmword ptr [rsp+30h],xmm6
movaps xmmword ptr [rsp+20h],xmm7
mov rax,qword ptr [rcx+8]
mov r8,rax
cmp dword ptr [r8+8],0
jbe 00007FFB9764BB04
movss xmm0,dword ptr [r8+10h]
xorps xmm1,xmm1
movaps xmm1,xmm0
shufps xmm1,xmm1,0
mov r9,qword ptr [rdx+8]
mov r10,r9
cmp dword ptr [r10+8],0
jbe 00007FFB9764BB04
lea r11,[r10+10h]
movupd xmm0,xmmword ptr [r11]
subps xmm1,xmm0
movaps xmm0,xmm1
mov rdx,qword ptr [rdx+18h]
mov r10,rdx
cmp dword ptr [r10+8],0
jbe 00007FFB9764BB04
add r10,10h
movupd xmm1,xmmword ptr [r10]
mulps xmm0,xmm1
mov rcx,qword ptr [rcx+10h]
mov r8,rcx
cmp dword ptr [r8+8],0
jbe 00007FFB9764BB04
movss xmm1,dword ptr [r8+10h]
xorps xmm2,xmm2
movaps xmm2,xmm1
shufps xmm2,xmm2,0
movupd xmm1,xmmword ptr [r11]
subps xmm2,xmm1
movaps xmm1,xmm2
movupd xmm2,xmmword ptr [r10]
mulps xmm1,xmm2
mov r8,rax
cmp dword ptr [r8+8],1
jbe 00007FFB9764BB04
movss xmm2,dword ptr [r8+14h]
xorps xmm3,xmm3
movaps xmm3,xmm2
shufps xmm3,xmm3,0
mov r10,r9
cmp dword ptr [r10+8],1
jbe 00007FFB9764BB04
lea r11,[r10+20h]
movupd xmm2,xmmword ptr [r11]
subps xmm3,xmm2
movaps xmm2,xmm3
mov r10,rdx
cmp dword ptr [r10+8],1
jbe 00007FFB9764BB04
add r10,20h
movupd xmm3,xmmword ptr [r10]
mulps xmm2,xmm3
mov r8,rcx
cmp dword ptr [r8+8],1
jbe 00007FFB9764BB04
movss xmm3,dword ptr [r8+14h]
xorps xmm4,xmm4
movaps xmm4,xmm3
shufps xmm4,xmm4,0
movupd xmm3,xmmword ptr [r11]
subps xmm4,xmm3
movaps xmm3,xmm4
movupd xmm4,xmmword ptr [r10]
mulps xmm3,xmm4
mov r8,rax
cmp dword ptr [r8+8],2
jbe 00007FFB9764BB04
movss xmm4,dword ptr [r8+18h]
xorps xmm5,xmm5
movaps xmm5,xmm4
shufps xmm5,xmm5,0
mov r10,r9
cmp dword ptr [r10+8],2
jbe 00007FFB9764BB04
lea rax,[r10+30h]
movupd xmm4,xmmword ptr [rax]
subps xmm5,xmm4
movaps xmm4,xmm5
mov r10,rdx
cmp dword ptr [r10+8],2
jbe 00007FFB9764BB04
lea rdx,[r10+30h]
movupd xmm5,xmmword ptr [rdx]
mulps xmm4,xmm5
mov r8,rcx
cmp dword ptr [r8+8],2
jbe 00007FFB9764BB04
movss xmm5,dword ptr [r8+18h]
xorps xmm6,xmm6
movaps xmm6,xmm5
shufps xmm6,xmm6,0
movupd xmm5,xmmword ptr [rax]
subps xmm6,xmm5
movaps xmm5,xmm6
movupd xmm6,xmmword ptr [rdx]
mulps xmm5,xmm6
movaps xmm6,xmm0
minps xmm6,xmm1
movaps xmm7,xmm2
minps xmm7,xmm3
maxps xmm6,xmm7
movaps xmm7,xmm4
minps xmm7,xmm5
maxps xmm6,xmm7
maxps xmm0,xmm1
movaps xmm1,xmm2
maxps xmm1,xmm3
minps xmm0,xmm1
movaps xmm1,xmm4
maxps xmm1,xmm5
minps xmm0,xmm1
movaps xmm1,xmm0
mov rax,9EC7A4E730h
mov rax,qword ptr [rax]
movupd xmm2,xmmword ptr [rax+8]
pxor xmm3,xmm3
movaps xmm3,xmm2
cmpleps xmm3,xmm1
pxor xmm1,xmm1
movaps xmm2,xmm3
pcmpeqd xmm2,xmm1
pshufd xmm4,xmm2,4Eh
pand xmm2,xmm4
pshufd xmm4,xmm2,1
pand xmm2,xmm4
movd rax,xmm2
test eax,eax
jne 00007FFB9764BAF3
pxor xmm1,xmm1
movaps xmm1,xmm6
cmpleps xmm1,xmm0
pxor xmm0,xmm0
movaps xmm2,xmm1
pcmpeqd xmm2,xmm0
pshufd xmm3,xmm2,4Eh
pand xmm2,xmm3
pshufd xmm3,xmm2,1
pand xmm2,xmm3
movd rax,xmm2
test eax,eax
sete al
movzx eax,al
movaps xmm6,xmmword ptr [rsp+30h]
movaps xmm7,xmmword ptr [rsp+20h]
add rsp,48h
ret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment