synhash.s

sima/synhash/synhash.s · 906 B

From the archive 970706-sima.tgz

Download the archive   « Back to the archive contents

	.file	"synhash.c"
gcc2_compiled.:
___gnu_compiled_c:
.text
	.align 4
.globl _idhash
_idhash:
	pushl %ebp
	movl %esp,%ebp
	pushl %edi
	pushl %esi
	pushl %ebx
	movl 8(%ebp),%esi
	movl 12(%ebp),%edi
	movsbl (%esi),%ebx
	jmp L10
	.align 4,0x90
	.align 2,0x90
L9:
	roll $5,%ebx
	xorl %eax,%ebx
L10:
	incl %esi
	movzbl (%esi),%eax
	cmpb $0,__my_ctype(%eax)
	jl L9
	movb %bl,%dl
	shrl $8,%ebx
	movb %bl,%al
	andl $255,%eax
	movb _T+1(%eax),%al
	xorb %dl,%al
	movzbl %al,%ecx
	movzbl %dl,%eax
	movb %bl,%dl
	xorb _T(%eax),%dl
	movzbl %dl,%eax
	shrl $8,%ebx
	movb %bl,%dl
	xorb _T(%eax),%dl
	movzbl %dl,%eax
	shrl $8,%ebx
	movb %bl,%dl
	xorb _T(%eax),%dl
	movzbl %dl,%eax
	movzbw _T(%eax),%dx
	movb _T(%ecx),%al
	salw $8,%ax
	orw %ax,%dx
	movw %dx,(%edi)
	movl %esi,%eax
	leal -12(%ebp),%esp
	popl %ebx
	popl %esi
	popl %edi
	movl %ebp,%esp
	popl %ebp
	ret
.comm _language_suffix,4
.comm _language_suffix_length,4

Site Stats

Snippets: 1791
Codebases: 571