0.8.19.32:
[sbcl.git] / src / compiler / x86 / array.lisp
index a0983c2..493cd7d 100644 (file)
                       (mask ,(1- (ash 1 bits)))
                       (shift (* extra ,bits)))
                  (unless (= value mask)
-                   (inst and old (lognot (ash mask shift))))
+                   (inst and old (ldb (byte n-word-bits 0)
+                                       (lognot (ash mask shift)))))
                  (unless (zerop value)
                    (inst or old (ash value shift)))))
               (unsigned-reg