0.8.15.8:
[sbcl.git] / src / code / cross-misc.lisp
index 0d68f25..86d8082 100644 (file)
   (assert (typep array '(simple-array * (*))))
   (values array start end 0))
 
-#!+sparc
-(progn
-  (defun sb!vm::ash-right-signed (num shift)
-    (ash num (- shift)))
-  (defun sb!vm::ash-right-unsigned (num shift)
-    (ash num (- shift))))
+#!-alpha
+(defun sb!vm::ash-left-mod32 (integer amount)
+  (ldb (byte 32 0) (ash integer amount)))
+#!+alpha
+(defun sb!vm::ash-left-mod64 (integer amount)
+  (ldb (byte 64 0) (ash integer amount)))
+
+;;; package locking nops for the cross-compiler
+
+(defmacro without-package-locks (&body body)
+  `(progn ,@body))
+
+(defmacro with-single-package-locked-error ((&optional kind thing &rest format) 
+                                           &body body)
+  (declare (ignore kind thing format))
+  `(progn ,@body))
+
+(defun compiler-assert-symbol-home-package-unlocked (symbol control)
+  (declare (ignore control))
+  symbol)
+
+(defun assert-package-unlocked (package &optional control &rest args)
+  (declare (ignore control args))
+  package)
+
+(defun assert-symbol-home-package-unlocked (name format &key continuablep)
+  (declare (ignore format continuablep))
+  name)
+
+(declaim (declaration enable-package-locks disable-package-locks))