On Tue, Mar 04, 2008 at 04:37:28PM +0000, David Woodhouse wrote:
On Sun, 2008-03-02 at 22:53 +0100, Segher Boessenkool wrote:
quoted
Every occurrence of r7 here is wrong (and some of the r6).
Can you elucidate?
They were being used as condition registers rather than GPRs.
quoted
Is there any reason to do this in assembler code at all?
Is there any particular reason not to?
Same reason most of the rest of the kernel is in C rather than assembly.
Of course, a better question is why we don't just link libgcc...
-Scott