This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: egcs 1.0.1 miscompiles Linux 2.0.33



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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]