Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Carl Shapiro
cmucl
Commits
de22fddf
Commit
de22fddf
authored
20 years ago
by
cwang
Browse files
Options
Downloads
Patches
Plain Diff
Make addresses 64-bit clean
parent
5766312d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
compiler/amd64/call.lisp
+7
-5
7 additions, 5 deletions
compiler/amd64/call.lisp
compiler/amd64/cell.lisp
+5
-3
5 additions, 3 deletions
compiler/amd64/cell.lisp
with
12 additions
and
8 deletions
compiler/amd64/call.lisp
+
7
−
5
View file @
de22fddf
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/amd64/call.lisp,v 1.
1
2004/0
5/24 22:34:59
cwang Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/amd64/call.lisp,v 1.
2
2004/0
7/06 20:11:24
cwang Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -541,6 +541,7 @@
(
:args
(
fp
)
(
nfp
)
(
args
:more
t
))
(
:temporary
(
:sc
any-reg
)
temp-tn
)
; from/to?
(
:results
(
values
:more
t
))
(
:save-p
t
)
(
:move-args
:local-call
)
...
...
@@ -563,8 +564,8 @@
#+
nil
(
format
t
"*call-local: ret-tn on stack; offset=~s~%"
(
tn-offset
ret-tn
))
;; Stack
(
storew
(
make-fixup
nil
:code-object
return
)
rbp-tn
(
-
(
1+
(
tn-offset
ret-tn
)))))
(
inst
mov-imm
temp-tn
(
make-fixup
nil
:code-object
return
)
)
(
storew
temp-tn
rbp-tn
(
-
(
1+
(
tn-offset
ret-tn
)))))
((
sap-reg
)
;; Register
(
inst
lea
ret-tn
(
make-fixup
nil
:code-object
return
)))))
...
...
@@ -583,6 +584,7 @@
(
:args
(
fp
)
(
nfp
)
(
args
:more
t
))
(
:temporary
(
:sc
any-reg
)
temp-tn
)
; from/to?
(
:save-p
t
)
(
:move-args
:local-call
)
(
:info
save
callee
target
)
...
...
@@ -604,8 +606,8 @@
#+
nil
(
format
t
"*multiple-call-local: ret-tn on stack; offset=~s~%"
(
tn-offset
ret-tn
))
;; Stack
(
storew
(
make-fixup
nil
:code-object
return
)
rbp-tn
(
-
(
1+
(
tn-offset
ret-tn
)))))
(
inst
mov-imm
temp-tn
(
make-fixup
nil
:code-object
return
)
)
(
storew
temp-tn
rbp-tn
(
-
(
1+
(
tn-offset
ret-tn
)))))
((
sap-reg
)
;; Register
(
inst
lea
ret-tn
(
make-fixup
nil
:code-object
return
)))))
...
...
This diff is collapsed.
Click to expand it.
compiler/amd64/cell.lisp
+
5
−
3
View file @
de22fddf
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/amd64/cell.lisp,v 1.
2
2004/0
6/10 01:39
:0
6
cwang Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/amd64/cell.lisp,v 1.
3
2004/0
7/06 20:12
:0
8
cwang Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -195,10 +195,12 @@
(
:translate
fdefn-makunbound
)
(
:args
(
fdefn
:scs
(
descriptor-reg
)
:target
result
))
(
:results
(
result
:scs
(
descriptor-reg
)))
(
:temporary
(
:sc
any-reg
)
temp
)
(
:generator
38
(
storew
nil-value
fdefn
fdefn-function-slot
other-pointer-type
)
(
storew
(
make-fixup
(
extern-alien-name
"undefined_tramp"
)
:foreign
)
fdefn
fdefn-raw-addr-slot
other-pointer-type
)
(
inst
mov-imm
temp
(
make-fixup
(
extern-alien-name
"undefined_tramp"
)
:foreign
))
(
storew
temp
fdefn
fdefn-raw-addr-slot
other-pointer-type
)
(
move
result
fdefn
)))
...
...
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