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
3d29d056
Commit
3d29d056
authored
25 years ago
by
dtc
Browse files
Options
Downloads
Patches
Plain Diff
For the AMD Atlon, use the faster FFREEP instruction for stack pops.
parent
2413835a
No related branches found
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
compiler/x86/c-call.lisp
+9
-20
9 additions, 20 deletions
compiler/x86/c-call.lisp
compiler/x86/float.lisp
+195
-178
195 additions, 178 deletions
compiler/x86/float.lisp
with
204 additions
and
198 deletions
compiler/x86/c-call.lisp
+
9
−
20
View file @
3d29d056
...
...
@@ -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/c-call.lisp,v 1.1
0
1999/
09
/1
5
1
5
:1
5
:3
4
dtc Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/x86/c-call.lisp,v 1.1
1
1999/
11
/1
1
1
6
:1
1
:3
7
dtc Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -225,28 +225,17 @@
(
t
;; Setup the NPX for C; all the FP registers need to be
;; empty; pop them all.
(
inst
fstp
fr0-tn
)
(
inst
fstp
fr0-tn
)
(
inst
fstp
fr0-tn
)
(
inst
fstp
fr0-tn
)
(
inst
fstp
fr0-tn
)
(
inst
fstp
fr0-tn
)
(
inst
fstp
fr0-tn
)
(
inst
fstp
fr0-tn
)
(
dotimes
(
i
8
)
(
fp-pop
))
(
inst
call
function
)
;; To give the debugger a clue. XX not really internal-error?
(
note-this-location
vop
:internal-error
)
;; Restore the NPX for lisp.
(
inst
fldz
)
; insure no regs are empty
(
inst
fldz
)
(
inst
fldz
)
(
inst
fldz
)
(
inst
fldz
)
(
inst
fldz
)
(
inst
fldz
)
;; Restore the NPX for lisp; insure no regs are empty.
(
dotimes
(
i
7
)
(
inst
fldz
))
(
if
(
and
results
(
location=
(
tn-ref-tn
results
)
fr0-tn
))
;; The return result is in fr0.
...
...
This diff is collapsed.
Click to expand it.
compiler/x86/float.lisp
+
195
−
178
View file @
3d29d056
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