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
6512c242
Commit
6512c242
authored
33 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Fixed spelling of "efficency"
parent
e5bfa4b8
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/represent.lisp
+10
-9
10 additions, 9 deletions
compiler/represent.lisp
with
10 additions
and
9 deletions
compiler/represent.lisp
+
10
−
9
View file @
6512c242
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/represent.lisp,v 1.3
0
199
1/12/22 01:27:48 ram
Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/represent.lisp,v 1.3
1
199
2/02/13 20:39:51 wlott
Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -390,13 +390,13 @@
nil
))))
;;; DO-COERCE-EFFICENCY-NOTE -- Internal
;;; DO-COERCE-EFFIC
I
ENCY-NOTE -- Internal
;;;
;;; If policy indicates, give an efficency note for doing the a coercion
;;; If policy indicates, give an effic
i
ency note for doing the a coercion
;;; Vop, where Op is the operand we are coercing for and Dest-TN is the
;;; distinct destination in a move.
;;;
(
defun
do-coerce-efficency-note
(
vop
op
dest-tn
)
(
defun
do-coerce-effic
i
ency-note
(
vop
op
dest-tn
)
(
declare
(
type
vop-info
vop
)
(
type
tn-ref
op
)
(
type
(
or
tn
null
)
dest-tn
))
(
let*
((
note
(
or
(
template-note
vop
)
(
template-name
vop
)))
(
cost
(
template-cost
vop
))
...
...
@@ -502,8 +502,8 @@
(
sc-allowed-by-primitive-type
i-sc
ptype
))
(
let
((
res
(
find-move-vop
op-tn
write-p
i-sc
ptype
#'
sc-move-vops
)))
(
when
res
(
when
(
>=
(
vop-info-cost
res
)
*efficency-note-cost-threshold*
)
(
do-coerce-efficency-note
res
op
dest-tn
))
(
when
(
>=
(
vop-info-cost
res
)
*effic
i
ency-note-cost-threshold*
)
(
do-coerce-effic
i
ency-note
res
op
dest-tn
))
(
let
((
temp
(
make-representation-tn
ptype
i
)))
(
change-tn-ref-tn
op
temp
)
(
cond
...
...
@@ -521,7 +521,7 @@
;;; Scan some operands and call EMIT-COERCE-VOP on any for which we can't
;;; load the operand. The coerce VOP is inserted Before the specified VOP.
;;; Dest-TN is the destination TN if we are doing a move or move-arg, and is
;;; NIL otherwise. This is only used for efficency notes.
;;; NIL otherwise. This is only used for effic
i
ency notes.
;;;
(
proclaim
'
(
inline
coerce-some-operands
))
(
defun
coerce-some-operands
(
ops
dest-tn
load-scs
before
)
...
...
@@ -646,8 +646,9 @@
(
delete-vop
vop
))
((
eq
res
info
))
(
res
(
when
(
>=
(
vop-info-cost
res
)
*efficency-note-cost-threshold*
)
(
do-coerce-efficency-note
res
args
y
))
(
when
(
>=
(
vop-info-cost
res
)
*efficiency-note-cost-threshold*
)
(
do-coerce-efficiency-note
res
args
y
))
(
emit-move-template
node
block
res
x
y
vop
)
(
delete-vop
vop
))
(
t
...
...
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