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

  1. Newsgroups: comp.arch
  2. Path: sparky!uunet!mcsun!Germany.EU.net!incom!orfeo!qb!vhs
  3. From: vhs@rhein-main.de (Volker Herminghaus-Shirai)
  4. Subject: Re: Swap byte instruction - how high is the win?
  5. Message-ID: <1993Jan12.164356.11050@qb.rhein-main.de>
  6. Sender: vhs@qb.rhein-main.de (Volker Herminghaus-Shirai)
  7. Reply-To: vhs@rhein-main.de
  8. References: <1993Jan8.224906.15621@athena.mit.edu>
  9. Date: Tue, 12 Jan 93 16:43:56 GMT
  10. Lines: 31
  11.  
  12. In article <1993Jan8.224906.15621@athena.mit.edu> jfc@athena.mit.edu (John F  
  13. Carr) writes:
  14. > In article <1993Jan8.111731.19116@odin.diku.dk>
  15. >     torbenm@diku.dk (Torben AEgidius Mogensen) writes:
  16. > >Newer processors (including the new ARMs) tend to have selectable
  17. > >endianness instead of byte swap instructions.
  18. > The RS/6000 has a duplicate set of load and store instructions that
  19. > byte-swap, but no register to register byte swap instruction.  The
  20. > store multiple and string instructions only come in big-endian forms,
  21. > but those tend to be used when byte reversal isn't important (it
  22. > doesn't matter if the saved registers on the stack are byte swapped,
  23. > as long as they are correct once restored).
  24.  
  25. Thanks to you and all the others who responded via mail for the info
  26. but I feel I hadn't expressed myself clearly enough. What I am interested
  27. in is "how high is the win" as a quantitative measure, i.e. somthing like
  28. "I compiled an RPC library with a compiler that did not know about the
  29. swap byte instruction (e.g. a 386 compiler) and later with a compiler that
  30. did, and the difference was 5% to the benefit of one that used the swap
  31. byte instruction"
  32. or such. More generally spoken, I want to find out what one in missing
  33. by running, on a 486 machine, a 386 Unix vs. a 486 one (regardless of the
  34. existence of the latter).
  35.  
  36. --
  37. Volker Herminghaus-Shirai (vhs@qb.rhein-main.de), NeXTmail welcome
  38.  
  39. Looks good on the outside, but -
  40.     intel inside
  41.