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
6008cdb0
Commit
6008cdb0
authored
32 years ago
by
ram
Browse files
Options
Downloads
Patches
Plain Diff
Add %raw-set-{single,double}
parent
2b71e8a9
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compiler/sparc/array.lisp
+21
-1
21 additions, 1 deletion
compiler/sparc/array.lisp
with
21 additions
and
1 deletion
compiler/sparc/array.lisp
+
21
−
1
View file @
6008cdb0
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/array.lisp,v 1.1
0
199
2/10/11 10:54:20 wlott
Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/array.lisp,v 1.1
1
199
3/03/01 14:50:14 ram
Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -388,6 +388,26 @@
(
inst
fmovs
result
value
)
(
inst
fmovs-odd
result
value
))))
;;; These VOPs are used for implementing float slots in structures (whose raw
;;; data is an unsigned-32 vector.
;;;
(
define-vop
(
raw-ref-single
data-vector-ref/simple-array-single-float
)
(
:translate
%raw-ref-single
)
(
:arg-types
simple-array-unsigned-byte-32
positive-fixnum
))
;;;
(
define-vop
(
raw-set-single
data-vector-set/simple-array-single-float
)
(
:translate
%raw-set-single
)
(
:arg-types
simple-array-unsigned-byte-32
positive-fixnum
single-float
))
;;;
(
define-vop
(
raw-ref-double
data-vector-ref/simple-array-double-float
)
(
:translate
%raw-ref-double
)
(
:arg-types
simple-array-unsigned-byte-32
positive-fixnum
))
;;;
(
define-vop
(
raw-set-double
data-vector-set/simple-array-double-float
)
(
:translate
%raw-set-double
)
(
:arg-types
simple-array-unsigned-byte-32
positive-fixnum
double-float
))
;;; These vops are useful for accessing the bits of a vector irrespective of
;;; what type of vector it is.
;;;
...
...
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