:> > Anyhow, I'll repeat it here - stack alignment does *not* break :> > link-compatibility. It does not change calling conventions, it just :> > adds padding after the args to ensure that local variables can be :> > predictably aligned. : :> So, how does aligning stackframes affect the inherently static property :> of code size then? : :Instructions are inserted to perform that alignment (add padding). :When the alignment is 2 (i.e. on 4-byte boundaries), no padding is :required in typical cases. I can't think of a single case where the stack isn't inherently 4-byte aligned already, whether you use the option or not. To whomever added the option: Did you actually test to see that this option resulted in an improvement? If not, I recommend removing it. It sounds like unnecessary extra junk to me. -Matt Matthew Dillon <[EMAIL PROTECTED]> To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
- kernel: -mpreferred-stack-boundary=2 ?? Julian Elischer
- Re: kernel: -mpreferred-stack-boundary=2 ?? Marcel Moolenaar
- Re: kernel: -mpreferred-stack-boundary=2 ?? Daniel C. Sobral
- Re: kernel: -mpreferred-stack-boundary=... Marcel Moolenaar
- Re: kernel: -mpreferred-stack-boundary=... Peter Wemm
- Re: kernel: -mpreferred-stack-boundary=2 ?? Ville-Pertti Keinonen
- Re: kernel: -mpreferred-stack-boundary=2 ?? Marcel Moolenaar
- Re: kernel: -mpreferred-stack-boundary=2 ?? Ville-Pertti Keinonen
- Re: kernel: -mpreferred-stack-boundary=... Marcel Moolenaar
- Re: kernel: -mpreferred-stack-bound... Ville-Pertti Keinonen
- Re: kernel: -mpreferred-stack-... Matthew Dillon
- Re: kernel: -mpreferred-st... Marcel Moolenaar
- Re: kernel: -mpreferre... Matthew Dillon
- Re: kernel: -mpreferre... Marcel Moolenaar
- Re: kernel: -mpreferre... Bruce Evans
- Re: kernel: -mpreferre... Dmitrij Tejblum
- Re: kernel: -mpreferre... Bruce Evans
- Re: kernel: -mpreferre... Matthew Dillon
- Re: kernel: -mpreferre... Ville-Pertti Keinonen
- Re: kernel: -mpreferre... Marcel Moolenaar
- Re: kernel: -mpreferre... Ville-Pertti Keinonen