Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: lindsay+@cs.cmu.edu (Donald Lindsay)
Subject: Alpha idioms?
Date: 22 Nov 92 20:18:14 GMT	[thread overview]
Message-ID: <By4wEF.Etv.2@cs.cmu.edu> (raw)

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


                 reply	other threads:[~1992-11-22 20:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox