From d85adfcdb6c44661e3e3e40718af8ed4897427e0 Mon Sep 17 00:00:00 2001
From: ram <ram>
Date: Tue, 21 May 1991 18:31:06 +0000
Subject: [PATCH] Added notes for sap moves, fixed file header package.

---
 compiler/mips/sap.lisp | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/compiler/mips/sap.lisp b/compiler/mips/sap.lisp
index d6dda58ef..48f6df527 100644
--- a/compiler/mips/sap.lisp
+++ b/compiler/mips/sap.lisp
@@ -1,4 +1,4 @@
-;;; -*- Package: C; Log: C.Log -*-
+;;; -*- Package: VM; Log: C.Log -*-
 ;;;
 ;;; **********************************************************************
 ;;; This code was written as part of the CMU Common Lisp project at
@@ -7,12 +7,10 @@
 ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/sap.lisp,v 1.18 1991/02/20 15:15:08 ram Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/sap.lisp,v 1.19 1991/05/21 18:31:06 ram Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
-;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/sap.lisp,v 1.18 1991/02/20 15:15:08 ram Exp $
-;;;
 ;;;    This file contains the MIPS VM definition of SAP operations.
 ;;;
 ;;; Written by William Lott.
@@ -27,6 +25,7 @@
 (define-vop (move-to-sap)
   (:args (x :scs (any-reg descriptor-reg)))
   (:results (y :scs (sap-reg)))
+  (:note "system area pointer indirection")
   (:generator 1
     (loadw y x vm:sap-pointer-slot vm:other-pointer-type)))
 
@@ -42,7 +41,8 @@
   (:temporary (:scs (sap-reg) :from (:argument 0)) sap)
   (:temporary (:scs (non-descriptor-reg)) ndescr)
   (:results (y :scs (descriptor-reg)))
-  (:generator 1
+  (:note "system area pointer allocation")
+  (:generator 20
     (move sap x)
     (pseudo-atomic (ndescr)
       (inst addu y alloc-tn vm:other-pointer-type)
-- 
GitLab