x86 sap fixes
authorChristophe Rhodes <csr21@cantab.net>
Sat, 22 Aug 2009 15:43:20 +0000 (15:43 +0000)
committerChristophe Rhodes <csr21@cantab.net>
Sat, 22 Aug 2009 15:43:20 +0000 (15:43 +0000)
commit7d10bcf57926aa6709eeb2e09ca447af9e96f141
tree41ecaead2189dd92e65bbe8578fb24edc8629c77
parent0087e3226025e88956ad9c2c0cd5e99dbf991a85
x86 sap fixes

The sap-ref-with-offset stuff was wrong in that the displacement was
multiplied by a notional element size, rather than being uniformly
treated as a number of bytes.  Mostly this codepath wasn't exposed at
all (other than with sap-ref-8, which worked by "accident"), but
attempts to implement UTF-16, which requires (sap-ref-16 sap (+ offset
2)), showed up the problem.
NEWS
src/compiler/saptran.lisp
src/compiler/x86/sap.lisp
tests/compiler.pure.lisp
version.lisp-expr