X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcode%2Fhost-alieneval.lisp;h=cca16ed8774691c591530e574f0a60716212106d;hb=f1acc17f83cdfa9454a53bd0ee9bd0e9b9482817;hp=0003d8ba4981a3714e9fe07f64f95ebb780637ae;hpb=e411bd41397e1df2423838a4f9c2fdaa27727e93;p=sbcl.git diff --git a/src/code/host-alieneval.lisp b/src/code/host-alieneval.lisp index 0003d8b..cca16ed 100644 --- a/src/code/host-alieneval.lisp +++ b/src/code/host-alieneval.lisp @@ -22,7 +22,7 @@ (defun guess-alignment (bits) (cond ((null bits) nil) - #!-x86 ((> bits 32) 64) + #!-(or x86 (and ppc darwin)) ((> bits 32) 64) ((> bits 16) 32) ((> bits 8) 16) ((> bits 1) 8) @@ -760,19 +760,6 @@ (declare (ignore type)) `(sap-ref-double ,sap (/ ,offset sb!vm:n-byte-bits))) -#!+long-float -(define-alien-type-class (long-float :include (float (bits #!+x86 96 - #!+sparc 128)) - :include-args (type))) - -#!+long-float -(define-alien-type-translator long-float () - (make-alien-long-float-type :type 'long-float)) - -#!+long-float -(define-alien-type-method (long-float :extract-gen) (type sap offset) - (declare (ignore type)) - `(sap-ref-long ,sap (/ ,offset sb!vm:n-byte-bits))) ;;;; the POINTER type