Ticket #68 (closed defect: fixed)

Opened 19 months ago

Last modified 19 months ago

bit-bash-copy can't handle very large objects

Reported by: rtoy Owned by: somebody
Priority: major Milestone:
Component: Core Version: 2012-12
Keywords: Cc:

Description

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.

Change History

Changed 19 months ago by toy.raymond@…

  • status changed from new to closed
  • resolution set to fixed

commit abc43728326721c0862a483035ad328400eca845 Author: Raymond Toy <toy.raymond@…> 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.

Note: See TracTickets for help on using tickets.