1 ;;; -*- Package: ALPHA -*-
3 ;;; **********************************************************************
4 ;;; This code was written as part of the CMU Common Lisp project at
5 ;;; Carnegie Mellon University, and has been placed in the public domain.
9 ;;; **********************************************************************
11 ;;; This file contains temporary printing utilities and similar noise.
13 ;;; Written by William Lott.
14 ;;; Converted by Sean Hallgren.
21 (:args (object :scs (descriptor-reg) :target a0))
22 (:results (result :scs (descriptor-reg)))
24 (:temporary (:sc any-reg :offset cfunc-offset :target result :to (:result 0))
26 (:temporary (:sc descriptor-reg :offset nl0-offset :from (:argument 0)) a0)
27 (:temporary (:sc control-stack :offset nfp-save-offset) nfp-save)
28 (:temporary (:scs (non-descriptor-reg)) temp)
31 (let ((cur-nfp (current-nfp-tn vop)))
34 (store-stack-tn nfp-save cur-nfp))
35 (inst li (make-fixup "debug_print" :foreign) cfunc)
36 (inst li (make-fixup "call_into_c" :foreign) temp)
37 (inst jsr lip-tn temp (make-fixup "call_into_c" :foreign))
39 (maybe-load-stack-nfp-tn cur-nfp nfp-save temp))
40 (move cfunc result))))