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: neideck@kar.dec.com (Burkhard Neidecker-Lutz) Subject: Re: Alpha Assembly Programming Date: 1997/11/13 Message-ID: <64fgst$6nd@usenet.pa.dec.com>#1/1 X-Deja-AN: 289290991 References: <34622F8E.7529@dso.org.sg> <63s25m$7v7$1@nntpd.lkg.dec.com> Organization: CEC Karlsruhe Newsgroups: comp.sys.dec In article pmontgom@cwi.nl (Peter L. Montgomery) writes: > Using the cc and f90 compilers now present on Digital UNIX >systems, how does one access UMULH (upper half of unsigned integer >multiply)? Have a look at /usr/sys/include/arch/alpha/builtins.h. For UMULH it would be: unsigned long __UMULH(unsigned long __oper1, unsigned long __oper2); How about the IEEE floating point instructions with >rounding mode explicitly specified? Don't know. >Do the compilers use the >FETCH instruction when we are reading/writing a big array? No. Since FETCH needs to support from the system (the 21064 and 21164 just send them off-chip) they aren't terribly useful in any currently shipping system. The compilers *do* use the prefetch instructions that have been added to the Alpha architecture with the introduction of the 21164 and up (i.e. loads to R31 and F31). >On the 21264, how will we access the population count >and leading/trailing zero count instructions from Fortran and C? Similar to UMULH, but not in current cc and f90 compilers since there are no current operating system releases for 21264 machines. Expect to see something akin to the other builtins there. Burkhard Neidecker-Lutz CEC Karlsruhe , European Applied Research Center, Digital Equipment Corporation email: neideck@kar.dec.com "9 of the 10 most loaded Web sites run on Digital Unix and 72 of the top 100..."