Skip to content
Snippets Groups Projects
Commit 93b591ac authored by Raymond Toy's avatar Raymond Toy
Browse files

Merge branch 'arm-rtoy-add-subprim.lisp' into...

Merge branch 'arm-rtoy-add-subprim.lisp' into arm-rtoy-add-char-mem-arit-subprim-system-static-fn-debug-c-call
parents aeda9844 d8ac6f3d
Branches
Tags
No related merge requests found
;;; -*- Package: ARM -*-
;;;
;;; **********************************************************************
;;; 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/arm/subprim.lisp $")
;;;
;;; **********************************************************************
;;;
;;; Linkage information for standard static functions, and random vops.
;;;
(in-package "ARM")
;;;; Length
(define-vop (length/list)
(:translate length)
(:args (object :scs (descriptor-reg) :target ptr))
(:arg-types list)
(:temporary (:scs (descriptor-reg) :from (:argument 0)) ptr)
(:temporary (:scs (non-descriptor-reg)) temp)
(:temporary (:scs (any-reg) :type fixnum :to (:result 0) :target result)
count)
(:results (result :scs (any-reg descriptor-reg)))
(:policy :fast-safe)
(:vop-var vop)
(:save-p :compute-only)
(:generator 50
(not-implemented)))
(define-static-function length (object) :translate length)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment