Re: www.softpanorama.org: sparc_vs_x86 fun

Bill Davidsen
2006-05-09T14:40:07Z

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@tmr.com)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me