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
9ff2fa16
Commit
9ff2fa16
authored
33 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Ripped out pointer-compare and check<= stuff.
parent
2e82ff17
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/rt/system.lisp
+1
-55
1 addition, 55 deletions
compiler/rt/system.lisp
with
1 addition
and
55 deletions
compiler/rt/system.lisp
+
1
−
55
View file @
9ff2fa16
...
@@ -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/rt/system.lisp,v 1.
6
1992/03/10 0
9
:01:5
6
wlott Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/rt/system.lisp,v 1.
7
1992/03/10
1
0:01:
1
5 wlott Exp $
;;;
;;;
;;; IBM RT VM definitions of various system hacking operations.
;;; IBM RT VM definitions of various system hacking operations.
;;;
;;;
...
@@ -19,60 +19,6 @@
...
@@ -19,60 +19,6 @@
(
in-package
"RT"
)
(
in-package
"RT"
)
;;;; Random pointer comparison VOPs
(
define-vop
(
pointer-compare
)
(
:args
(
x
:scs
(
sap-reg
))
(
y
:scs
(
sap-reg
)))
(
:arg-types
system-area-pointer
system-area-pointer
)
(
:conditional
)
(
:info
target
not-p
)
(
:policy
:fast-safe
)
(
:note
"inline comparison"
)
(
:variant-vars
condition
)
(
:generator
6
(
inst
cl
x
y
)
(
if
not-p
(
inst
bnc
condition
target
)
(
inst
bc
condition
target
))))
(
macrolet
((
frob
(
name
cond
)
`
(
progn
(
def-primitive-translator
,
name
(
x
y
)
`
(
,
',name
,
x
,
y
))
(
defknown
,
name
(
t
t
)
boolean
(
movable
foldable
flushable
))
(
define-vop
(
,
name
pointer-compare
)
(
:translate
,
name
)
(
:variant
,
cond
)))))
(
frob
pointer<
:lt
)
(
frob
pointer>
:gt
))
;;;; Random assertions VOPS.
(
define-vop
(
check-op
)
(
:args
(
x
:scs
(
any-reg
descriptor-reg
))
(
y
:scs
(
any-reg
descriptor-reg
)))
(
:vop-var
vop
)
(
:save-p
:compute-only
)
(
:policy
:fast-safe
))
(
define-vop
(
check<=
check-op
)
(
:translate
check<=
)
(
:generator
6
(
let
((
target
(
generate-error-code
vop
not-<=-error
x
y
)))
(
inst
c
x
y
)
(
inst
bc
:gt
target
))))
(
define-vop
(
check=
check-op
)
(
:translate
check=
)
(
:generator
6
(
let
((
target
(
generate-error-code
vop
not-=-error
x
y
)))
(
inst
c
x
y
)
(
inst
bnc
:eq
target
))))
;;;; Type frobbing VOPs.
;;;; Type frobbing VOPs.
...
...
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