Re: www.softpanorama.org: sparc_vs_x86 fun
From: Bill Davidsen
Date: Tue May 09 2006 - 10:39:58 EST
Jan Engelhardt wrote:
while on SPARC, it takes 6 instructions (of course, being RISC makes it
execute differently than x64)
sethi %g1, $some_upper_bits
or %g1, $next_bitgroup
(shift-left)
or %g1, $next_bitgroup
(shift-left)
or %g1, $last_bitgroup
BTW, T1 is cool, but that the 1U version only has space for 1 disk is
pretty limiting :/
I have to believe that you can load 64 bit constant data from memory and
don't have to do all this dancing with immediate loads. Therefore this
must be faster or they wouldn't do it this way. Or is this a point that
some unoptimized compiler could generate this code?
--
-bill davidsen (davidsen@xxxxxxx)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/