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
43d3565b
Commit
43d3565b
authored
32 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Added an ``assembler-params'' field for the new assembler.
Changed new-backend to use more packages.
parent
be5e9475
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/backend.lisp
+8
-9
8 additions, 9 deletions
compiler/backend.lisp
with
8 additions
and
9 deletions
compiler/backend.lisp
+
8
−
9
View file @
43d3565b
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
;;;
(
ext:file-comment
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/backend.lisp,v 1.2
0
1992/0
3/24 17:40:18
wlott Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/backend.lisp,v 1.2
1
1992/0
5/18 17:53:33
wlott Exp $"
)
;;;
;;;
;;; **********************************************************************
;;; **********************************************************************
;;;
;;;
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
backend-instruction-formats
backend-instruction-flavors
backend-instruction-formats
backend-instruction-flavors
backend-assembler-resources
backend-special-arg-types
backend-assembler-resources
backend-special-arg-types
backend-disassem-params
backend-internal-errors
backend-disassem-params
backend-internal-errors
backend-assembler-params
;; The various backends need to call these support routines
;; The various backends need to call these support routines
make-stack-pointer-tn
primitive-type
primitive-type-of
))
make-stack-pointer-tn
primitive-type
primitive-type-of
))
...
@@ -214,8 +215,10 @@
...
@@ -214,8 +215,10 @@
;; Vector of the internal errors defined for this backend, or NIL if
;; Vector of the internal errors defined for this backend, or NIL if
;; they haven't been installed yet.
;; they haven't been installed yet.
(
internal-errors
nil
:type
(
or
simple-vector
null
))
)
(
internal-errors
nil
:type
(
or
simple-vector
null
))
;; Assembler parameters.
(
assembler-params
nil
:type
list
))
(
defprinter
backend
(
defprinter
backend
name
)
name
)
...
@@ -279,13 +282,9 @@
...
@@ -279,13 +282,9 @@
(
unless
(
member
"VM"
nicknames
:test
#'
string=
)
(
unless
(
member
"VM"
nicknames
:test
#'
string=
)
(
rename-package
pkg
name
(
cons
"VM"
nicknames
)))
(
rename-package
pkg
name
(
cons
"VM"
nicknames
)))
;; And make sure we are using the necessary packages.
;; And make sure we are using the necessary packages.
(
use-package
"C"
pkg
)
(
use-package
'
(
"C-CALL"
"ALIEN-INTERNALS"
"ALIEN"
"BIGNUM"
"UNIX"
(
use-package
"ASSEM"
pkg
)
"LISP"
"KERNEL"
"EXTENSIONS"
"SYSTEM"
"C"
)
(
use-package
"EXT"
pkg
)
pkg
))
(
use-package
"KERNEL"
pkg
)
(
use-package
"SYSTEM"
pkg
)
(
use-package
"ALIEN"
pkg
)
(
use-package
"C-CALL"
pkg
))
;; Make sure the native info env list is stored in *native-backend*
;; Make sure the native info env list is stored in *native-backend*
(
unless
(
backend-info-environment
*native-backend*
)
(
unless
(
backend-info-environment
*native-backend*
)
(
setf
(
backend-info-environment
*native-backend*
)
*info-environment*
))
(
setf
(
backend-info-environment
*native-backend*
)
*info-environment*
))
...
...
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