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
1ef7b3a2
Commit
1ef7b3a2
authored
34 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Added code-header-{ref,set} and changed code-instructions to be a magic
function instead of a %primitive. ,
parent
be2ae6fa
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
+15
-1
15 additions, 1 deletion
compiler/sparc/system.lisp
with
15 additions
and
1 deletion
compiler/sparc/system.lisp
+
15
−
1
View file @
1ef7b3a2
...
@@ -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/sparc/system.lisp,v 1.
3
1991/0
1/09 02:11:32
wlott Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/system.lisp,v 1.
4
1991/0
3/22 14:01:01
wlott Exp $
;;;
;;;
;;; MIPS VM definitions of various system hacking operations.
;;; MIPS VM definitions of various system hacking operations.
;;;
;;;
...
@@ -216,7 +216,20 @@
...
@@ -216,7 +216,20 @@
;;;; Code object frobbing.
;;;; Code object frobbing.
(
define-vop
(
code-header-ref
word-index-ref
)
(
:translate
code-header-ref
)
(
:policy
:fast-safe
)
(
:variant
0
other-pointer-type
))
(
define-vop
(
code-header-set
word-index-set
)
(
:translate
code-header-set
)
(
:policy
:fast-safe
)
(
:variant
0
other-pointer-type
))
(
define-vop
(
code-instructions
)
(
define-vop
(
code-instructions
)
(
:translate
code-instructions
)
(
:policy
fast-safe
)
(
:args
(
code
:scs
(
descriptor-reg
)))
(
:args
(
code
:scs
(
descriptor-reg
)))
(
:temporary
(
:scs
(
non-descriptor-reg
))
ndescr
)
(
:temporary
(
:scs
(
non-descriptor-reg
))
ndescr
)
(
:results
(
sap
:scs
(
sap-reg
)))
(
:results
(
sap
:scs
(
sap-reg
)))
...
@@ -242,6 +255,7 @@
...
@@ -242,6 +255,7 @@
(
inst
add
ndescr
(
-
vm:function-pointer-type
vm:other-pointer-type
))
(
inst
add
ndescr
(
-
vm:function-pointer-type
vm:other-pointer-type
))
(
inst
add
func
code
ndescr
)))
(
inst
add
func
code
ndescr
)))
;;;; Other random VOPs.
;;;; Other random VOPs.
...
...
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