home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / arch / 10941 < prev    next >
Encoding:
Text File  |  1992-11-19  |  1.6 KB  |  41 lines

  1. Newsgroups: comp.arch
  2. Path: sparky!uunet!haven.umd.edu!decuac!pa.dec.com!nntpd2.cxo.dec.com!nntpd.lkg.dec.com!news.crl.dec.com!payne
  3. From: payne@crl.dec.com (Andrew Payne)
  4. Subject: Re: DEC Alpha architecture issues
  5. Message-ID: <1992Nov19.204729.24714@crl.dec.com>
  6. Sender: news@crl.dec.com (USENET News System)
  7. Organization: DEC Cambridge Research Lab
  8. References: <1992Nov18.112407.2518@doug.cae.wisc.edu> <1992Nov18.191730.1044@meiko.com> <lgnojjINN627@exodus.Eng.Sun.COM>
  9. Date: Thu, 19 Nov 1992 20:47:29 GMT
  10. Lines: 29
  11.  
  12. In article <lgnojjINN627@exodus.Eng.Sun.COM> tremblay@flayout.Eng.Sun.COM (Marc Tremblay) writes:
  13.  
  14. [ ... deleted ...]
  15.  
  16. >>   Any conditional branch over
  17. >>   a short sequence of instructions was optimised into a short
  18. >>   sequence of conditionally-executed instructions, which reduced
  19. >>   the code size and saved flushing the pipeline (there was no smart
  20. >>   branch prediction or delayed branches).
  21. >
  22. >The last sentence is key here. If branches can be predicted with decent
  23. >accuracy then it is hard to obtain benefits from conditional moves
  24. >over using conditional branches. 
  25.  
  26. Do you have any data to back up this claim?
  27.  
  28. Don't forget that conditional move sequences can be shorter than the 
  29. corresponding branch sequence.  In other words, the two instruction
  30. sequence branch/op can sometimes be replaced with a single conditional move 
  31. instruction.
  32.  
  33. Second, I believe the second order effect of providing larger basic blocks
  34. is the conditional move's greatest benefit.  Larger basic blocks offer
  35. more scheduling opportunities.  I don't have any data (yet), but I've 
  36. certainly seen it happen.
  37.  
  38. -- 
  39. Andrew C. Payne
  40. DEC Cambridge Research Lab
  41.