Re: strstr _fix_ (for depca.c & ewrk3.c, 2.2.0-pre6 + pre7)

Gabriel Paubert (paubert@iram.es)
Thu, 14 Jan 1999 23:27:57 +0100 (MET)


On Thu, 14 Jan 1999, Torsten Duwe wrote:

>
> Looking at the asm code closely, it becomes clear that only %ebx is free to
> hold the ct pointer; I would therefore apply the following path (don't get
> confused -- all that really changes is the "g" into a "b", but breaking the
> long line and aligning the input operands with the outputs that occupy the
> same space seemed reasonable to me).

Actually the first thing to do is to declare signatures as a static
__initdata array: this significantly reduces register pressure under some
versions of egcs and was critical to getting de4x5 working. It also
removes the code to initialize the array in the function prologue (not
very important in __initfunc admittedly).

Gabriel.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/