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
84a32efd
Commit
84a32efd
authored
32 years ago
by
ram
Browse files
Options
Downloads
Patches
Plain Diff
structure => instance
parent
ca1d0851
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/sparc/cell.lisp
+21
-21
21 additions, 21 deletions
compiler/sparc/cell.lisp
compiler/sparc/type-vops.lisp
+6
-6
6 additions, 6 deletions
compiler/sparc/type-vops.lisp
with
27 additions
and
27 deletions
compiler/sparc/cell.lisp
+
21
−
21
View file @
84a32efd
...
@@ -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/sparc/cell.lisp,v 1.1
4
199
2/12/16 20:27:10 wlott
Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/cell.lisp,v 1.1
5
199
3/03/01 14:51:21 ram
Exp $"
)
;;;
;;;
;;; **********************************************************************
;;; **********************************************************************
;;;
;;;
...
@@ -235,42 +235,42 @@
...
@@ -235,42 +235,42 @@
;;;;
Structur
e hackery:
;;;;
Instanc
e hackery:
(
define-vop
(
structur
e-length
)
(
define-vop
(
instanc
e-length
)
(
:policy
:fast-safe
)
(
:policy
:fast-safe
)
(
:translate
structur
e-length
)
(
:translate
%instanc
e-length
)
(
:args
(
struct
:scs
(
descriptor-reg
)))
(
:args
(
struct
:scs
(
descriptor-reg
)))
(
:temporary
(
:scs
(
non-descriptor-reg
))
temp
)
(
:temporary
(
:scs
(
non-descriptor-reg
))
temp
)
(
:results
(
res
:scs
(
unsigned-reg
)))
(
:results
(
res
:scs
(
unsigned-reg
)))
(
:result-types
positive-fixnum
)
(
:result-types
positive-fixnum
)
(
:generator
4
(
:generator
4
(
loadw
temp
struct
0
structur
e-pointer-type
)
(
loadw
temp
struct
0
instanc
e-pointer-type
)
(
inst
srl
res
temp
vm:type-bits
)))
(
inst
srl
res
temp
vm:type-bits
)))
(
define-vop
(
structur
e-ref
slot-ref
)
(
define-vop
(
instanc
e-ref
slot-ref
)
(
:variant
structur
e-slots-offset
structur
e-pointer-type
)
(
:variant
instanc
e-slots-offset
instanc
e-pointer-type
)
(
:policy
:fast-safe
)
(
:policy
:fast-safe
)
(
:translate
structur
e-ref
)
(
:translate
%instanc
e-ref
)
(
:arg-types
structur
e
(
:constant
index
)))
(
:arg-types
instanc
e
(
:constant
index
)))
(
define-vop
(
structur
e-set
slot-set
)
(
define-vop
(
instanc
e-set
slot-set
)
(
:policy
:fast-safe
)
(
:policy
:fast-safe
)
(
:translate
structur
e-set
)
(
:translate
%instanc
e-set
)
(
:variant
structur
e-slots-offset
structur
e-pointer-type
)
(
:variant
instanc
e-slots-offset
instanc
e-pointer-type
)
(
:arg-types
structur
e
(
:constant
index
)
*
))
(
:arg-types
instanc
e
(
:constant
index
)
*
))
(
define-vop
(
structur
e-index-ref
word-index-ref
)
(
define-vop
(
instanc
e-index-ref
word-index-ref
)
(
:policy
:fast-safe
)
(
:policy
:fast-safe
)
(
:translate
structur
e-ref
)
(
:translate
%instanc
e-ref
)
(
:variant
structur
e-slots-offset
structur
e-pointer-type
)
(
:variant
instanc
e-slots-offset
instanc
e-pointer-type
)
(
:arg-types
structur
e
positive-fixnum
))
(
:arg-types
instanc
e
positive-fixnum
))
(
define-vop
(
structur
e-index-set
word-index-set
)
(
define-vop
(
instanc
e-index-set
word-index-set
)
(
:policy
:fast-safe
)
(
:policy
:fast-safe
)
(
:translate
structur
e-set
)
(
:translate
%instanc
e-set
)
(
:variant
structur
e-slots-offset
structur
e-pointer-type
)
(
:variant
instanc
e-slots-offset
instanc
e-pointer-type
)
(
:arg-types
structur
e
positive-fixnum
*
))
(
:arg-types
instanc
e
positive-fixnum
*
))
...
...
This diff is collapsed.
Click to expand it.
compiler/sparc/type-vops.lisp
+
6
−
6
View file @
84a32efd
...
@@ -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/sparc/type-vops.lisp,v 1.1
2
199
2/12/05 21:57:12 wlott
Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/type-vops.lisp,v 1.1
3
199
3/03/01 14:52:04 ram
Exp $"
)
;;;
;;;
;;; **********************************************************************
;;; **********************************************************************
;;;
;;;
...
@@ -85,14 +85,14 @@
...
@@ -85,14 +85,14 @@
(
move
result
value
)))
(
move
result
value
)))
(
primitive-type-vop
check-list
(
:check
)
list
)
(
primitive-type-vop
check-list
(
:check
)
list
)
(
def-type-vops
structur
ep
nil
nil
nil
vm:
structur
e-pointer-type
)
(
def-type-vops
%instanc
ep
nil
nil
nil
vm:
instanc
e-pointer-type
)
(
define-vop
(
check-
structur
e
check-type
)
(
define-vop
(
check-
instanc
e
check-type
)
(
:generator
3
(
:generator
3
(
inst
and
temp
value
lowtag-mask
)
(
inst
and
temp
value
lowtag-mask
)
(
inst
cmp
temp
structur
e-pointer-type
)
(
inst
cmp
temp
instanc
e-pointer-type
)
(
inst
t
:ne
(
logior
(
ash
(
tn-offset
value
)
8
)
object-not-
structur
e-trap
))
(
inst
t
:ne
(
logior
(
ash
(
tn-offset
value
)
8
)
object-not-
instanc
e-trap
))
(
move
result
value
)))
(
move
result
value
)))
(
primitive-type-vop
check-
structur
e
(
:check
)
structur
e
)
(
primitive-type-vop
check-
instanc
e
(
:check
)
instanc
e
)
(
def-type-vops
bignump
check-bigunm
bignum
(
def-type-vops
bignump
check-bigunm
bignum
object-not-bignum-error
vm:bignum-type
)
object-not-bignum-error
vm:bignum-type
)
...
...
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