From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,d2ecc202c8d3da03 X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,d2ecc202c8d3da03 X-Google-Attributes: gid102b75,public X-Google-ArrivalTime: 1994-01-28 10:34:17 PST Xref: gmd.de comp.arch:19166 comp.sys.dec:13103 Newsgroups: comp.arch,comp.sys.dec Path: gmd.de!xlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!uchinews!cdsmail!timbuk.cray.com!hemlock.cray.com!davew From: davew@cray.com (Dave Wagner) Subject: Re: DEC Alpha PAL invocation overhead Message-ID: Nntp-Posting-Host: willow07 References: Date: 27 Jan 94 16:49:42 CST davidm@cs.arizona.edu (David Mosberger-Tang) writes: >According to the Alpha Architecture Ref. manual, a call_pal >instruction involves stalling "instruction issue until all prior >instructions are guaranteed to complete without incurring exceptions" >followed by a trap into PALcode. > >What I would like to know is how many cycles it typically takes to >switch into PALmode and back into normal mode. For example, has >anybody data available on how long a no-operation PAL instruction >would take? I think the OSF/1 "read processor status" (rdps) pal >instruction could serve as a reasonable approximation for this as it >presumably does nothing but read a processor internal register. >Unfortunately, it is a privileged instruction so I don't see an easy >way to measure this without access to source for an Alpha operating >system. > >Any help would be greatly appreciated. > rdunique should be a reasonable unpriv'd nop. -- Dave Wagner "My other computer is a T3D." davew@cray.com , uunet!cray!davew "Ask me about PWC chapters near (612) 683-5393 you (Parents Without Camcorders)"