Skip to content
Snippets Groups Projects
Commit bc52921b authored by Julian Seward's avatar Julian Seward
Browse files

[project @ 1999-10-27 11:55:51 by sewardj]

Dot-ify local labels.
parent 83ca1933
No related branches found
No related tags found
No related merge requests found
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
* Copyright (c) 1994-1999. * Copyright (c) 1994-1999.
* *
* $RCSfile: universal_call_c.S,v $ * $RCSfile: universal_call_c.S,v $
* $Revision: 1.5 $ * $Revision: 1.6 $
* $Date: 1999/10/27 11:11:11 $ * $Date: 1999/10/27 11:55:51 $
* ------------------------------------------------------------------------*/ * ------------------------------------------------------------------------*/
#include "config.h" #include "config.h"
...@@ -81,55 +81,55 @@ universal_call_c_x86_ccall: ...@@ -81,55 +81,55 @@ universal_call_c_x86_ccall:
movl 16(%ebp),%edi movl 16(%ebp),%edi
movl 8(%ebp),%ebx movl 8(%ebp),%ebx
testl %ebx,%ebx testl %ebx,%ebx
jle cdocall jle .Lcdocall
clooptop: .Lclooptop:
cmpb $105,(%ebx,%edi) # 'i' cmpb $105,(%ebx,%edi) # 'i'
jne .Lc6 jne .Lc6
pushl (%esi,%ebx,8) pushl (%esi,%ebx,8)
jmp clooptest jmp .Lclooptest
.Lc6: .Lc6:
cmpb $73,(%ebx,%edi) # 'I' cmpb $73,(%ebx,%edi) # 'I'
jne .Lc8 jne .Lc8
pushl 4(%esi,%ebx,8) pushl 4(%esi,%ebx,8)
pushl (%esi,%ebx,8) pushl (%esi,%ebx,8)
jmp clooptest jmp .Lclooptest
.Lc8: .Lc8:
cmpb $102,(%ebx,%edi) # 'f' cmpb $102,(%ebx,%edi) # 'f'
jne .Lc10 jne .Lc10
movl (%esi,%ebx,8),%eax movl (%esi,%ebx,8),%eax
pushl %eax pushl %eax
jmp clooptest jmp .Lclooptest
.Lc10: .Lc10:
cmpb $70,(%ebx,%edi) # 'F' cmpb $70,(%ebx,%edi) # 'F'
jne clooptest jne .Lclooptest
movl 4(%esi,%ebx,8),%eax movl 4(%esi,%ebx,8),%eax
movl (%esi,%ebx,8),%edx movl (%esi,%ebx,8),%edx
pushl %eax pushl %eax
pushl %edx pushl %edx
clooptest: .Lclooptest:
decl %ebx decl %ebx
testl %ebx,%ebx testl %ebx,%ebx
jg clooptop jg .Lclooptop
cdocall: .Lcdocall:
call *20(%ebp) call *20(%ebp)
cmpb $102,(%edi) # 'f' cmpb $102,(%edi) # 'f'
je cfloat32 je .Lcfloat32
cmpb $70,(%edi) # 'F' cmpb $70,(%edi) # 'F'
je cfloat64 je .Lcfloat64
ciorI: .LciorI:
movl %eax,0(%esi) movl %eax,0(%esi)
movl %edx,4(%esi) movl %edx,4(%esi)
jmp cbye jmp .Lcbye
cfloat32: .Lcfloat32:
fstps 0(%esi) fstps 0(%esi)
jmp cbye jmp .Lcbye
cfloat64: .Lcfloat64:
fstpl 0(%esi) fstpl 0(%esi)
jmp cbye jmp .Lcbye
cbye: .Lcbye:
leal -12(%ebp),%esp leal -12(%ebp),%esp
popl %ebx popl %ebx
popl %esi popl %esi
...@@ -157,55 +157,55 @@ universal_call_c_x86_stdcall: ...@@ -157,55 +157,55 @@ universal_call_c_x86_stdcall:
movl 16(%ebp),%edi movl 16(%ebp),%edi
movl 8(%ebp),%ebx movl 8(%ebp),%ebx
testl %ebx,%ebx testl %ebx,%ebx
jle sdocall jle .Lsdocall
slooptop: .Lslooptop:
cmpb $105,(%ebx,%edi) # 'i' cmpb $105,(%ebx,%edi) # 'i'
jne .Ls6 jne .Ls6
pushl (%esi,%ebx,8) pushl (%esi,%ebx,8)
jmp slooptest jmp .Lslooptest
.Ls6: .Ls6:
cmpb $73,(%ebx,%edi) # 'I' cmpb $73,(%ebx,%edi) # 'I'
jne .Ls8 jne .Ls8
pushl 4(%esi,%ebx,8) pushl 4(%esi,%ebx,8)
pushl (%esi,%ebx,8) pushl (%esi,%ebx,8)
jmp slooptest jmp .Lslooptest
.Ls8: .Ls8:
cmpb $102,(%ebx,%edi) # 'f' cmpb $102,(%ebx,%edi) # 'f'
jne .Ls10 jne .Ls10
movl (%esi,%ebx,8),%eax movl (%esi,%ebx,8),%eax
pushl %eax pushl %eax
jmp slooptest jmp .Lslooptest
.Ls10: .Ls10:
cmpb $70,(%ebx,%edi) # 'F' cmpb $70,(%ebx,%edi) # 'F'
jne slooptest jne .Lslooptest
movl 4(%esi,%ebx,8),%eax movl 4(%esi,%ebx,8),%eax
movl (%esi,%ebx,8),%edx movl (%esi,%ebx,8),%edx
pushl %eax pushl %eax
pushl %edx pushl %edx
slooptest: .Lslooptest:
decl %ebx decl %ebx
testl %ebx,%ebx testl %ebx,%ebx
jg slooptop jg .Lslooptop
sdocall: .Lsdocall:
call *20(%ebp) call *20(%ebp)
cmpb $102,(%edi) # 'f' cmpb $102,(%edi) # 'f'
je sfloat32 je .Lsfloat32
cmpb $70,(%edi) # 'F' cmpb $70,(%edi) # 'F'
je sfloat64 je .Lsfloat64
siorI: .LsiorI:
movl %eax,0(%esi) movl %eax,0(%esi)
movl %edx,4(%esi) movl %edx,4(%esi)
jmp sbye jmp .Lsbye
sfloat32: .Lsfloat32:
fstps 0(%esi) fstps 0(%esi)
jmp sbye jmp .Lsbye
sfloat64: .Lsfloat64:
fstpl 0(%esi) fstpl 0(%esi)
jmp sbye jmp .Lsbye
sbye: .Lsbye:
## don_t clear the args -- the callee does it ## don_t clear the args -- the callee does it
## leal -12(%ebp),%esp ## leal -12(%ebp),%esp
popl %ebx popl %ebx
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment