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
32f0cbbc
Commit
32f0cbbc
authored
32 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Changed DEFINE-INSTRUCTION to ignore the :READS, :WRITES, and :DELAY
options unless the scheduler is turned on.
parent
13ec0fb4
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
compiler/new-assem.lisp
+24
-13
24 additions, 13 deletions
compiler/new-assem.lisp
with
24 additions
and
13 deletions
compiler/new-assem.lisp
+
24
−
13
View file @
32f0cbbc
...
@@ -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/new-assem.lisp,v 1.1
5
1992/07/3
0
0
5:34:05
wlott Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/new-assem.lisp,v 1.1
6
1992/07/3
1
0
0:22:20
wlott Exp $"
)
;;;
;;;
;;; **********************************************************************
;;; **********************************************************************
;;;
;;;
...
@@ -1600,7 +1600,9 @@
...
@@ -1600,7 +1600,9 @@
(
writes
nil
)
(
writes
nil
)
(
delay
nil
)
(
delay
nil
)
(
pinned
nil
)
(
pinned
nil
)
(
pdefs
nil
))
(
pdefs
nil
)
(
scheduler-p
(
assem-params-scheduler-p
(
c:backend-assembler-params
c:*target-backend*
))))
(
dolist
(
option-spec
options
)
(
dolist
(
option-spec
options
)
(
multiple-value-bind
(
multiple-value-bind
(
option
args
)
(
option
args
)
...
@@ -1617,19 +1619,28 @@
...
@@ -1617,19 +1619,28 @@
(
:attributes
(
:attributes
(
setf
attributes
(
append
attributes
args
)))
(
setf
attributes
(
append
attributes
args
)))
(
:reads
(
:reads
(
when
(
or
reads
(
cdr
args
))
(
cond
((
not
scheduler-p
)
(
error
(
warn
"Ignoring :READS because scheduler turned off."
))
"Can only specify one reads expression per instruction."
))
((
or
reads
(
cdr
args
))
(
setf
reads
(
car
args
)))
(
error
"Can only specify one reads expression per instruction."
))
(
t
(
setf
reads
(
car
args
)))))
(
:writes
(
:writes
(
when
(
or
writes
(
cdr
args
))
(
cond
((
not
scheduler-p
)
(
error
(
warn
"Ignoring :WRITES because scheduler turned off."
))
"Can only specify one writes expression per instruction."
))
((
or
writes
(
cdr
args
))
(
setf
writes
(
car
args
)))
(
error
"Can only specify one writes expression per instruction."
))
(
t
(
setf
writes
(
car
args
)))))
(
:delay
(
:delay
(
when
delay
(
cond
((
not
scheduler-p
)
(
error
"Can only specify delay once per instruction."
))
(
warn
"Ignoring :DELAY because scheduler turned off."
))
(
setf
delay
args
))
(
delay
(
error
"Can only specify delay once per instruction."
))
(
t
(
setf
delay
args
))))
(
:pinned
(
:pinned
(
setf
pinned
t
))
(
setf
pinned
t
))
(
:vop-var
(
:vop-var
...
...
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