X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Falpha%2Fvm.lisp;h=d693269b5260719e1ed656954a3b8e6c1dc2f75c;hb=69d60b456b07a0256f08df0d02484f361ce5737c;hp=b1b39d17a016c9652578fb7634649508789fc6a6;hpb=4ed3f0d08c3a57a6762018d9622f253ab9d0f2b6;p=sbcl.git diff --git a/src/compiler/alpha/vm.lisp b/src/compiler/alpha/vm.lisp index b1b39d1..d693269 100644 --- a/src/compiler/alpha/vm.lisp +++ b/src/compiler/alpha/vm.lisp @@ -144,7 +144,7 @@ :element-size 2 :alignment 2) ; (signed-byte 64) (unsigned-stack non-descriptor-stack :element-size 2 :alignment 2) ; (unsigned-byte 64) - (base-char-stack non-descriptor-stack) ; non-descriptor characters. + (character-stack non-descriptor-stack) ; non-descriptor characters. (sap-stack non-descriptor-stack :element-size 2 :alignment 2) ; System area pointers. (single-stack non-descriptor-stack) ; single-floats @@ -174,11 +174,11 @@ :alternate-scs (control-stack)) ;; Non-Descriptor characters - (base-char-reg registers + (character-reg registers :locations #.non-descriptor-regs :constant-scs (immediate) :save-p t - :alternate-scs (base-char-stack)) + :alternate-scs (character-stack)) ;; Non-Descriptor SAP's (arbitrary pointers into address space) (sap-reg registers @@ -286,7 +286,8 @@ (sc-number-or-lose 'zero)) (null (sc-number-or-lose 'null )) - ((or fixnum system-area-pointer character) + ((or (integer #.sb!xc:most-negative-fixnum #.sb!xc:most-positive-fixnum) + system-area-pointer character) (sc-number-or-lose 'immediate )) (symbol (if (static-symbol-p value) @@ -349,11 +350,5 @@ (non-descriptor-stack (format nil "NS~D" offset)) (constant (format nil "Const~D" offset)) (immediate-constant "Immed")))) - -;;; The loader uses this to convert alien names to the form they -;;; occure in the symbol table (for example, prepending an -;;; underscore). -(defun extern-alien-name (name) - (declare (type simple-base-string name)) - ;; On the Alpha we don't do anything. - name) + +