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
087b4dc3
Commit
087b4dc3
authored
34 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Fixed some typos in the bit-not transform.
parent
322064b8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compiler/generic/vm-tran.lisp
+7
-7
7 additions, 7 deletions
compiler/generic/vm-tran.lisp
with
7 additions
and
7 deletions
compiler/generic/vm-tran.lisp
+
7
−
7
View file @
087b4dc3
...
@@ -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/generic/vm-tran.lisp,v 1.2
2
1991/01/1
3 23:37:26 ram
Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/generic/vm-tran.lisp,v 1.2
3
1991/01/1
4 01:43:02 wlott
Exp $
;;;
;;;
;;; This file contains impelemtentation-dependent transforms.
;;; This file contains impelemtentation-dependent transforms.
;;;
;;;
...
@@ -272,27 +272,27 @@
...
@@ -272,27 +272,27 @@
(
%raw-bits
bit-array-2
index
)))))))
(
%raw-bits
bit-array-2
index
)))))))
(
deftransform
bit-not
(
deftransform
bit-not
((
bit-array
-1
result-bit-array
)
((
bit-array
result-bit-array
)
(
simple-bit-vector
simple-bit-vector
)
*
(
simple-bit-vector
simple-bit-vector
)
*
:node
node
:policy
(
>=
speed
space
))
:node
node
:policy
(
>=
speed
space
))
`
(
progn
`
(
progn
,@
(
unless
(
policy
node
(
zerop
safety
))
,@
(
unless
(
policy
node
(
zerop
safety
))
'
((
unless
(
=
(
length
bit-array
-1
)
(
length
bit-array-2
)
'
((
unless
(
=
(
length
bit-array
)
(
length
result-bit-array
))
(
length
result-bit-array
))
(
error
"Argument and result bit arrays not the same length:~
(
error
"Argument and result bit arrays not the same length:~
~% ~S~% ~S"
~% ~S~% ~S"
bit-array
-1
result-bit-array
))))
bit-array
result-bit-array
))))
(
do
((
index
vm:vector-data-offset
(
1+
index
))
(
do
((
index
vm:vector-data-offset
(
1+
index
))
(
end
(
+
vm:vector-data-offset
(
end
(
+
vm:vector-data-offset
(
truncate
(
the
index
(
truncate
(
the
index
(
+
(
length
bit-array
-1
)
(
+
(
length
bit-array
)
vm:word-bits
-1
))
(
1-
vm:word-bits
)
))
vm:word-bits
))))
vm:word-bits
))))
((
=
index
end
)
result-bit-array
)
((
=
index
end
)
result-bit-array
)
(
declare
(
optimize
(
speed
3
)
(
safety
0
))
(
declare
(
optimize
(
speed
3
)
(
safety
0
))
(
type
index
index
end
))
(
type
index
index
end
))
(
setf
(
%raw-bits
result-bit-array
index
)
(
setf
(
%raw-bits
result-bit-array
index
)
(
32bit-logical-not
(
%raw-bits
bit-array
-1
index
))))))
(
32bit-logical-not
(
%raw-bits
bit-array
index
))))))
;;;; Primitive translator for byte-blt
;;;; Primitive translator for byte-blt
...
...
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