Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gesh
GHC
Commits
bc52921b
Commit
bc52921b
authored
25 years ago
by
Julian Seward
Browse files
Options
Downloads
Patches
Plain Diff
[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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ghc/rts/universal_call_c.S
+38
-38
38 additions, 38 deletions
ghc/rts/universal_call_c.S
with
38 additions
and
38 deletions
ghc/rts/universal_call_c.S
+
38
−
38
View file @
bc52921b
...
@@ -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
:
1
1
$
*
$Date
:
1999
/
10
/
27
11
:
55
:
5
1
$
*
------------------------------------------------------------------------*/
*
------------------------------------------------------------------------*/
#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
.
L
cdocall
clooptop
:
.
L
clooptop
:
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
.
L
clooptest
.
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
.
L
clooptest
.
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
.
L
clooptest
.
Lc10
:
.
Lc10
:
cmpb
$
70
,(%
ebx
,%
edi
)
#
'F'
cmpb
$
70
,(%
ebx
,%
edi
)
#
'F'
jne
clooptest
jne
.
L
clooptest
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
:
.
L
clooptest
:
decl
%
ebx
decl
%
ebx
testl
%
ebx
,%
ebx
testl
%
ebx
,%
ebx
jg
clooptop
jg
.
L
clooptop
cdocall
:
.
L
cdocall
:
call
*
20
(%
ebp
)
call
*
20
(%
ebp
)
cmpb
$
102
,(%
edi
)
#
'f'
cmpb
$
102
,(%
edi
)
#
'f'
je
cfloat32
je
.
L
cfloat32
cmpb
$
70
,(%
edi
)
#
'F'
cmpb
$
70
,(%
edi
)
#
'F'
je
cfloat64
je
.
L
cfloat64
ciorI
:
.
L
ciorI
:
movl
%
eax
,
0
(%
esi
)
movl
%
eax
,
0
(%
esi
)
movl
%
edx
,
4
(%
esi
)
movl
%
edx
,
4
(%
esi
)
jmp
cbye
jmp
.
L
cbye
cfloat32
:
.
L
cfloat32
:
fstps
0
(%
esi
)
fstps
0
(%
esi
)
jmp
cbye
jmp
.
L
cbye
cfloat64
:
.
L
cfloat64
:
fstpl
0
(%
esi
)
fstpl
0
(%
esi
)
jmp
cbye
jmp
.
L
cbye
cbye
:
.
L
cbye
:
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
.
L
sdocall
slooptop
:
.
L
slooptop
:
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
.
L
slooptest
.
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
.
L
slooptest
.
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
.
L
slooptest
.
Ls10
:
.
Ls10
:
cmpb
$
70
,(%
ebx
,%
edi
)
#
'F'
cmpb
$
70
,(%
ebx
,%
edi
)
#
'F'
jne
slooptest
jne
.
L
slooptest
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
:
.
L
slooptest
:
decl
%
ebx
decl
%
ebx
testl
%
ebx
,%
ebx
testl
%
ebx
,%
ebx
jg
slooptop
jg
.
L
slooptop
sdocall
:
.
L
sdocall
:
call
*
20
(%
ebp
)
call
*
20
(%
ebp
)
cmpb
$
102
,(%
edi
)
#
'f'
cmpb
$
102
,(%
edi
)
#
'f'
je
sfloat32
je
.
L
sfloat32
cmpb
$
70
,(%
edi
)
#
'F'
cmpb
$
70
,(%
edi
)
#
'F'
je
sfloat64
je
.
L
sfloat64
siorI
:
.
L
siorI
:
movl
%
eax
,
0
(%
esi
)
movl
%
eax
,
0
(%
esi
)
movl
%
edx
,
4
(%
esi
)
movl
%
edx
,
4
(%
esi
)
jmp
sbye
jmp
.
L
sbye
sfloat32
:
.
L
sfloat32
:
fstps
0
(%
esi
)
fstps
0
(%
esi
)
jmp
sbye
jmp
.
L
sbye
sfloat64
:
.
L
sfloat64
:
fstpl
0
(%
esi
)
fstpl
0
(%
esi
)
jmp
sbye
jmp
.
L
sbye
sbye
:
.
L
sbye
:
#
#
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment