[lkml]   [2000]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Preventing gcc from aligning stack???
    > Yes it is. New gcc's (try to) keep the stack aligned at 16 bytes. The
    > kernel stack is 8Kb on ia32; the 16byte alignment is mostly for floating
    > point performance on Pentium and up, and floating point is forbidden in the

    I'd like to ask, why? Even double is only 8 bytes. Does this mean that 12
    bytes is wasted each argumentless call and -fno-omit-frame-pointer, for
    saving ebp?

    And as we got into gcc flags for compiling kernel (or anything) i'd like
    to mention that aligning code has no effect on plain Pentium. Should use
    -malign-loops/jumps=0 instead of 2 (is this still 2 for newest kernels?).

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:56    [W:0.017 / U:9.820 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site