in_be64() assembly
Paul Mackerras
paulus at samba.org
Wed Jan 5 11:35:34 EST 2005
Linas Vepstas writes:
> Very weird. Why anyone thought that doing a load with a zero offset
> is somehow 'correct' seems strange to me. The compiler is quite
It's one of the two addressing modes that PPC has - register + offset
and register + register.
> I suspect in_le64 is also borken, it should be
>
> "ld %1,%2\n"
It and out_le64 are correct as they stand. They could be rewritten as
"ld%U2%X2 %1,%2" etc.
Paul.
More information about the Linuxppc64-dev
mailing list