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
ac841679
Commit
ac841679
authored
34 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Save the nfp-tn if there is one. Call debug_print instead of print, so that
the output is not quite as verbose.
parent
49e7bacf
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/mips/print.lisp
+10
-3
10 additions, 3 deletions
compiler/mips/print.lisp
with
10 additions
and
3 deletions
compiler/mips/print.lisp
+
10
−
3
View file @
ac841679
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; **********************************************************************
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/print.lisp,v 1.
2
1990/0
4/24 02:56
:3
0
wlott Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/print.lisp,v 1.
3
1990/0
5/19 09:44
:3
7
wlott Exp $
;;;
;;; This file contains temporary printing utilities and similar noise.
;;;
...
...
@@ -24,11 +24,16 @@
(
:temporary
(
:sc
any-reg
:offset
lra-offset
)
lra
)
(
:temporary
(
:sc
any-reg
:offset
code-offset
)
code
)
(
:temporary
(
:scs
(
any-reg
)
:type
fixnum
)
temp
)
(
:temporary
(
:sc
control-stack
:offset
nfp-save-offset
)
nfp-save
)
(
:vop-var
vop
)
(
:generator
0
(
let
((
lra-label
(
gen-label
)))
(
let
((
lra-label
(
gen-label
))
(
cur-nfp
(
current-nfp-tn
vop
)))
(
when
cur-nfp
(
store-stack-tn
nfp-save
cur-nfp
))
(
inst
addu
nsp-tn
nsp-tn
-16
)
(
storew
object
nsp-tn
0
)
(
inst
li
v0
(
make-fixup
"print"
:foreign
))
(
inst
li
v0
(
make-fixup
"
debug_
print"
:foreign
))
(
inst
li
temp
(
make-fixup
"call_into_c"
:foreign
))
(
inst
j
temp
)
(
inst
compute-lra-from-code
lra
code
lra-label
)
...
...
@@ -36,4 +41,6 @@
(
emit-label
lra-label
)
(
inst
lra-header-word
)
(
inst
addu
nsp-tn
nsp-tn
16
)
(
when
cur-nfp
(
load-stack-tn
cur-nfp
nfp-save
))
(
move
result
v0
))))
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