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
185188f9
Commit
185188f9
authored
34 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Fixed return-multiple to compute the new stack pointer correctly, and
deleted the load of a0 because the vop loads a0 for us.
parent
4d807ee6
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
assembly/mips/assem-rtns.lisp
+5
-3
5 additions, 3 deletions
assembly/mips/assem-rtns.lisp
with
5 additions
and
3 deletions
assembly/mips/assem-rtns.lisp
+
5
−
3
View file @
185188f9
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; **********************************************************************
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/assembly/mips/assem-rtns.lisp,v 1.2
4
1990/10/
19 15:31:18
wlott Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/assembly/mips/assem-rtns.lisp,v 1.2
5
1990/10/
20 16:26:02
wlott Exp $
;;;
;;;
(
in-package
"C"
)
...
...
@@ -40,8 +40,10 @@
(
:temp
a4
descriptor-reg
a4-offset
)
(
:temp
a5
descriptor-reg
a5-offset
))
;; Note, because of the way the return-multiple vop is written, we can
;; assume that we are never called with nvals == 1 and that a0 has already
;; been loaded.
(
inst
blez
nvals
default-a0-and-on
)
(
inst
lw
a0
vals
(
*
0
vm:word-bytes
))
(
inst
subu
count
nvals
(
fixnum
2
))
(
inst
blez
count
default-a2-and-on
)
(
inst
lw
a1
vals
(
*
1
vm:word-bytes
))
...
...
@@ -89,7 +91,7 @@
;; Clear the stack.
(
move
old-fp-tn
fp-tn
)
(
move
fp-tn
old-fp
)
(
inst
addu
csp-tn
fp-tn
nvals
)
(
inst
addu
csp-tn
old-
fp-tn
nvals
)
;; Return.
(
lisp-return
lra
lip
))
...
...
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