diff options
author | Kevin Ryde <user42@zip.com.au> | 2004-01-17 01:03:45 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2004-01-17 01:03:45 +0100 |
commit | bd02c8f449ba85d31e5af9bcab4181a3b2a3b31c (patch) | |
tree | fe9c4e7aa13d676803aefb248460314444816f6a /tune/time.c | |
parent | 22d10583f2400cc59d299c54d22ff24e7f0b035a (diff) | |
download | gmp-bd02c8f449ba85d31e5af9bcab4181a3b2a3b31c.tar.gz |
* tune/time.c (mftb): Note single mftb possible for powerpc64.
Diffstat (limited to 'tune/time.c')
-rw-r--r-- | tune/time.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tune/time.c b/tune/time.c index 9c2f03e7c..519797f54 100644 --- a/tune/time.c +++ b/tune/time.c @@ -236,7 +236,9 @@ typedef unsigned long stck_t; /* dummy */ #endif #define STCK_PERIOD (1.0 / 4096e6) /* 2^-12 microseconds */ -/* mftb */ +/* mftb + Enhancement: On 64-bit chips mftb gives a 64-bit value, no need for mftbu + and a loop (see powerpc64.asm). */ #if HAVE_HOST_CPU_FAMILY_powerpc static const int have_mftb = 1; #if defined (__GNUC__) && ! defined (NO_ASM) |