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
3db589e0
Commit
3db589e0
authored
35 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Added LABEL info arguments to the NLX entry VOPs and made them emit the
label and build the return-pc object.
parent
c88a87f1
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/nlx.lisp
+9
-3
9 additions, 3 deletions
compiler/mips/nlx.lisp
with
9 additions
and
3 deletions
compiler/mips/nlx.lisp
+
9
−
3
View file @
3db589e0
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; **********************************************************************
;;; **********************************************************************
;;;
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/nlx.lisp,v 1.
4
1990/03/
06 19:33:53
wlott Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/nlx.lisp,v 1.
5
1990/03/
14 16:06:12
wlott Exp $
;;;
;;;
;;; This file contains the definitions of VOPs used for non-local exit
;;; This file contains the definitions of VOPs used for non-local exit
;;; (throw, lexical exit, etc.)
;;; (throw, lexical exit, etc.)
...
@@ -173,10 +173,11 @@
...
@@ -173,10 +173,11 @@
(
count
))
(
count
))
(
:results
(
values
:more
t
))
(
:results
(
values
:more
t
))
(
:temporary
(
:scs
(
descriptor-reg
))
move-temp
)
(
:temporary
(
:scs
(
descriptor-reg
))
move-temp
)
(
:info
nvals
)
(
:info
label
nvals
)
(
:save-p
:force-to-stack
)
(
:save-p
:force-to-stack
)
(
:node-var
node
)
(
:node-var
node
)
(
:generator
30
(
:generator
30
(
emit-return-pc
label
)
(
cond
((
zerop
nvals
))
(
cond
((
zerop
nvals
))
((
=
nvals
1
)
((
=
nvals
1
)
(
let
((
no-values
(
gen-label
)))
(
let
((
no-values
(
gen-label
)))
...
@@ -226,6 +227,7 @@
...
@@ -226,6 +227,7 @@
(
start
:target
src
)
(
start
:target
src
)
(
count
:target
num
))
(
count
:target
num
))
(
:results
(
new-start
)
(
new-count
))
(
:results
(
new-start
)
(
new-count
))
(
:info
label
)
(
:temporary
(
:scs
(
any-reg
descriptor-reg
)
:type
fixnum
:from
(
:argument
0
))
(
:temporary
(
:scs
(
any-reg
descriptor-reg
)
:type
fixnum
:from
(
:argument
0
))
dst
)
dst
)
(
:temporary
(
:scs
(
any-reg
descriptor-reg
)
:type
fixnum
:from
(
:argument
1
))
(
:temporary
(
:scs
(
any-reg
descriptor-reg
)
:type
fixnum
:from
(
:argument
1
))
...
@@ -235,6 +237,7 @@
...
@@ -235,6 +237,7 @@
(
:temporary
(
:scs
(
descriptor-reg
))
temp
)
(
:temporary
(
:scs
(
descriptor-reg
))
temp
)
(
:save-p
:force-to-stack
)
(
:save-p
:force-to-stack
)
(
:generator
30
(
:generator
30
(
emit-return-pc
label
)
(
let
((
loop
(
gen-label
))
(
let
((
loop
(
gen-label
))
(
done
(
gen-label
)))
(
done
(
gen-label
)))
...
@@ -264,7 +267,10 @@
...
@@ -264,7 +267,10 @@
;;; This VOP is just to force the TNs used in the cleanup onto the stack.
;;; This VOP is just to force the TNs used in the cleanup onto the stack.
;;;
;;;
(
define-vop
(
uwp-entry
)
(
define-vop
(
uwp-entry
)
(
:info
label
)
(
:save-p
:force-to-stack
)
(
:save-p
:force-to-stack
)
(
:results
(
block
)
(
start
)
(
count
))
(
:results
(
block
)
(
start
)
(
count
))
(
:ignore
block
start
count
)
(
:ignore
block
start
count
)
(
:generator
0
))
(
:generator
0
(
emit-return-pc
label
)))
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