From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,c57cf894bfd9b974,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-11-22 05:52:58 PST 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: 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 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