Skip to content
Snippets Groups Projects
Commit 2373b699 authored by wlott's avatar wlott
Browse files

Wrap a WITHOUT-SCHEDULING around the mv entry-point for full-called

assembly routines, so the scheduler doesn't flush the nop.  Changed a
note-this-location to a note-next-instruction so the scheduler can move
things across it.
parent 89b35fb9
No related branches found
No related tags found
No related merge requests found
...@@ -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/support.lisp,v 1.8 1992/05/21 22:34:15 wlott Exp $ ;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/assembly/mips/support.lisp,v 1.9 1992/07/31 21:54:14 wlott Exp $
;;; ;;;
;;; This file contains the machine specific support routines needed by ;;; This file contains the machine specific support routines needed by
;;; the file assembler. ;;; the file assembler.
...@@ -31,14 +31,14 @@ ...@@ -31,14 +31,14 @@
(when cur-nfp (when cur-nfp
(store-stack-tn ,nfp-save cur-nfp)) (store-stack-tn ,nfp-save cur-nfp))
(inst compute-lra-from-code ,lra code-tn lra-label ,temp) (inst compute-lra-from-code ,lra code-tn lra-label ,temp)
(note-this-location ,vop :call-site) (note-next-instruction ,vop :call-site)
(inst j (make-fixup ',name :assembly-routine)) (inst j (make-fixup ',name :assembly-routine))
(inst nop) (inst nop)
(emit-return-pc lra-label) (emit-return-pc lra-label)
(note-this-location ,vop :single-value-return) (note-this-location ,vop :single-value-return)
(move csp-tn ocfp-tn) (without-scheduling ()
(inst nop) (move csp-tn ocfp-tn)
(inst entry-point) (inst nop))
(inst compute-code-from-lra code-tn code-tn (inst compute-code-from-lra code-tn code-tn
lra-label ,temp) lra-label ,temp)
(when cur-nfp (when cur-nfp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment