Fri, 10 Aug 2001 14:48:58 -0700
> Note, that there are several alternative ways to initialize an object. If
> you used %edi instead of %esi for the frontier, then you could use the stos
> instruction, which SML/NJ uses.
Would the code you have in mind look like
movl tag, %eax
movl value0, %eax
movl valueN, %eax
> Note, that the really right thing to do is
> probably to have the heap running in the opposite direction (frontier gets
> decreased). Then you fill in an object from end to start, and are left with
> the starting address.
I don't see why this is better than Matthew's
His seems pretty minimal, in that there is one statement per object field, and
one statement each for the store of the frontier and the object.
Also, Matthew, did you ever figure out why as wasn't saving your byte?