[Openmcl-devel] %GET-SIGNED-WORD bug in CVS version?

Gary Byers gb at clozure.com
Mon Jul 11 02:10:46 PDT 2005



On Mon, 11 Jul 2005, James Bielman wrote:

> After upgrading to CVS to do ARM hacking I ran the CFFI testsuite and
> started getting thrown into the kernel debugger when accessing foreign
> shorts.  I narrowed things down to:
>
> (in-package :ccl)
>
> (%stack-block ((x 2))
>  (setf (%get-signed-word x) -32767)
>  (%get-signed-word x))    ;; this guy is the culprit!
>                           ;; %GET-UNSIGNED-WORD works ok...

The MEM-REF-C-S16 vinsn was generating an LHA instruction with
the last two args reversed.

Fixed in CVS.



More information about the Openmcl-devel mailing list