🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #3852

Alpha idioms?

#3852
From: Donald Lindsay
Date: Sun, 22 Nov 1992 20:18
12 lines
897 bytes
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
Technical Details
Message-ID: <By4wEF.Etv.2@cs.cmu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!lindsay

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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