x86-64 fixes: Part 3

Andreas Jaeger aj@suse.de
Thu, 24 Oct 2002 14:45:37 +0200


This patch adds support to configure.in for x86-64.  

diff -ur gmp-4.1/configure.in /suse/aj/gmp-4.1/configure.in
--- gmp-4.1/configure.in	Sat May 18 11:54:44 2002
+++ /suse/aj/gmp-4.1/configure.in	Sun Sep 29 16:43:52 2002
@@ -974,6 +974,14 @@
     esac
     ;;
 
+  # AMD x86-64
+  x86_64*-*-*)
+    # Availability of rdtsc is checked at run-time.
+    #SPEED_CYCLECOUNTER_OBJ=pentium.lo
+    path="x86-64"
+    extra_functions="udiv umul"
+    GMP_INCLUDE_MPN(x86-64/x86-64-defs.m4)
+    ;;
 
   # FIXME: z8kx won't get through config.sub.  Could make 16 versus 32 bit
   # limb an ABI option perhaps.



Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj