Skip to content
Snippets Groups Projects
Commit 7a6d1bb6 authored by wlott's avatar wlott
Browse files

Deal with base-characters in {load,store}-operand.

parent 7ef36f9d
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/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 ;;; This file contains the RT VM definition of operand loading/saving and
;;; the Move VOP. ;;; the Move VOP.
...@@ -134,10 +134,9 @@ ...@@ -134,10 +134,9 @@
(sc-case y (sc-case y
((any-reg descriptor-reg) ((any-reg descriptor-reg)
(load-stack-tn y x)) (load-stack-tn y x))
#+nil
(base-character-reg (base-character-reg
(load-stack-tn y x) (load-stack-tn y x)
(inst nilz y y system:%character-code-mask)))) (inst srl y y vm:type-bits))))
(base-character-stack (base-character-stack
(sc-case y (sc-case y
(base-character-reg (base-character-reg
...@@ -154,9 +153,9 @@ ...@@ -154,9 +153,9 @@
(sc-case x (sc-case x
((any-reg descriptor-reg) ((any-reg descriptor-reg)
(store-stack-tn y x)) (store-stack-tn y x))
#+nil
(base-character-reg (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)))) (store-stack-tn y x))))
(base-character-stack (base-character-stack
(sc-case x (sc-case x
......
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