From: neideck@kar.dec.com (Burkhard Neidecker-Lutz)
Subject: Re: Alpha Assembly Programming
Date: 1997/11/13 [thread overview]
Message-ID: <64fgst$6nd@usenet.pa.dec.com> (raw)
In-Reply-To: EJAAHp.10B@cwi.nl
In article <EJAAHp.10B@cwi.nl> 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..."
next prev parent reply other threads:[~1997-11-13 5:00 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-11-06 5:00 Alpha Assembly Programming teletan
1997-11-06 5:00 ` Antonio Carlini
1997-11-06 5:00 ` John Wilson
1997-11-07 5:00 ` Alan Dartnell
1997-11-11 5:00 ` Antonio Carlini
1997-11-07 5:00 ` Peter L. Montgomery
1997-11-13 5:00 ` Burkhard Neidecker-Lutz [this message]
1997-11-15 5:00 ` David Coote
1997-11-15 5:00 ` "Assembly Language Programer's Guide" Was:(Alpha Assembly Programming) spam
1997-11-18 5:00 ` Alpha Assembly Programming Hoff Hoffman
1997-11-18 5:00 ` John Wilson
1997-11-18 5:00 ` Ben Carter
1997-11-18 5:00 ` John Wilson
1997-11-19 5:00 ` Antonio Carlini
-- strict thread matches above, loose matches on Subject: below --
1997-11-08 5:00 Robert Harley
1997-11-09 5:00 Robert Harley
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