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
2f4a668f
Commit
2f4a668f
authored
33 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Now that ir2tran deals with the BSP during unwinds, don't bother to save it
in save/restore-dynamic-state.
parent
8f8d8ca2
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/sparc/nlx.lisp
+8
-35
8 additions, 35 deletions
compiler/sparc/nlx.lisp
with
8 additions
and
35 deletions
compiler/sparc/nlx.lisp
+
8
−
35
View file @
2f4a668f
...
@@ -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/sparc/nlx.lisp,v 1.
3
1991/0
1/20 22:46:52
wlott Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/nlx.lisp,v 1.
4
1991/0
8/31 22:11:00
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.)
...
@@ -43,18 +43,16 @@
...
@@ -43,18 +43,16 @@
;;; use with the Save/Restore-Dynamic-Environment VOPs.
;;; use with the Save/Restore-Dynamic-Environment VOPs.
;;;
;;;
(
def-vm-support-routine
make-dynamic-state-tns
()
(
def-vm-support-routine
make-dynamic-state-tns
()
(
make-n-tns
5
*any-primitive-type*
))
(
make-n-tns
4
*any-primitive-type*
))
(
define-vop
(
save-dynamic-state
)
(
define-vop
(
save-dynamic-state
)
(
:results
(
catch
:scs
(
descriptor-reg
))
(
:results
(
catch
:scs
(
descriptor-reg
))
(
special
:scs
(
descriptor-reg
))
(
nfp
:scs
(
descriptor-reg
))
(
nfp
:scs
(
descriptor-reg
))
(
nsp
:scs
(
descriptor-reg
))
(
nsp
:scs
(
descriptor-reg
))
(
eval
:scs
(
descriptor-reg
)))
(
eval
:scs
(
descriptor-reg
)))
(
:vop-var
vop
)
(
:vop-var
vop
)
(
:generator
13
(
:generator
13
(
load-symbol-value
catch
lisp::*current-catch-block*
)
(
load-symbol-value
catch
lisp::*current-catch-block*
)
(
move
special
bsp-tn
)
(
let
((
cur-nfp
(
current-nfp-tn
vop
)))
(
let
((
cur-nfp
(
current-nfp-tn
vop
)))
(
when
cur-nfp
(
when
cur-nfp
(
move
nfp
cur-nfp
)))
(
move
nfp
cur-nfp
)))
...
@@ -63,42 +61,17 @@
...
@@ -63,42 +61,17 @@
(
define-vop
(
restore-dynamic-state
)
(
define-vop
(
restore-dynamic-state
)
(
:args
(
catch
:scs
(
descriptor-reg
))
(
:args
(
catch
:scs
(
descriptor-reg
))
(
special
:scs
(
descriptor-reg
))
(
nfp
:scs
(
descriptor-reg
))
(
nfp
:scs
(
descriptor-reg
))
(
nsp
:scs
(
descriptor-reg
))
(
nsp
:scs
(
descriptor-reg
))
(
eval
:scs
(
descriptor-reg
)))
(
eval
:scs
(
descriptor-reg
)))
(
:temporary
(
:scs
(
descriptor-reg
))
symbol
value
)
(
:vop-var
vop
)
(
:vop-var
vop
)
(
:generator
10
(
:generator
10
(
let
((
done
(
gen-label
))
(
store-symbol-value
catch
lisp::*current-catch-block*
)
(
skip
(
gen-label
))
(
store-symbol-value
eval
lisp::*eval-stack-top*
)
(
loop
(
gen-label
)))
(
let
((
cur-nfp
(
current-nfp-tn
vop
)))
(
when
cur-nfp
(
store-symbol-value
catch
lisp::*current-catch-block*
)
(
move
cur-nfp
nfp
)))
(
store-symbol-value
eval
lisp::*eval-stack-top*
)
(
move
nsp-tn
nsp
)))
(
let
((
cur-nfp
(
current-nfp-tn
vop
)))
(
when
cur-nfp
(
move
cur-nfp
nfp
)))
(
move
nsp-tn
nsp
)
(
inst
cmp
special
bsp-tn
)
(
inst
b
:eq
done
)
(
inst
nop
)
(
emit-label
loop
)
(
loadw
symbol
bsp-tn
(
-
binding-symbol-slot
binding-size
))
(
inst
cmp
symbol
)
(
inst
b
:eq
skip
)
(
loadw
value
bsp-tn
(
-
binding-value-slot
binding-size
))
(
storew
value
symbol
vm:symbol-value-slot
vm:other-pointer-type
)
(
storew
zero-tn
bsp-tn
(
-
binding-symbol-slot
binding-size
))
(
emit-label
skip
)
(
inst
add
bsp-tn
bsp-tn
(
*
-2
vm:word-bytes
))
(
inst
cmp
bsp-tn
special
)
(
inst
b
:ne
loop
)
(
inst
nop
)
(
emit-label
done
))))
(
define-vop
(
current-stack-pointer
)
(
define-vop
(
current-stack-pointer
)
(
:results
(
res
:scs
(
any-reg
descriptor-reg
)))
(
:results
(
res
:scs
(
any-reg
descriptor-reg
)))
...
...
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