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
b4574849
Commit
b4574849
authored
35 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Fixed random typos, etc.
parent
1354cc77
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
assembly/mips/array.lisp
+7
-7
7 additions, 7 deletions
assembly/mips/array.lisp
with
7 additions
and
7 deletions
assembly/mips/array.lisp
+
7
−
7
View file @
b4574849
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; **********************************************************************
;;; **********************************************************************
;;;
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/assembly/mips/array.lisp,v 1.
1
1990/03/
07 19:04:50
wlott Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/assembly/mips/array.lisp,v 1.
2
1990/03/
18 23:53:17
wlott Exp $
;;;
;;;
;;; This file contains the support routines for arrays and vectors.
;;; This file contains the support routines for arrays and vectors.
;;;
;;;
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
(
inst
and
alloc-tn
alloc-tn
,
ndescr
)
(
inst
and
alloc-tn
alloc-tn
,
ndescr
)
,
(
if
(
constantp
type
)
,
(
if
(
constantp
type
)
`
(
loadi
,
ndescr
,
type
)
`
(
loadi
,
ndescr
,
type
)
`
(
inst
s
l
r
,
ndescr
,
type
vm:word-shift
))
`
(
inst
sr
l
,
ndescr
,
type
vm:word-shift
))
(
storew
,
ndescr
,
vector
0
vm:other-pointer-type
)
(
storew
,
ndescr
,
vector
0
vm:other-pointer-type
)
(
storew
,
length
,
vector
vm:vector-length-slot
vm:other-pointer-type
)))
(
storew
,
length
,
vector
vm:vector-length-slot
vm:other-pointer-type
)))
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
(
:temp
lip
:sc
interior-reg
:type
interior
)
(
:temp
lip
:sc
interior-reg
:type
interior
)
(
:temp
vector
:sc
descriptor-reg
))
(
:temp
vector
:sc
descriptor-reg
))
(
allocate-vector
vm:simple-vector-type
length
length
ndescr
)
(
allocate-vector
vm:simple-vector-type
length
length
vector
ndescr
)
(
inst
beq
length
zero-tn
done
)
(
inst
beq
length
zero-tn
done
)
(
inst
addiu
lip
vector
(
-
(
*
vm:vector-data-offset
vm:word-bytes
)
(
inst
addiu
lip
vector
(
-
(
*
vm:vector-data-offset
vm:word-bytes
)
vm:other-pointer-type
))
vm:other-pointer-type
))
...
@@ -67,9 +67,9 @@
...
@@ -67,9 +67,9 @@
loop
loop
(
storew
fill
lip
)
(
storew
fill
lip
)
(
inst
addiu
length
(
fixnum
-1
))
(
inst
addiu
length
length
(
fixnum
-1
))
(
bne
length
zero-tn
loop
)
(
inst
bne
length
zero-tn
loop
)
(
inst
addiu
lip
vm:word-bytes
)
(
inst
addiu
lip
lip
vm:word-bytes
)
done
done
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
(
inst
sra
words
length
(
+
vm:word-shift
2
))
(
inst
sra
words
length
(
+
vm:word-shift
2
))
(
inst
addiu
words
words
1
)
(
inst
addiu
words
words
1
)
(
inst
sll
words
words
2
)
(
inst
sll
words
words
2
)
(
allocate-vector
vm:simple-string-type
length
words
ndescr
)
(
allocate-vector
vm:simple-string-type
length
words
vector
ndescr
)
(
maybe-invoke-gc
vector
words
)
(
maybe-invoke-gc
vector
words
)
(
move
result
vector
))
(
move
result
vector
))
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