Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: davidm@cs.arizona.edu (David Mosberger-Tang)
Subject: DEC Alpha PAL invocation overhead
Date: 27 Jan 1994 06:11:17 GMT	[thread overview]
Message-ID: <DAVIDM.94Jan26231117@cage.cs.arizona.edu> (raw)

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.

	--david
--
David Mosberger; Department of CS; The University of Arizona; Tucson, AZ 85721
davidm@cs.arizona.edu
--
David Mosberger; Department of CS; The University of Arizona; Tucson, AZ 85721
davidm@cs.arizona.edu


             reply	other threads:[~1994-01-27  6:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-01-27  6:11 David Mosberger-Tang [this message]
1994-01-27 18:24 ` DEC Alpha PAL invocation overhead Andrew Duane USG/PE
1994-01-27 19:43 ` Joseph Martin
1994-01-27 22:49 ` Dave Wagner
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