On Sat, Dec 07, 2002 at 12:33:37AM +0100, Thiemo Seufer wrote: > > 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. The entire situation will change anyway once gcc no longer emits macro instructions such as la or dla. Ralf