Re: egcs 1.0.1 miscompiles Linux 2.0.33

Jeffrey A Law (
Sun, 01 Mar 1998 16:17:25 -0700

In message <199803012155.QAA12210@jfc.>you write:
> I think this is beyond the limits of what can or should be done with gcc's
> inline assembly. strstr is a volatile asm which needs 18 instructions, 5
> registers, and takes a long time to run. I've seen cases like this where
> the separate function is faster than the inlined version because of reduced
> register pressure in the caller.
Regardless of the size, the strchr asm is exposing some problems in
the generic asm mechanisms. Like Linus, my main concern is with
fixing those generic problems, not strstr specifically.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to