summaryrefslogtreecommitdiff
path: root/longlong.h
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2000-11-29 21:43:21 +0100
committerKevin Ryde <user42@zip.com.au>2000-11-29 21:43:21 +0100
commit7a5f69d91a63e7de9331ab18ad96f10127ea949e (patch)
tree1da910cb4f4bcdfe118e2df61657d1c271e357fe /longlong.h
parent7b294246a9504a2cd154f22ad9289100c0f3dc14 (diff)
downloadgmp-7a5f69d91a63e7de9331ab18ad96f10127ea949e.tar.gz
* configure.in (AC_CANONICAL_HOST): Use this and $host, not $target.
* acinclude.m4, acconfig.h, longlong.h, mpn/x86/x86-defs.m4: Ditto, renaming HAVE_TARGET_CPU to HAVE_HOST_CPU.
Diffstat (limited to 'longlong.h')
-rw-r--r--longlong.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/longlong.h b/longlong.h
index e9171576a..2b1fb7a3e 100644
--- a/longlong.h
+++ b/longlong.h
@@ -468,7 +468,7 @@ extern USItype __MPN(udiv_qrnnd) _PROTO ((USItype *, USItype, USItype, USItype))
: "=a" (q), "=d" (r) \
: "0" ((USItype)(n0)), "1" ((USItype)(n1)), "rm" ((USItype)(dx)))
-#if HAVE_TARGET_CPU_i586 || HAVE_TARGET_CPU_pentium || HAVE_TARGET_CPU_pentiummmx
+#if HAVE_HOST_CPU_i586 || HAVE_HOST_CPU_pentium || HAVE_HOST_CPU_pentiummmx
/* This code should be a fixed 14 or 15 cycles, but possibly plus an L1
cache miss reading from __clz_tab. P5 "bsrl" on the other hand takes
between 10 and 72 cycles depending where the most significant 1 bit is.
@@ -1005,7 +1005,7 @@ extern USItype __MPN(udiv_qrnnd) _PROTO ((USItype *, USItype, USItype, USItype))
#define umul_ppmm(w1, w0, u, v) \
__asm__ ("umul %2,%3,%1;rd %%y,%0" : "=r" (w1), "=r" (w0) : "r" (u), "r" (v))
#define UMUL_TIME 5
-#if HAVE_TARGET_CPU_supersparc
+#if HAVE_HOST_CPU_supersparc
#define UDIV_TIME 60 /* SuperSPARC timing */
#else
/* Don't use this on SuperSPARC because its udiv only handles 53 bit
@@ -1019,7 +1019,7 @@ extern USItype __MPN(udiv_qrnnd) _PROTO ((USItype *, USItype, USItype, USItype))
(q) = __q; \
} while (0)
#define UDIV_TIME 25
-#endif /* HAVE_TARGET_CPU_supersparc */
+#endif /* HAVE_HOST_CPU_supersparc */
#else /* ! __sparc_v8__ */
#if defined (__sparclite__)
/* This has hardware multiply but not divide. It also has two additional