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



  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.



jeff


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