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
c509797a
Commit
c509797a
authored
34 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Added extra temporaries to the sap-ref and set VOPs to make sure all the
registers don't get used for other things.
parent
1751fa86
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compiler/rt/sap.lisp
+12
-6
12 additions, 6 deletions
compiler/rt/sap.lisp
with
12 additions
and
6 deletions
compiler/rt/sap.lisp
+
12
−
6
View file @
c509797a
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; **********************************************************************
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/rt/sap.lisp,v 1.
1
1991/0
2
/1
8
1
5:08:09 chiles
Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/rt/sap.lisp,v 1.
2
1991/0
4
/1
3
1
3:44:11 wlott
Exp $
;;;
;;; This file contains the IBM RT VM definition of SAP operations.
;;;
...
...
@@ -211,12 +211,15 @@
(
define-vop
(
,
name
)
(
:policy
:fast-safe
)
(
:translate
,
translate
)
(
:args
(
object
:scs
(
sap-reg
)
:to
:eval
)
(
:args
(
object
:scs
(
sap-reg
)
:to
(
:eval
0
)
)
(
offset
:scs
(
any-reg
)
:target
base
))
(
:results
(
result
:scs
(
,
result-sc
)))
(
:arg-types
system-area-pointer
positive-fixnum
)
(
:result-types
,
result-type
)
(
:temporary
(
:scs
(
sap-reg
)
:from
(
:argument
1
))
base
)
(
:temporary
(
:scs
(
non-descriptor-reg
)
:from
(
:eval
0
)
:to
(
:eval
1
))
bogus1
bogus2
)
(
:ignore
bogus1
bogus2
)
(
:variant-vars
signed
)
(
:variant
nil
)
(
:generator
5
...
...
@@ -278,10 +281,10 @@
(
0
;Want a byte. Incoming offset is in bytes. No shifting.
'
(
inst
stc
data
base
offset
))
(
1
;Want 16 bits. Incoming offset is in 16-bit quantities.
;Offset here is in bytes.
;Offset here is in bytes.
'
(
inst
sth
data
base
offset
))
(
2
;Want 32 bits. Incoming offset is in 32-bit quantities.
;Offset here is in bytes.
;Offset here is in bytes.
'
(
inst
st
data
base
offset
))))
(
name-c
(
symbolicate
name
"-C"
)))
`
(
progn
...
...
@@ -307,11 +310,14 @@
(
:args
(
object
:scs
(
sap-reg
)
:to
(
:eval
0
))
(
offset
:scs
(
any-reg
)
:target
temp
)
(
data
:scs
(
,@
data-scs
)
:target
result
:to
(
:
result
0
)))
:to
(
:
eval
1
)))
(
:arg-types
system-area-pointer
positive-fixnum
,
data-type
)
(
:temporary
(
:scs
(
sap-reg
)
:from
(
:eval
0
)
:to
(
:
result
0
))
base
)
(
:temporary
(
:scs
(
sap-reg
)
:from
(
:eval
0
)
:to
(
:
eval
2
))
base
)
(
:temporary
(
:scs
(
non-descriptor-reg
)
:from
(
:argument
1
)
:to
(
:eval
0
))
temp
)
(
:temporary
(
:scs
(
non-descriptor-reg
)
:from
(
:eval
1
)
:to
(
:eval
2
))
bogus
)
(
:ignore
bogus
)
(
:results
(
result
:scs
(
,@
data-scs
)))
(
:result-types
,
data-type
)
(
:generator
5
...
...
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