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
22f1f550
Commit
22f1f550
authored
21 years ago
by
toy
Browse files
Options
Downloads
Patches
Plain Diff
Oops. The 64-bit result should go to the %i registers, not the %o!
parent
100a3e66
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compiler/sparc/c-call.lisp
+6
-4
6 additions, 4 deletions
compiler/sparc/c-call.lisp
with
6 additions
and
4 deletions
compiler/sparc/c-call.lisp
+
6
−
4
View file @
22f1f550
...
...
@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/c-call.lisp,v 1.
19
2003/05/1
5
12:
16:14
toy Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/c-call.lisp,v 1.
20
2003/05/1
6
12:
20:58
toy Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -425,12 +425,14 @@ pointer to the arguments."
(
inst
jal
%o7
%l0
(
ldb
(
byte
10
0
)
addr
))
(
inst
nop
))
;; Ok, we're back. The value returned is actually stored in the args
;; Ok, we're back. The value returned is actually
;; stored in the return area. Need to get that into
;; the right registers for return.
(
etypecase
return-type
(
alien::integer-64$
;; A 64-bit bignum, stored big-endian
(
inst
ld
%
o
0
%fp
(
-
return-value-size
))
(
inst
ld
%
o
1
%fp
(
-
(
-
return-value-size
vm:word-bytes
))))
(
inst
ld
%
i
0
%fp
(
-
return-value-size
))
(
inst
ld
%
i
1
%fp
(
-
(
-
return-value-size
vm:word-bytes
))))
((
or
alien::integer$
alien::pointer$
alien::sap$
)
(
inst
ld
%i0
%fp
(
-
return-value-size
)))
(
alien::single$
...
...
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