From: Pete Wyckoff <pw@osc.edu>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] Performance Monitor Internals:
Date: Mon, 13 Nov 2000 16:57:17 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590678205689@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590678205661@msgid-missing>
davidm@hpl.hp.com said:
> static __inline__ unsigned long
> ia64_get_itc (void)
> {
> unsigned long result;
>
> __asm__ __volatile__("mov %0=ar.itc" : "=r"(result) :: "memory");
> while (__builtin_expect ((int) result = -1, 0))
> __asm__ __volatile__("mov %0=ar.itc" : "=r"(result) :: "memory");
> return result;
> }
Why is it no good to return result when it satisfies:
(result & 0xffffffff) = 0xffffffff
? Curiosity.
-- Pete
prev parent reply other threads:[~2000-11-13 16:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-07 17:03 [Linux-ia64] Performance Monitor Internals: Jonathan Case Nicklin
2000-11-07 22:10 ` Stephane Eranian
2000-11-09 15:40 ` Ross Ridge
2000-11-09 15:56 ` David Mosberger
2000-11-13 16:57 ` Pete Wyckoff [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ia64-105590678205689@msgid-missing \
--to=pw@osc.edu \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.