home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6725 < prev    next >
Encoding:
Text File  |  1992-07-26  |  1.3 KB  |  34 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!van-bc!rsoft!agate!ames!elroy.jpl.nasa.gov!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!btc30679
  3. From: thoth@uiuc.edu (Ben Cox)
  4. Subject: Re: tlA: /bin/arch solved.
  5. References: <1992Jul23.170723.15247@klaava.Helsinki.FI> <bjl.711923672@freyr> <4120@inca.comlab.ox.ac.uk> <bjl.712133053@freyr>
  6. Message-ID: <Bs09xr.Bu5@news.cso.uiuc.edu>
  7. Originator: btc30679@uxa.cso.uiuc.edu
  8. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  9. Reply-To: thoth@uiuc.edu (Ben Cox)
  10. Organization: University of Illinois at Urbana
  11. Date: Sun, 26 Jul 1992 17:01:02 GMT
  12. Lines: 20
  13.  
  14. bjl@loki.pttrnl.nl (Ben Lippolt) writes:
  15.  
  16. >Thanks for your explanation. I was under the impression that the 486 had
  17. >some extra instructions which the 386 didn't had.
  18.  
  19. This is the case, but the difference probably doesn't manifest itself
  20. with -m486.  The 486 has the BSWAP, XADD and CMPXCHG instructions,
  21. which are not available on 386 processors.
  22.  
  23. I don't know if -m486 uses those, but I would very seriously doubt it.
  24. BSWAP might be handy for TCP/IP stuff (it is htonl() and ntohl() in a
  25. single instruction); XADD is handy primarily for multiprocessor loops,
  26. and CMPXCHG is for semaphores in a MP system.
  27.  
  28. BSWAP might be used with -m486 (I doubt it), but XADD and CMPXCHG
  29. probably aren't.
  30.  
  31. --
  32. Ben Cox
  33. thoth@uiuc.edu
  34.