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
a6e411b4
Commit
a6e411b4
authored
20 years ago
by
rtoy
Browse files
Options
Downloads
Patches
Plain Diff
Fix typo, indent neatly.
parent
8e452b5c
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
+10
-11
10 additions, 11 deletions
compiler/sparc/macros.lisp
with
10 additions
and
11 deletions
compiler/sparc/macros.lisp
+
10
−
11
View file @
a6e411b4
...
...
@@ -5,11 +5,11 @@
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/macros.lisp,v 1.3
2
2004/0
5
/1
4 14:50:18
rtoy Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/macros.lisp,v 1.3
3
2004/0
8
/1
2 21:21:00
rtoy Exp $"
)
;;;
;;; **********************************************************************
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/macros.lisp,v 1.3
2
2004/0
5
/1
4 14:50:18
rtoy Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/macros.lisp,v 1.3
3
2004/0
8
/1
2 21:21:00
rtoy Exp $
;;;
;;; This file contains various useful macros for generating SPARC code.
;;;
...
...
@@ -252,7 +252,7 @@
(
load-symbol-value
,
result-tn
*current-region-end-addr*
)
;; Sometimes the size is an known constant, but won't fit in
;; the imme
i
diate field of an instruction. Hence we have to
;; the immediate field of an instruction. Hence we have to
;; do this to get it.
(
cond
((
and
(
tn-p
,
temp-tn
)
(
numberp
,
size
)
...
...
@@ -280,16 +280,15 @@
;; an instruction. Need to do this complicated thing.
(
cond
((
and
(
tn-p
,
temp-tn
)
(
numberp
,
size
)
(
not
(
typep
,
size
'
(
signed-byte
13
))))
(
inst
li
,
result-tn
,
size
)
(
inst
sub
,
result-tn
,
temp-tn
,
result-tn
))
(
t
(
inst
sub
,
result-tn
,
temp-tn
,
size
)))
(
numberp
,
size
)
(
not
(
typep
,
size
'
(
signed-byte
13
))))
(
inst
li
,
result-tn
,
size
)
(
inst
sub
,
result-tn
,
temp-tn
,
result-tn
))
(
t
(
inst
sub
,
result-tn
,
temp-tn
,
size
)))
(
inst
t
:gt
allocation-trap
))
;; Set lowtag appropriately
(
inst
or
,
result-tn
,
lowtag
))
))
(
inst
or
,
result-tn
,
lowtag
))))
(
defmacro
with-fixed-allocation
((
result-tn
temp-tn
type-code
size
&key
(
lowtag
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