home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / arch / 12179 < prev    next >
Encoding:
Text File  |  1993-01-08  |  1.1 KB  |  28 lines

  1. Newsgroups: comp.arch
  2. Path: sparky!uunet!enterpoop.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!jfc
  3. From: jfc@athena.mit.edu (John F Carr)
  4. Subject: Re: Swap byte instruction - how high is the win?
  5. Message-ID: <1993Jan8.224906.15621@athena.mit.edu>
  6. Sender: news@athena.mit.edu (News system)
  7. Nntp-Posting-Host: achates.mit.edu
  8. Organization: Massachusetts Institute of Technology
  9. References: <1993Jan7.074052.19620@qb.rhein-main.de> <1993Jan8.111731.19116@odin.diku.dk>
  10. Date: Fri, 8 Jan 1993 22:49:06 GMT
  11. Lines: 15
  12.  
  13. In article <1993Jan8.111731.19116@odin.diku.dk>
  14.     torbenm@diku.dk (Torben AEgidius Mogensen) writes:
  15.  
  16. >Newer processors (including the new ARMs) tend to have selectable
  17. >endianness instead of byte swap instructions.
  18.  
  19. The RS/6000 has a duplicate set of load and store instructions that
  20. byte-swap, but no register to register byte swap instruction.  The
  21. store multiple and string instructions only come in big-endian forms,
  22. but those tend to be used when byte reversal isn't important (it
  23. doesn't matter if the saved registers on the stack are byte swapped,
  24. as long as they are correct once restored).
  25.  
  26. --
  27.     John Carr (jfc@athena.mit.edu)
  28.