A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-September/048934.html below:

[Python-Dev] --with-tsc compile fails

[Python-Dev] --with-tsc compile fails [Python-Dev] --with-tsc compile failsJeremy Hylton jhylton at gmail.com
Wed Sep 15 20:56:43 CEST 2004
On Wed, 15 Sep 2004 14:51:55 +0100, Michael Hudson <mwh at python.net> wrote:
> Jeremy Hylton <jhylton at gmail.com> writes:
> 
> > I'm feeling pretty out of it :-).  I'm very happy to see that the
> > Pentium tsc patch made it into the core; I had missed it.  I'm amused
> > that the Pentium tsc patch works for PPC, too.
> 
> I did consider changing all the names but couldn't be bothered.

There's nothing wrong with amusing names for obscure stuff like this :-).
 
> OTOH, I think one could replace the include by
> 
> #define rdtscll(val) \
>      __asm__ __volatile__("rdtsc" : "=A" (val))
> 
> if my limited googling is anything to go by.  It also seems asm/msr.h
> is a "kernel internal header with absolutely no stable API
> properties...." (Redhat bugzilla).
> 
> So, now I've written this email <wink>, I think we should take out the
> include and put in the #define.

I'll give it a try tonight.  I double-checked and my somewhat tweaked
RH Linux distro doesn't have an asm/msr.h.  I'd rather not try to find
out if there is an rdtscll() defined somewhere else.

jeremy
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4