[Openmcl-devel] logxor miscompilation on (android?)arm

Gary Byers gb at clozure.com
Wed Nov 23 04:23:03 UTC 2011


Repeat after me: "ARM bug".

I was going to say something like "for something that's only a little over a
year old and that hasn't had a whole lot of use, the CCL ARM port is pretty
mature and stable", but I wasn't sure if people'd believe that.

If anyone needs convincing: this bug was present in the PPC backend (and
merely inherited by the ARM) and is likely over 15 years old.  (Mature,
stable, but wrong in this case ...)

Fixed in the trunk in r15088.

On Wed, 23 Nov 2011, Stas Boukarev wrote:

>
> (let ((b (make-array 1 :element-type '(unsigned-byte 8)))
>      (m (make-array 1 :element-type 'fixnum :initial-element 3)))
>  (setf (aref b 0) (logxor (aref m 0) (aref m 0)))
>  b)
> returns #(3), while it should return #(0)
>
> -- 
> With best regards, Stas.
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
>
>



More information about the Openmcl-devel mailing list