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
a17f4509
Commit
a17f4509
authored
28 years ago
by
dtc
Browse files
Options
Downloads
Patches
Plain Diff
Update note on the macro with-empty-tn@fp-top, clarify its use.
parent
20f1e362
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compiler/x86/macros.lisp
+6
-4
6 additions, 4 deletions
compiler/x86/macros.lisp
with
6 additions
and
4 deletions
compiler/x86/macros.lisp
+
6
−
4
View file @
a17f4509
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/x86/macros.lisp,v 1.
1
1997/0
1
/1
8 14:31:22 ram
Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/x86/macros.lisp,v 1.
2
1997/0
2
/1
2 21:01:25 dtc
Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -34,7 +34,10 @@
(
unless
(
zerop
(
tn-offset
,
tn
))
(
inst
fxch
,
tn
))))
;;; Use this to prepare for load of new value.
;;; Use this to prepare for load of new value from memory. This
;;; changes the register numbering so the next instruction had better
;;; be a FP load from memory; a register load from another register
;;; will probably be loading the wrong register!
(
defmacro
with-empty-tn@fp-top
((
tn
)
&body
body
)
`
(
progn
(
inst
fstp
,
tn
)
...
...
@@ -113,8 +116,7 @@
`
(
progn
(
load-symbol-value
,
alloc
lisp::*allocation-pointer*
)
,@
body
(
store-symbol-value
,
alloc
lisp::*allocation-pointer*
)
))
(
store-symbol-value
,
alloc
lisp::*allocation-pointer*
)))
#-
cgc
(
defmacro
with-fixed-allocation
((
result
alloc
type-code
size
)
&body
body
)
...
...
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