Atsushi Nemoto wrote: > On Mon, 9 Oct 2006 15:58:17 +0100, Thiemo Seufer <ths@xxxxxxxxxxxx> wrote: > > > do you mean "it allows to use only 2 'lui' instructions to load > > > a symbol address into a register" ? > > > > It allows a 2-instruction "lui ; addiu" sequence instead of a > > 6-instruction "lui ; lui ; addiu ; addiu ; dsll32 ; addu" sequence. > > Just for clarification: IIRC this optimization needs somewhat > up-to-date binutils/gcc and is not enabled on current lmo kernel, > right? For old toolchains there used to be a gruesome hack (which AFAIR broke at some point), for modern toolchains there's -msym32. Thiemo