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
129d57aa
Commit
129d57aa
authored
21 years ago
by
toy
Browse files
Options
Downloads
Patches
Plain Diff
Use ldn/stn in loadw/storew.
parent
1a05a248
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/macros.lisp
+6
-6
6 additions, 6 deletions
compiler/sparc/macros.lisp
with
6 additions
and
6 deletions
compiler/sparc/macros.lisp
+
6
−
6
View file @
129d57aa
...
@@ -5,11 +5,11 @@
...
@@ -5,11 +5,11 @@
;;; Carnegie Mellon University, and has been placed in the public domain.
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
;;;
(
ext:file-comment
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/macros.lisp,v 1.2
7
2003/10/
16
16:
25:19
toy Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/macros.lisp,v 1.2
8
2003/10/
27
16:
59:31
toy Exp $"
)
;;;
;;;
;;; **********************************************************************
;;; **********************************************************************
;;;
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/macros.lisp,v 1.2
7
2003/10/
16
16:
25:19
toy Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/macros.lisp,v 1.2
8
2003/10/
27
16:
59:31
toy Exp $
;;;
;;;
;;; This file contains various useful macros for generating SPARC code.
;;; This file contains various useful macros for generating SPARC code.
;;;
;;;
...
@@ -56,10 +56,10 @@
...
@@ -56,10 +56,10 @@
(
inst
li
,
temp
,
offs
)
(
inst
li
,
temp
,
offs
)
(
inst
,
',inst
,
object
,
base
,
temp
)))))
(
inst
,
',inst
,
object
,
base
,
temp
)))))
`
(
inst
,
',inst
,
object
,
base
(
-
(
ash
,
offset
,
',shift
)
,
lowtag
))))))
`
(
inst
,
',inst
,
object
,
base
(
-
(
ash
,
offset
,
',shift
)
,
lowtag
))))))
(
frob
loadw
ld
word-shift
)
(
frob
loadw
ld
n
word-shift
)
#+
(
and
sparc-v9
sparc-v8plus
)
#+
(
and
sparc-v9
sparc-v8plus
)
(
frob
loadsw
ldsw
word-shift
)
(
frob
loadsw
ldsw
word-shift
)
(
frob
storew
st
word-shift
))
(
frob
storew
st
n
word-shift
))
#+
(
and
sparc-v9
sparc-v8plus
)
#+
(
and
sparc-v9
sparc-v8plus
)
(
macrolet
(
macrolet
...
@@ -95,12 +95,12 @@
...
@@ -95,12 +95,12 @@
(
find-package
"VM"
))))
(
find-package
"VM"
))))
`
(
progn
`
(
progn
(
defmacro
,
loader
(
reg
symbol
)
(
defmacro
,
loader
(
reg
symbol
)
`
(
inst
ld
,
reg
null-tn
`
(
inst
ld
n
,
reg
null-tn
(
+
(
static-symbol-offset
',symbol
)
(
+
(
static-symbol-offset
',symbol
)
(
ash
,
',offset
word-shift
)
(
ash
,
',offset
word-shift
)
(
-
other-pointer-type
))))
(
-
other-pointer-type
))))
(
defmacro
,
storer
(
reg
symbol
)
(
defmacro
,
storer
(
reg
symbol
)
`
(
inst
st
,
reg
null-tn
`
(
inst
st
n
,
reg
null-tn
(
+
(
static-symbol-offset
',symbol
)
(
+
(
static-symbol-offset
',symbol
)
(
ash
,
',offset
word-shift
)
(
ash
,
',offset
word-shift
)
(
-
other-pointer-type
))))))))
(
-
other-pointer-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