bug in arch/ppc/kernel/misc.S: __ashrdi3?
Andreas Schwab
schwab at suse.de
Sat Jul 16 04:22:53 EST 2005
Frank van Maarseveen <frankvm at frankvm.com> writes:
> I don't really grok the code but an operand seems to be missing and the
> assembler makes something out of it I don't trust:
>
> _GLOBAL(__ashrdi3)
> ...
> rlwinm r8,r7,0,32 # t3 = (count < 32) ? 32 : 0
32 == 0x80000000 >> 26
> 00000000 <f>:
> f():
> 0: 54 e8 06 b4 rlwinm r8,r7,0,26,26
The mask begins at bit 26 and ends at bit 26 (counted from the left).
Andreas.
--
Andreas Schwab, SuSE Labs, schwab at suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Linuxppc-dev
mailing list