| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | Re: Latest sources from CVS. |
| From: | Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de> |
| Date: | Sat, 7 Dec 2002 00:33:37 +0100 |
| Cc: | Dominic Sweetman <dom@algor.co.uk>, "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>, Carsten Langgaard <carstenl@mips.com>, "Kevin D. Kissell" <kevink@mips.com>, linux-mips@linux-mips.org |
| In-reply-to: | <20021207001731.D12968@linux-mips.org> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20021206135110.GD23743@rembrandt.csv.ica.uni-stuttgart.de> <Pine.GSO.3.96.1021206165118.26674N-100000@delta.ds2.pg.gda.pl> <20021206164558.GH23743@rembrandt.csv.ica.uni-stuttgart.de> <20021206180241.A7492@linux-mips.org> <15856.59886.661994.493446@gladsmuir.algor.co.uk> <20021207001731.D12968@linux-mips.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.4i |
Ralf Baechle wrote: > On Fri, Dec 06, 2002 at 06:18:22PM +0000, Dominic Sweetman wrote: > > > > The first kernel was built as 64-bit ELF using 64-bit pointer and > > > everything > > > 64-bit. The second kernel was built using the -Wa,-32 trick. That's over > > > 12% of bloat for full 64-bitiness which brings zero gain. > > > > Percentages are dangerous things. This is 220Kbytes of memory, which > > currently represents an investment of about $0.05. There may be > > embedded linux applications which care about 5c cost, but they > > probably won't use any variety of 64 bits... > > I'd worry less if that was just 220kB of unused memory wasted. But it's > actually inflated code, it's wasted i-cache and cycles. 220kB translates > to alost 7 times the size of today's typical 32kB i-cache. > > Even if Thiemo was right this trick is probably the biggest micro- > optimization of the decade ... Even if it was such a big win it would IMHO be better to use N64 and teach the assembler some optimization for such register loads. -Wa,--sign-extend-immediates shouldn't be that complicated to implement. Thiemo |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Latest sources from CVS., Ralf Baechle |
|---|---|
| Next by Date: | Re: Latest sources from CVS., Ralf Baechle |
| Previous by Thread: | Re: Latest sources from CVS., Ralf Baechle |
| Next by Thread: | Re: Latest sources from CVS., Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |