[Openmcl-devel] %GET-SIGNED-WORD bug in CVS version?
gb at clozure.com
Mon Jul 11 09:10:46 UTC 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