lkml.org 
[lkml]   [1999]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: strstr _fix_ (for depca.c & ewrk3.c, 2.2.0-pre6 + pre7)


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/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.083 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site