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