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
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cmucl
cmucl
Commits
2b4777a3
Commit
2b4777a3
authored
Sep 2, 2013
by
Raymond Toy
Browse files
Options
Downloads
Patches
Plain Diff
Update for ARM, using NOT-IMPLEMENTED.
parent
b06b14b8
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/compiler/arm/subprim.lisp
+4
-27
4 additions, 27 deletions
src/compiler/arm/subprim.lisp
with
4 additions
and
27 deletions
src/compiler/arm/subprim.lisp
+
4
−
27
View file @
2b4777a3
;;; -*- Package:
SP
AR
C
-*-
;;; -*- Package: AR
M
-*-
;;;
;;; **********************************************************************
;;; This code was written as part of the CMU Common Lisp project at
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
(
ext:file-comment
"$Header: src/compiler/
sp
ar
c
/subprim.lisp $"
)
"$Header: src/compiler/ar
m
/subprim.lisp $"
)
;;;
;;; **********************************************************************
;;;
;;; Linkage information for standard static functions, and random vops.
;;;
;;; Written by William Lott.
;;;
(
in-package
"SPARC"
)
(
in-package
"ARM"
)
...
...
@@ -32,28 +30,7 @@
(
:vop-var
vop
)
(
:save-p
:compute-only
)
(
:generator
50
(
let
((
done
(
gen-label
))
(
loop
(
gen-label
))
(
not-list
(
generate-cerror-code
vop
object-not-list-error
object
)))
(
move
ptr
object
)
(
move
count
zero-tn
)
(
emit-label
loop
)
(
inst
cmp
ptr
null-tn
)
(
inst
b
:eq
done
)
(
inst
nop
)
(
test-type
ptr
temp
not-list
t
vm:list-pointer-type
)
(
loadw
ptr
ptr
vm:cons-cdr-slot
vm:list-pointer-type
)
(
inst
add
count
count
(
fixnumize
1
))
(
test-type
ptr
temp
loop
nil
vm:list-pointer-type
)
(
cerror-call
vop
done
object-not-list-error
ptr
)
(
emit-label
done
)
(
move
result
count
))))
(
not-implemented
)))
(
define-static-function
length
(
object
)
:translate
length
)
...
...
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