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
a90f7b47
Commit
a90f7b47
authored
34 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Enumerated all the different register offsets.
parent
78050473
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/mips/vm.lisp
+22
-21
22 additions, 21 deletions
compiler/mips/vm.lisp
with
22 additions
and
21 deletions
compiler/mips/vm.lisp
+
22
−
21
View file @
a90f7b47
...
...
@@ -7,7 +7,7 @@
;;; Lisp, please contact Scott Fahlman (Scott.Fahlman@CS.CMU.EDU)
;;; **********************************************************************
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/vm.lisp,v 1.2
7
1990/05/
19 09:45:2
4 wlott Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/vm.lisp,v 1.2
8
1990/05/
23 06:10:0
4 wlott Exp $
;;;
;;; This file contains the VM definition for the MIPS R2000 and the new
;;; object format.
...
...
@@ -403,14 +403,34 @@
(
eval-when
(
compile
eval
load
)
(
defconstant
zero-offset
0
)
(
defconstant
lip-offset
1
)
(
defconstant
nl0-offset
2
)
(
defconstant
nl1-offset
3
)
(
defconstant
nl2-offset
4
)
(
defconstant
nl3-offset
5
)
(
defconstant
nl4-offset
6
)
(
defconstant
nargs-offset
7
)
(
defconstant
a0-offset
8
)
(
defconstant
a1-offset
9
)
(
defconstant
a2-offset
10
)
(
defconstant
a3-offset
11
)
(
defconstant
a4-offset
12
)
(
defconstant
a5-offset
13
)
(
defconstant
cname-offset
14
)
(
defconstant
lexenv-offset
15
)
(
defconstant
args-offset
16
)
(
defconstant
old-fp-offset
17
)
(
defconstant
lra-offset
18
)
(
defconstant
l0-offset
19
)
(
defconstant
null-offset
20
)
(
defconstant
bsp-offset
21
)
(
defconstant
fp-offset
22
)
(
defconstant
csp-offset
23
)
(
defconstant
flags-offset
24
)
(
defconstant
alloc-offset
25
)
(
defconstant
l1-offset
28
)
(
defconstant
nsp-offset
29
)
(
defconstant
code-offset
30
))
(
defconstant
code-offset
30
)
(
defconstant
l2-offset
31
))
;;;
;;; Wired Zero
...
...
@@ -541,25 +561,6 @@
(
eval-when
(
compile
load
eval
)
;;; Offset of special registers used during calls
;;;
(
defconstant
nargs-offset
7
)
(
defconstant
cname-offset
14
)
(
defconstant
lexenv-offset
15
)
(
defconstant
args-offset
16
)
(
defconstant
old-fp-offset
17
)
(
defconstant
lra-offset
18
)
;;; A few additional registers distinct from all the linkage regs. These are
;;; needed by copy-more-args.
;;;
(
defconstant
nl0-offset
2
)
(
defconstant
nl1-offset
3
)
(
defconstant
nl2-offset
4
)
(
defconstant
nl3-offset
5
)
(
defconstant
l0-offset
19
)
(
defconstant
l1-offset
28
)
;;; Offsets of special stack frame locations
(
defconstant
old-fp-save-offset
0
)
(
defconstant
lra-save-offset
1
)
...
...
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