home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8804 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  1.6 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!uakari.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!serval!fili!hlu
  2. From: hlu@fili.eecs.wsu.edu (H.J. Lu)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Jumptable Performance (Was: Re: shared libs - can everyone be happy with this?)
  5. Message-ID: <1992Aug21.182052.11544@serval.net.wsu.edu>
  6. Date: 21 Aug 92 18:20:52 GMT
  7. References: <1992Aug17.144719.1961@crd.ge.com> <1992Aug17.151311.29507@ods.com> <NOP.92Aug17135014@theory.Mankato.MSUS.EDU> <1992Aug18.080437.3944@fys.ruu.nl> <1992Aug18.140858.3484@crd.ge.com> <1992Aug18.154149.26416@fys.ruu.nl> <1992Aug19.125541.865@crd.ge.com> <19
  8. Sender: hlu@fili (H.J. Lu)
  9. Organization: Washington State University
  10. Lines: 24
  11.  
  12. In article <1992Aug21.081823.571@donau.et.tudelft.nl>, wolff@zen.et.tudelft.nl (Rogier Wolff) writes:
  13. |> davidsen@ariel.crd.GE.COM (william E Davidsen) writes:
  14. |> 
  15. |> >  If more instructions and bigger size really improved performance we'd
  16. |> >all leave -O off our compiles, right. Therefore it's an interesting
  17. |> >little puzzle.
  18. |> >-- 
  19. |> >bill davidsen, GE Corp. R&D Center; Box 8; Schenectady NY 12345
  20. |> >    I admit that when I was in school I wrote COBOL. But I didn't compile.
  21. |> 
  22. |> That's what optimizing is all about: The only difference between GCC codee
  23. |> for 486 and 386 is that in the 486 code some extra NOPs are added.
  24. |> 
  25.  
  26. It is a little bit more than that. Some code sequences are faster for 486.
  27. Get gcc-2.2.2.tar.Z and read i386.md for details.
  28.  
  29. |> This will make the branch targets align on 16 byte boundaries, which will
  30. |> improve cache performance.
  31. |> 
  32. |>                         Roger
  33.  
  34.  
  35. H.J.
  36.