X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fppc%2Finsts.lisp;h=cdb9f5a50364da3d2504bf8408c2718ce03a01c3;hb=02f7f85a6554b1ec233e9a515c4c511fe092565e;hp=4bbf5f492aff14e92abcf56c357ef571a52e4700;hpb=f906af307193b0fb4dc2831999468c67ac7f4644;p=sbcl.git diff --git a/src/compiler/ppc/insts.lisp b/src/compiler/ppc/insts.lisp index 4bbf5f4..cdb9f5a 100644 --- a/src/compiler/ppc/insts.lisp +++ b/src/compiler/ppc/insts.lisp @@ -42,7 +42,7 @@ (defvar *disassem-use-lisp-reg-names* t) -(!def-vm-support-routine location-number (loc) +(defun location-number (loc) (etypecase loc (null) (number) @@ -640,8 +640,7 @@ (#.fun-end-breakpoint-trap (nt "Function end breakpoint trap")) (#.object-not-instance-trap - (nt "Object not instance trap")) - ))) + (nt "Object not instance trap"))))) (eval-when (:compile-toplevel :execute) @@ -869,7 +868,7 @@ (when (typep si 'fixup) (ecase ,fixup ((:ha :l) (note-fixup segment ,fixup si))) - (setq si 0)) + (setq si (or (fixup-offset si) 0))) (emit-d-form-inst segment ,op (reg-tn-encoding rt) (reg-tn-encoding ra) si))))) (define-d-rs-ui-instruction (name op &key (cost 1) other-dependencies) @@ -1819,7 +1818,7 @@ `(inst nor. ,ra ,rs ,rs)) - (!def-vm-support-routine emit-nop (segment) + (defun emit-nop (segment) (emit-word segment #x60000000)) (define-instruction-macro extlwi (ra rs n b)