[gambit-list] compiling fib

Bradley Lucier lucier at math.purdue.edu
Fri Jan 21 15:05:14 EST 2011


On Fri, 2011-01-21 at 14:47 -0500, Marc Feeley wrote:

> Let me add that gcc (at least on the Mac) also pads stack frames on
> multiples of 16 bytes.  If you write assembly code that doesn't align
> properly and that calls a C library function, the code will crash.

I wasn't precise enough; I meant the extra cost is in the three words
added to each stack frame that is used only by the GC for continuation
frames that are captured by call/cc.  Is this correct?

Brad




More information about the Gambit-list mailing list