home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / dec / 6121 < prev    next >
Encoding:
Internet Message Format  |  1992-11-22  |  872 b 

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!lindsay
  2. From: lindsay+@cs.cmu.edu (Donald Lindsay)
  3. Newsgroups: comp.sys.dec
  4. Subject: Alpha idioms?
  5. Summary: any style guides out there for good Alpha code?
  6. Message-ID: <By4wEF.Etv.2@cs.cmu.edu>
  7. Date: 22 Nov 92 20:18:14 GMT
  8. Article-I.D.: cs.By4wEF.Etv.2
  9. Sender: news@cs.cmu.edu (Usenet News System)
  10. Organization: School of Computer Science, Carnegie Mellon
  11. Lines: 12
  12. Nntp-Posting-Host: gandalf.cs.cmu.edu
  13.  
  14. Who do I ask, or where do I look, to find programming idioms/macros/
  15. whatever to help me get good code out of OSF/1 C?
  16.  
  17. Specifically, I coded
  18.     ... = ppixel->r;
  19.     ... = ppixel->g;
  20.     ... = ppixel->b;
  21.  
  22. (a pixel being 4 bytes, suitably aligned since it was malloc'd)
  23. and the compiler insisted on doing 3 loads. 
  24. -- 
  25. Don        D.C.Lindsay    Carnegie Mellon Computer Science
  26.