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
8c5a0bc6
Commit
8c5a0bc6
authored
34 years ago
by
ram
Browse files
Options
Downloads
Patches
Plain Diff
Moved some stuff to vm-macs.
parent
43ef012e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
compiler/mips/macros.lisp
+1
-31
1 addition, 31 deletions
compiler/mips/macros.lisp
compiler/mips/parms.lisp
+1
-14
1 addition, 14 deletions
compiler/mips/parms.lisp
with
2 additions
and
45 deletions
compiler/mips/macros.lisp
+
1
−
31
View file @
8c5a0bc6
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; **********************************************************************
;;; **********************************************************************
;;;
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/macros.lisp,v 1.4
2
199
0/11/26 15:19:18 wlott
Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/macros.lisp,v 1.4
3
199
1/02/11 17:32:43 ram
Exp $
;;;
;;;
;;; This file contains various useful macros for generating MIPS code.
;;; This file contains various useful macros for generating MIPS code.
;;;
;;;
...
@@ -522,33 +522,3 @@
...
@@ -522,33 +522,3 @@
(
emit-label
,
label
))))
(
emit-label
,
label
))))
;;;; Other random macros.
(
defmacro
pad-data-block
(
words
)
`
(
logandc2
(
+
(
ash
,
words
vm:word-shift
)
lowtag-mask
)
lowtag-mask
))
(
defmacro
defenum
((
&key
(
prefix
""
)
(
suffix
""
)
(
start
0
)
(
step
1
))
&rest
identifiers
)
(
let
((
results
nil
)
(
index
0
)
(
start
(
eval
start
))
(
step
(
eval
step
)))
(
dolist
(
id
identifiers
)
(
when
id
(
multiple-value-bind
(
root
docs
)
(
if
(
consp
id
)
(
values
(
car
id
)
(
cdr
id
))
(
values
id
nil
))
(
push
`
(
defconstant
,
(
intern
(
concatenate
'simple-string
(
string
prefix
)
(
string
root
)
(
string
suffix
)))
,
(
+
start
(
*
step
index
))
,@
docs
)
results
)))
(
incf
index
))
`
(
eval-when
(
compile
load
eval
)
,@
(
nreverse
results
))))
This diff is collapsed.
Click to expand it.
compiler/mips/parms.lisp
+
1
−
14
View file @
8c5a0bc6
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; **********************************************************************
;;; **********************************************************************
;;;
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/parms.lisp,v 1.8
7
1991/0
1/09 02:07:15 wlott
Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/parms.lisp,v 1.8
8
1991/0
2/11 17:33:08 ram
Exp $
;;;
;;;
;;; This file contains some parameterizations of various VM
;;; This file contains some parameterizations of various VM
;;; attributes for the MIPS. This file is separate from other stuff so
;;; attributes for the MIPS. This file is separate from other stuff so
...
@@ -179,16 +179,3 @@
...
@@ -179,16 +179,3 @@
(
defparameter
exported-static-symbols
(
defparameter
exported-static-symbols
(
subseq
static-symbols
0
(
position
'two-arg-+
static-symbols
)))
(
subseq
static-symbols
0
(
position
'two-arg-+
static-symbols
)))
;;;; Assembler parameters:
;;; The number of bits per element in the assemblers code vector.
;;;
(
defparameter
*assembly-unit-length*
8
)
;;;; Other parameters:
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