close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Opened 11 years ago

Closed 11 years ago

#68 closed defect (fixed)

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

Reported by: Raymond Toy 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 (1)

comment:1 Changed 11 years ago by toy.raymond@…

Resolution: fixed
Status: newclosed

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.