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
566750b7
Commit
566750b7
authored
34 years ago
by
ram
Browse files
Options
Downloads
Patches
Plain Diff
Moved POINTER-COMPARE here, since this is now loaded before system.
parent
8d76d595
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/old-rt/char.lisp
+18
-1
18 additions, 1 deletion
compiler/old-rt/char.lisp
with
18 additions
and
1 deletion
compiler/old-rt/char.lisp
+
18
−
1
View file @
566750b7
...
@@ -30,7 +30,8 @@
...
@@ -30,7 +30,8 @@
(
unless
(
location=
x
y
)
(
unless
(
location=
x
y
)
(
inst
lr
y
x
))))
(
inst
lr
y
x
))))
;;;
;;;
(
define-move-vop
string-char-move
:move
(
string-char-reg
)
(
string-char-reg
))
(
define-move-vop
string-char-move
:move
(
string-char-reg
)
(
string-char-reg
))
;;; Move untagged string-char arguments/return-values.
;;; Move untagged string-char arguments/return-values.
...
@@ -98,6 +99,22 @@
...
@@ -98,6 +99,22 @@
(
unless
(
location=
code
res
)
(
unless
(
location=
code
res
)
(
inst
lr
res
code
))))
(
inst
lr
res
code
))))
(
define-vop
(
pointer-compare
)
(
:args
(
x
:scs
(
any-reg
descriptor-reg
))
(
y
:scs
(
any-reg
descriptor-reg
)))
(
:conditional
)
(
:info
target
not-p
)
(
:policy
:fast-safe
)
(
:note
"inline comparison"
)
(
:variant-vars
condition
)
(
:generator
3
(
inst
cl
x
y
)
(
if
not-p
(
inst
bnb
condition
target
)
(
inst
bb
condition
target
))))
;;; For comparison of string-chars, we require both operands to be in the
;;; For comparison of string-chars, we require both operands to be in the
;;; untagged string-char-reg representation. This will be a pessimization if
;;; untagged string-char-reg representation. This will be a pessimization if
;;; both operands are tagged, but this won't happen often, and not in
;;; both operands are tagged, but this won't happen often, and not in
...
...
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