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
4876c269
Commit
4876c269
authored
33 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
typos
parent
b47a8732
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/rt/sap.lisp
+16
-15
16 additions, 15 deletions
compiler/rt/sap.lisp
with
16 additions
and
15 deletions
compiler/rt/sap.lisp
+
16
−
15
View file @
4876c269
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; **********************************************************************
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/rt/sap.lisp,v 1.1
0
1992/03/
09 20:35:07
wlott Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/rt/sap.lisp,v 1.1
1
1992/03/
10 09:01:21
wlott Exp $
;;;
;;; This file contains the IBM RT VM definition of SAP operations.
;;;
...
...
@@ -262,9 +262,9 @@
;;; (the machines address units). Translate and signed-translate are the Lisp
;;; function calls for which these VOP's are in-line expansions.
;;;
(
defmacro
define-system-set
(
name
:
size
translate
data-scs
data-type
)
(
defmacro
define-system-set
(
name
size
translate
data-scs
data-type
)
(
let
((
set-form
(
ecase
:
size
(
ecase
size
(
:byte
'
(
inst
stc
data
base
offset
))
(
:halfword
'
(
inst
sth
data
base
offset
))
(
:word
'
(
inst
st
data
base
offset
))))
...
...
@@ -305,23 +305,23 @@
)
;EVAL-WHEN
(
define-system-set
8bit-system-set
0
%set-sap-ref-8
(
signed-reg
unsigned-reg
)
(
:or
signed-num
unsigned-
num
)
)
(
define-system-set
8bit-system-set
:byte
%set-sap-ref-8
(
unsigned-reg
)
positive-fix
num
)
(
define-system-set
16bit-system-set
1
%set-sap-ref-16
(
signed-reg
unsigned-reg
)
(
:or
signed-num
unsigned-
num
)
)
(
define-system-set
16bit-system-set
:halfword
%set-sap-ref-16
(
unsigned-reg
)
positive-fix
num
)
(
define-system-set
32bit-system-set
2
%set-sap-ref-32
(
signed-reg
unsigned-reg
)
(
:or
signed-num
unsigned-num
)
)
(
define-system-set
32bit-system-set
:word
%set-sap-ref-32
unsigned-reg
unsigned-num
)
(
define-system-set
signed-8bit-system-set
0
%set-signed-sap-ref-8
(
signed-reg
unsigned-reg
)
(
:or
signed-num
unsign
ed-num
)
)
(
define-system-set
signed-8bit-system-set
:byte
%set-signed-sap-ref-8
signed-reg
tagg
ed-num
)
(
define-system-set
signed-16bit-system-set
1
%set-signed-sap-ref-16
(
signed-reg
unsigned-reg
)
(
:or
signed-num
unsign
ed-num
)
)
(
define-system-set
signed-16bit-system-set
:halfword
%set-signed-sap-ref-16
signed-reg
tagg
ed-num
)
(
define-system-set
signed-32bit-system-set
2
%set-signed-sap-ref-32
(
signed-reg
unsigned-reg
)
(
:or
signed-num
unsigned-num
)
)
(
define-system-set
signed-32bit-system-set
:word
%set-signed-sap-ref-32
signed-reg
signed-num
)
;;; Ugly, because there are only 2 free sap-regs. We stash the data value in
;;; NARGS to free up a sap-reg for BASE.
...
...
@@ -355,6 +355,7 @@
(
:translate
%set-sap-ref-sap
)
(
:args
(
object
:scs
(
sap-reg
))
(
data
:scs
(
sap-reg
)
:target
result
))
(
:info
offset
)
(
:arg-types
system-area-pointer
(
:constant
(
unsigned-byte
16
))
system-area-pointer
)
...
...
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