From 7a6d1bb6b79f5720fee0c494f6b6009cc939435d Mon Sep 17 00:00:00 2001 From: wlott <wlott> Date: Thu, 5 Apr 1990 23:54:40 +0000 Subject: [PATCH] Deal with base-characters in {load,store}-operand. --- compiler/mips/move.lisp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/compiler/mips/move.lisp b/compiler/mips/move.lisp index eee12ac7d..eff8be8fc 100644 --- a/compiler/mips/move.lisp +++ b/compiler/mips/move.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman (FAHLMAN@CMUC). ;;; ********************************************************************** ;;; -;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/move.lisp,v 1.9 1990/03/08 15:19:56 wlott Exp $ +;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/mips/move.lisp,v 1.10 1990/04/05 23:54:40 wlott Exp $ ;;; ;;; This file contains the RT VM definition of operand loading/saving and ;;; the Move VOP. @@ -134,10 +134,9 @@ (sc-case y ((any-reg descriptor-reg) (load-stack-tn y x)) - #+nil (base-character-reg (load-stack-tn y x) - (inst nilz y y system:%character-code-mask)))) + (inst srl y y vm:type-bits)))) (base-character-stack (sc-case y (base-character-reg @@ -154,9 +153,9 @@ (sc-case x ((any-reg descriptor-reg) (store-stack-tn y x)) - #+nil (base-character-reg - (inst oiu x x (ash system:%string-char-type clc::type-shift-16)) + (inst sll x x vm:type-bits) + (inst ori x x vm:base-character-type) (store-stack-tn y x)))) (base-character-stack (sc-case x -- GitLab