X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fx86%2Fmove.lisp;h=cb77175c715acb3c7cac989c302aa7d6dd39a8bb;hb=b63c4fb9b98fa8188e17ba926e150ba417a74635;hp=ad715a10d85304584d140892c4aeb5ac6e1ecd60;hpb=0bca0cb1bf5ce5572ab5cd7ba59f87fed1f2edb0;p=sbcl.git diff --git a/src/compiler/x86/move.lisp b/src/compiler/x86/move.lisp index ad715a1..cb77175 100644 --- a/src/compiler/x86/move.lisp +++ b/src/compiler/x86/move.lisp @@ -24,14 +24,14 @@ (load-symbol y val)) (character (inst mov y (logior (ash (char-code val) n-widetag-bits) - base-char-widetag)))))) + character-widetag)))))) (define-move-fun (load-number 1) (vop x y) ((immediate) (signed-reg unsigned-reg)) (inst mov y (tn-value x))) -(define-move-fun (load-base-char 1) (vop x y) - ((immediate) (base-char-reg)) +(define-move-fun (load-character 1) (vop x y) + ((immediate) (character-reg)) (inst mov y (char-code (tn-value x)))) (define-move-fun (load-system-area-pointer 1) (vop x y) @@ -44,7 +44,7 @@ (define-move-fun (load-stack 5) (vop x y) ((control-stack) (any-reg descriptor-reg) - (base-char-stack) (base-char-reg) + (character-stack) (character-reg) (sap-stack) (sap-reg) (signed-stack) (signed-reg) (unsigned-stack) (unsigned-reg)) @@ -52,7 +52,7 @@ (define-move-fun (store-stack 5) (vop x y) ((any-reg descriptor-reg) (control-stack) - (base-char-reg) (base-char-stack) + (character-reg) (character-stack) (sap-reg) (sap-stack) (signed-reg) (signed-stack) (unsigned-reg) (unsigned-stack)) @@ -82,7 +82,7 @@ (inst mov y (+ nil-value (static-symbol-offset val)))) (character (inst mov y (logior (ash (char-code val) n-widetag-bits) - base-char-widetag))))) + character-widetag))))) (move y x)))) (define-move-vop move :move @@ -121,7 +121,7 @@ (load-symbol y val)) (character (inst mov y (logior (ash (char-code val) n-widetag-bits) - base-char-widetag))))) + character-widetag))))) (move y x))) ((control-stack) (if (sc-is x immediate) @@ -136,7 +136,7 @@ fp (tn-offset y))) (character (storew (logior (ash (char-code val) n-widetag-bits) - base-char-widetag) + character-widetag) fp (tn-offset y)))) ;; Lisp stack (etypecase val @@ -147,7 +147,7 @@ fp (- (1+ (tn-offset y))))) (character (storew (logior (ash (char-code val) n-widetag-bits) - base-char-widetag) + character-widetag) fp (- (1+ (tn-offset y)))))))) (if (= (tn-offset fp) esp-offset) ;; C-call