#68: bit-bash-copy can't handle very large objects --------------------+------------------------------------------------------- Reporter: rtoy | Owner: somebody Type: defect | Status: new Priority: major | Milestone: Component: Core | Version: 2012-12 Keywords: | --------------------+------------------------------------------------------- {{{BIT-BASH-COPY}}} takes bit indices as offsets for copying random objects. This is very useful if we're copying bit-arrays or arrays with elements smaller than a byte. However, when copying strings or arrays with elements larger than a byte, the bit index exceeds 32 bits when the index is near {{{MOST-POSITIVE-FIXNUM}}}.
{{{BIT-BASH-COPY}}} needs to be updated to handle this, or a {{{BYTE-BASH- COPY}}} should be added to handle the case where the element size is at least a byte in size.
#68: bit-bash-copy can't handle very large objects ---------------------+------------------------------------------------------ Reporter: rtoy | Owner: somebody Type: defect | Status: closed Priority: major | Milestone: Component: Core | Version: 2012-12 Resolution: fixed | Keywords: ---------------------+------------------------------------------------------ Changes (by toy.raymond@…):
* status: new => closed * resolution: => fixed
Comment:
commit abc43728326721c0862a483035ad328400eca845 Author: Raymond Toy toy.raymond@gmail.com Date: Sun Dec 23 10:38:36 2012 -0800
Fix ticket:68 by adding {{{BYTE-BASH-COPY}}}
code/bit-bash.lisp:: Add {{{BYTE-BASH-COPY}}} for copying bytes
code/exports.lisp:: Add {{{BYTE-BASH-COPY}}}
compiler/generic/vm-fndb.lisp:: Add {{{BYTE-BASH-COPY}}}
compiler/generic/vm-tran.lisp:: Call {{{BYTE-BASH-COPY}}} in the deftransform for {{{REPLACE}}}.