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
71b99589
Commit
71b99589
authored
34 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Removed package qualifier from error names.
Fixed make-array-header to fill in the correct rank in the header.
parent
610d7027
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/mips/array.lisp
+7
-6
7 additions, 6 deletions
compiler/mips/array.lisp
with
7 additions
and
6 deletions
compiler/mips/array.lisp
+
7
−
6
View file @
71b99589
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman (FAHLMAN@CMUC).
;;; **********************************************************************
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/array.lisp,v 1.1
6
1990/06/0
2 16:06:44
wlott Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/array.lisp,v 1.1
7
1990/06/0
4 05:21:36
wlott Exp $
;;;
;;; This file contains the MIPS definitions for array operations.
;;;
...
...
@@ -33,7 +33,8 @@
(
inst
addu
alloc-tn
rank
)
(
inst
li
ndescr
(
lognot
vm:lowtag-mask
))
(
inst
and
alloc-tn
ndescr
)
(
inst
sll
ndescr
rank
vm:type-bits
)
(
inst
addu
ndescr
rank
(
fixnum
(
1-
vm:array-dimensions-offset
)))
(
inst
sll
ndescr
ndescr
vm:type-bits
)
(
inst
or
ndescr
ndescr
type
)
(
inst
srl
ndescr
ndescr
2
)
(
storew
ndescr
header
0
vm:other-pointer-type
))
...
...
@@ -69,9 +70,9 @@
(
:results
(
res
:scs
(
any-reg
descriptor-reg
)))
(
:generator
6
(
loadw
temp
x
0
vm:other-pointer-type
)
(
inst
sra
temp
temp
vm:type-bits
)
(
inst
s
ll
res
temp
2
)
(
inst
addu
res
res
(
fixnum
(
-
1
vm:array-dimensions-offset
))
)))
(
inst
sra
temp
vm:type-bits
)
(
inst
s
ubu
temp
(
1-
vm:array-dimensions-offset
)
)
(
inst
sll
res
temp
2
)))
...
...
@@ -87,7 +88,7 @@
(
:results
(
result
:scs
(
any-reg
descriptor-reg
)))
(
:temporary
(
:scs
(
non-descriptor-reg
)
:type
random
)
temp
)
(
:generator
5
(
let
((
error
(
generate-error-code
di:
invalid-array-index-error
(
let
((
error
(
generate-error-code
invalid-array-index-error
array
bound
index
)))
(
inst
sltu
temp
index
bound
)
(
inst
beq
temp
zero-tn
error
)
...
...
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