From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pete Wyckoff Date: Mon, 13 Nov 2000 16:57:17 +0000 Subject: Re: [Linux-ia64] Performance Monitor Internals: Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org 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