From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,1435e364be523e9d X-Google-Attributes: gid1164f8,public From: pmontgom@cwi.nl (Peter L. Montgomery) Subject: Re: Alpha Assembly Programming Date: 1997/11/07 Message-ID: #1/1 X-Deja-AN: 287689339 Sender: news@cwi.nl (The Daily Dross) References: <34622F8E.7529@dso.org.sg> <63s25m$7v7$1@nntpd.lkg.dec.com> Organization: CWI, Amsterdam Newsgroups: comp.sys.dec In article <63s25m$7v7$1@nntpd.lkg.dec.com> carlini@nowhere.you.can.reach.com writes: >In article <34622F8E.7529@dso.org.sg>, teletan@dso.org.sg writes: >|>I am planning to hand code some C programs in assembler on the Alpha >|>chip. Can anyone point me to any useful resources that I can refer to? > >Why? Unless you are doing something that *cannot* be done in C (like >PALcode) then a compiler is highly likely to do a much better job than >you will. Using the cc and f90 compilers now present on Digital UNIX systems, how does one access UMULH (upper half of unsigned integer multiply)? How about the IEEE floating point instructions with rounding mode explicitly specified? Do the compilers use the FETCH instruction when we are reading/writing a big array? On the 21264, how will we access the population count and leading/trailing zero count instructions from Fortran and C? Inline code is desired for all of these. -- Peter L. Montgomery pmontgom@cwi.nl San Rafael, California A mathematician whose age has doubled since he last drove an automobile.