by e.g. testing during the monthly freeze periods, and most
importantly by reporting any problems.
- If you need support beyond what is available on the mailing lists,
- see "Consultants" in the "SUPPORT" file.
+ For further support, see Getting Support and Reporting Bugs
+ in the manual, or
+
+ http://www.sbcl.org/manual/Getting-Support-and-Reporting-Bugs.html
+
+ if you do not have the manual for some reason.
;;;; -*- coding: utf-8; fill-column: 78 -*-
+ * bug fix: on 64 bit platforms FILL worked incorrectly on arrays with
+ upgraded element type (COMPLEX SINGLE-FLOAT), regression from 1.0.28.55.
+ (thanks to Paul Khuong)
+
+changes in sbcl-1.0.29 relative to 1.0.28:
* IMPORTANT: bug database has moved from the BUGS file to Launchpad
https://bugs.launchpad.net/sbcl
Bugs can be reported directly there, or by sending email to
#!+#.(cl:if (cl:= 64 sb!vm:n-word-bits) '(and) '(or))
(:complex-single-float
(logior (ash (single-float-bits (imagpart tmp)) 32)
- (single-float-bits (realpart tmp)))))))
+ (ldb (byte 32 0)
+ (single-float-bits (realpart tmp))))))))
(res bits))
(loop for i of-type sb!vm:word from n-bits by n-bits
until (= i sb!vm:n-word-bits)
do (setf res (ldb (byte sb!vm:n-word-bits 0)
(logior res (ash bits i)))))
res))
- `(let* ((bits (ldb (byte ,n-bits 0)
- ,(ecase kind
- (:tagged
- `(ash item ,sb!vm:n-fixnum-tag-bits))
- (:char
- `(char-code item))
- (:bits
- `item)
- (:single-float
- `(single-float-bits item))
- #!+#.(cl:if (cl:= 64 sb!vm:n-word-bits) '(and) '(or))
- (:double-float
- `(logior (ash (double-float-high-bits item) 32)
- (double-float-low-bits item)))
- #!+#.(cl:if (cl:= 64 sb!vm:n-word-bits) '(and) '(or))
- (:complex-single-float
- `(logior (ash (single-float-bits (imagpart item)) 32)
- (single-float-bits (realpart item)))))))
- (res bits))
- (declare (type sb!vm:word res))
- ,@(unless (= sb!vm:n-word-bits n-bits)
- `((loop for i of-type sb!vm:word from ,n-bits by ,n-bits
- until (= i sb!vm:n-word-bits)
- do (setf res
- (ldb (byte ,sb!vm:n-word-bits 0)
- (logior res (ash bits (truly-the (integer 0 ,(- sb!vm:n-word-bits n-bits)) i))))))))
- res))))
+ (progn
+ (delay-ir1-transform node :constraint)
+ `(let* ((bits (ldb (byte ,n-bits 0)
+ ,(ecase kind
+ (:tagged
+ `(ash item ,sb!vm:n-fixnum-tag-bits))
+ (:char
+ `(char-code item))
+ (:bits
+ `item)
+ (:single-float
+ `(single-float-bits item))
+ #!+#.(cl:if (cl:= 64 sb!vm:n-word-bits) '(and) '(or))
+ (:double-float
+ `(logior (ash (double-float-high-bits item) 32)
+ (double-float-low-bits item)))
+ #!+#.(cl:if (cl:= 64 sb!vm:n-word-bits) '(and) '(or))
+ (:complex-single-float
+ `(logior (ash (single-float-bits (imagpart item)) 32)
+ (ldb (byte 32 0)
+ (single-float-bits (realpart item))))))))
+ (res bits))
+ (declare (type sb!vm:word res))
+ ,@(unless (= sb!vm:n-word-bits n-bits)
+ `((loop for i of-type sb!vm:word from ,n-bits by ,n-bits
+ until (= i sb!vm:n-word-bits)
+ do (setf res
+ (ldb (byte ,sb!vm:n-word-bits 0)
+ (logior res (ash bits (truly-the (integer 0 ,(- sb!vm:n-word-bits n-bits)) i))))))))
+ res)))))
(values
`(with-array-data ((data seq)
(start start)