Skip to content

Instantly share code, notes, and snippets.

@bryant
Created July 22, 2016 23:14
Show Gist options
  • Save bryant/6adbba593b36bb5002a1d48c961ed466 to your computer and use it in GitHub Desktop.
Save bryant/6adbba593b36bb5002a1d48c961ed466 to your computer and use it in GitHub Desktop.
_gleLLVMVecInterpolateClip: ## @gleLLVMVecInterpolateClip
.cfi_startproc
## BB#0: ## %cond_false183
pxor %xmm0, %xmm0
xorps %xmm1, %xmm1
cmpltps %xmm1, %xmm1
pxor %xmm2, %xmm2
packssdw %xmm1, %xmm2
pblendw $127, %xmm0, %xmm2
pmovmskb %xmm2, %eax
andb $42, %al
movzbl %al, %eax # <========
shll $24, %eax
movl %eax, 0
retl
.cfi_endproc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment