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
35d08ff3
Commit
35d08ff3
authored
34 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Added ``count-me'' vop.
parent
c6e8909f
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/sparc/system.lisp
+16
-1
16 additions, 1 deletion
compiler/sparc/system.lisp
with
16 additions
and
1 deletion
compiler/sparc/system.lisp
+
16
−
1
View file @
35d08ff3
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; **********************************************************************
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/system.lisp,v 1.
1
1990/1
1/30 17:05:05
wlott Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/system.lisp,v 1.
2
1990/1
2/08 22:51:36
wlott Exp $
;;;
;;; MIPS VM definitions of various system hacking operations.
;;;
...
...
@@ -270,3 +270,18 @@
(
:generator
1
(
inst
unimp
halt-trap
)))
;;;; Dynamic vop count collection support
(
define-vop
(
count-me
)
(
:args
(
count-vector
:scs
(
descriptor-reg
)))
(
:info
index
)
(
:temporary
(
:scs
(
non-descriptor-reg
))
count
)
(
:generator
1
(
let
((
offset
(
-
(
*
(
+
index
vector-data-offset
)
word-bytes
)
other-pointer-type
)))
(
assert
(
typep
offset
'
(
signed-byte
13
)))
(
inst
ld
count
count-vector
offset
)
(
inst
add
count
1
)
(
inst
st
count
count-vector
offset
))))
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