| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | Re: Saving arguments on the stack |
| From: | "Maciej W. Rozycki" <macro@linux-mips.org> |
| Date: | Tue, 22 Nov 2005 14:03:12 +0000 (GMT) |
| Cc: | Nigel Stephens <nigel@mips.com>, "Kevin D. Kissell" <kevink@mips.com>, "Knittel, Brian" <Brian.Knittel@powertv.com>, linux-mips@linux-mips.org |
| In-reply-to: | <20051122122703.GD2706@linux-mips.org> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <762C0A863A7674478671627FEAF5848105AF92D2@hqmail01.powertv.com> <4382DC76.60506@mips.com> <4382FF29.2020605@mips.com> <20051122112417.GB2706@linux-mips.org> <Pine.LNX.4.64N.0511221128150.14593@blysk.ds.pg.gda.pl> <20051122122703.GD2706@linux-mips.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
On Tue, 22 Nov 2005, Ralf Baechle wrote: > There were functions in the network stack that intensionally were > declared extern inline to make sure the compiler won't be able to outline > that function unnoticed. I just grepped for it and can't find it > anymore, must be a relativly recent improvment. > > We also rely on the compiler eleminating calls to certain functions > entirely, for example to __xchg_called_with_bad_pointer(). Well, that's exactly what "__attribute__((always_inline))" does -- either inline or fail; the latter AFAIK only happening if the function's body is unavailable to the current compilation unit. That happens regardless of any optimization settings. Maciej |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Saving arguments on the stack, Dominic Sweetman |
|---|---|
| Next by Date: | RE: Saving arguments on the stack, Knittel, Brian |
| Previous by Thread: | Re: Saving arguments on the stack, Ralf Baechle |
| Next by Thread: | Re: Saving arguments on the stack, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |