Skip to contentSkip to conversation

CVS [email protected]: linux

DISCUSSION Ralf Baechle 1 participant 1 message Dec 19, 2001 2 messages not in the archive MIPS

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 4 lines · Geert Uytterhoeven
Quoted 2 lines

Log message:
Rewrite ffz(). Now compiles into code without any branches.

Depending on your compiler. Gcc seems to be smarter than GreenHills here :-)

I'd rather call this piece of code to be written around the compiler. Credits for this nice piece of code btw go to Carsten of MIPS who used this in the Atlas code where I discovered it two days ago.

The old variant of this routine came from the Origin code and produces 60% longer code with ~ 5 branches. Probably wrapped around the SGI compiler.

Ralf