Steven W McDougall wrote:
The align_1 parameter to mem_allocate() does not--as you might
think--control the alignment of the allocated block. Rather, it
controls the *size* of the allocated block, rounding it up to the next
multiple of the power of 2 indicated by align_1. This means that the
I checked out Parrot from CVS on 2002Aug30 to an IRIX64 system.
shell01:/usr/tmp/swmcd/parrotuname -a
IRIX64 shell01 6.5 07201611 IP27
make compiled OK.
make test failed all the t/pmc/perlhash.t tests.
Running
parrot t/pmc/perlhash_1.pbc
produced a bus error.
I chased the
On Sat, 2002-08-31 at 18:45, Steven W McDougall wrote:
Good write-up.
I tested this theory by hacking mem_allocate() to enforce a minimum
round-up to an 8-type boundary.
/* Round up to requested alignment */
if (align_17) align_1 = 7; /* HACK */
size = (size +