0.8.5.29:
[sbcl.git] / src / code / cross-misc.lisp
index 0d68f25..868d3f6 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)))