Create a gist now

Instantly share code, notes, and snippets.

anonymous /gist:10020578
Created Apr 7, 2014

What would you like to do?
mov r11,rsp
push rbp
sub rsp,80h
vmovaps xmmword ptr [rsp+70h],xmm6
vmovaps xmmword ptr [rsp+60h],xmm7
vmovaps xmmword ptr [r11-38h],xmm8
vmovaps xmmword ptr [r11-48h],xmm9
vmovaps xmmword ptr [r11-58h],xmm10
vmovaps xmmword ptr [r11-68h],xmm11
lea rbp,[r11-68h]
and rbp,0FFFFFFFFFFFFFFE0h
vmovups ymm4,ymmword ptr [rdx+0E0h]
vbroadcastss ymm2,dword ptr [rcx+0Ch]
vbroadcastss ymm0,dword ptr [rcx]
vsubps ymm0,ymm0,ymmword ptr [rdx+20h]
vmulps ymm11,ymm0,ymm4
vsubps ymm0,ymm2,ymmword ptr [rdx+20h]
vbroadcastss ymm2,dword ptr [rcx+10h]
vmulps ymm10,ymm0,ymm4
vmovups ymm4,ymmword ptr [rdx+100h]
vbroadcastss ymm0,dword ptr [rcx+4]
vsubps ymm0,ymm0,ymmword ptr [rdx+40h]
vmulps ymm9,ymm0,ymm4
vsubps ymm0,ymm2,ymmword ptr [rdx+40h]
vbroadcastss ymm2,dword ptr [rcx+14h]
vmulps ymm8,ymm0,ymm4
vmovups ymm4,ymmword ptr [rdx+120h]
vbroadcastss ymm0,dword ptr [rcx+8]
vsubps ymm0,ymm0,ymmword ptr [rdx+60h]
vmulps ymm7,ymm0,ymm4
vsubps ymm0,ymm2,ymmword ptr [rdx+60h]
vmaxps ymm2,ymm9,ymm8
vmulps ymm1,ymm0,ymm4
vmaxps ymm0,ymm11,ymm10
vminps ymm4,ymm9,ymm8
vminps ymm3,ymm0,ymm2
vmovups ymm6,ymm1
vmaxps ymm1,ymm7,ymm1
vminps ymm5,ymm3,ymm1
vminps ymm0,ymm11,ymm10
vminps ymm1,ymm7,ymm6
vmaxps ymm2,ymm0,ymm4
vcmpge_oqps ymm0,ymm5,ymmword ptr [ZERO (014001F4A0h)]
vmaxps ymm2,ymm2,ymm1
vcmple_oqps ymm3,ymm2,ymm5
vandps ymm1,ymm3,ymm0
vmovmskps ecx,ymm1
test ecx,ecx
setg al
vzeroupper
vmovaps xmm6,xmmword ptr [rsp+70h]
vmovaps xmm7,xmmword ptr [rsp+60h]
vmovaps xmm8,xmmword ptr [r11-38h]
vmovaps xmm9,xmmword ptr [r11-48h]
vmovaps xmm10,xmmword ptr [r11-58h]
vmovaps xmm11,xmmword ptr [r11-68h]
add rsp,80h
pop rbp
ret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment