choice.s

sima/lhash/choice.s · 623 B

From the archive 970706-sima.tgz

Download the archive   « Back to the archive contents

	.file	"choice.c"
gcc2_compiled.:
___gnu_compiled_c:
.text
	.align 4
.globl _hash
_hash:
	pushl %ebp
	movl %esp,%ebp
	subl $12,%esp
	cmpl $127,8(%ebp)
	jg L2
	sarl $3,8(%ebp)
	andl $-4,8(%ebp)
	movl 8(%ebp),%eax
	movl %eax,-8(%ebp)
	movl %eax,-4(%ebp)
	movl $7,-12(%ebp)
	jmp L3
	.align 4,0x90
L2:
	addl $-4,8(%ebp)
	movl 8(%ebp),%edx
	sarl $4,%edx
	movl %edx,-12(%ebp)
	movl 8(%ebp),%eax
	andl $12,%eax
	leal 4(%eax),%edx
	movl %edx,-4(%ebp)
	movl $16,-8(%ebp)
L3:
	movl -12(%ebp),%edx
	pushl %edx
	movl -8(%ebp),%edx
	pushl %edx
	movl -4(%ebp),%edx
	pushl %edx
	call _f
	addl $12,%esp
L1:
	movl %ebp,%esp
	popl %ebp
	ret

Site Stats

Snippets: 1791
Codebases: 571