home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / intel / 2720 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  1.3 KB

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!edcastle!spider!raft.spider.co.uk!ian
  2. From: ian@spider.co.uk (Ian Heavens)
  3. Newsgroups: comp.sys.intel
  4. Subject: Re: Any new instructions in a i486?
  5. Message-ID: <1992Dec16.091655.7353@spider.co.uk>
  6. Date: 16 Dec 92 09:16:55 GMT
  7. References: <1992Dec11.201306.18470@udel.edu> <WAYNE.92Dec11164422@backbone.uucp>
  8. Sender: news@spider.co.uk (USENET News System)
  9. Organization: Spider Systems Limited, Edinburgh, UK
  10. Lines: 27
  11. Nntp-Posting-Host: redknee.spider.co.uk
  12.  
  13. In article <WAYNE.92Dec11164422@backbone.uucp> wayne@backbone.uucp (Wayne Schlitt) writes:
  14. >
  15. >There have been a fair amount of discussion in comp.sys.intel about
  16. >what new instructions the i486 has (and if the Cyrix 486SLC/486DLC
  17. >implement them.)
  18. >
  19. >
  20. >
  21. >The XADD and CMPXCHG instructions are useful for implementing
  22. >semaphores in multi-processor systems.  Not something a normal
  23. >application would have much use for.
  24. >
  25.  
  26. With XADD and the bus lock prefix, you can implement an atomic
  27. fetch-and-add on a 486.  This is much more useful than test-and-set,
  28. the only hardware support for mutual exclusion in the 80386.  Building
  29. SMP systems from 80386s is a real pain.
  30.  
  31.  
  32. ian
  33.  
  34. ---
  35.      Ian Heavens            ian@spider.co.uk                 
  36.       Spider Software
  37.       Spider Park, Stanwell Street        
  38.      Edinburgh, EH6 5NG, Scotland    +44 31 555 5166 (Ext 4347)
  39. --
  40.