From a6c24805277df84c010575f926552ede7469c51a Mon Sep 17 00:00:00 2001 From: jasonmoxham Date: Wed, 10 Aug 2011 15:54:48 +0000 Subject: [PATCH] removed some alpha specific stuff --- config.guess | 46 ---------------------------------------------- extract-dbl.c | 4 ---- mpn/Makefile.am | 2 +- mpn/Makefile.in | 2 +- 4 files changed, 2 insertions(+), 52 deletions(-) diff --git a/config.guess b/config.guess index c0b70699..f34d2dd0 100755 --- a/config.guess +++ b/config.guess @@ -139,52 +139,6 @@ esac case "$guess_full" in -alpha-*-*) - # configfsf.guess detects exact alpha cpu types for OSF and GNU/Linux, but - # not for *BSD and other systems. We try to get an exact type for any - # plain "alpha" it leaves. - # - # configfsf.guess used to have a block of code not unlike this, but these - # days does its thing with Linux kernel /proc/cpuinfo or OSF psrinfo. - # - cat <$dummy.s - .data -Lformat: - .byte 37,100,45,37,120,10,0 # "%d-%x\n" - .text - .globl main - .align 4 - .ent main -main: - .frame \$30,16,\$26,0 - ldgp \$29,0(\$27) - .prologue 1 - .long 0x47e03d91 # implver \$17 - lda \$2,-1 - .long 0x47e20c21 # amask \$2,\$1 - lda \$16,Lformat - not \$1,\$18 - jsr \$26,printf - ldgp \$29,0(\$26) - mov 0,\$16 - jsr \$26,exit - .end main -EOF - $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null - if test "$?" = 0 ; then - case `./$dummy` in - 0-0) exact_cpu=alpha ;; - 1-0) exact_cpu=alphaev5 ;; - 1-1) exact_cpu=alphaev56 ;; - 1-101) exact_cpu=alphapca56 ;; - 2-303) exact_cpu=alphaev6 ;; - 2-307) exact_cpu=alphaev67 ;; - 2-1307) exact_cpu=alphaev68 ;; - esac - fi - rm -f $dummy.s $dummy.o $dummy - ;; - ia64*-*-*) # CPUID[3] bits 24 to 31 is the processor family. itanium2 is documented # as 0x1f, plain itanium has been seen returning 0x07 on two systems, but diff --git a/extract-dbl.c b/extract-dbl.c index 9e454909..8e5e4b52 100644 --- a/extract-dbl.c +++ b/extract-dbl.c @@ -65,10 +65,6 @@ __gmp_extract_double (mp_ptr rp, double d) #if _GMP_IEEE_FLOATS { -#if defined (__alpha) && __GNUC__ == 2 && __GNUC_MINOR__ == 8 - /* Work around alpha-specific bug in GCC 2.8.x. */ - volatile -#endif union ieee_double_extract x; x.d = d; exp = x.s.exp; diff --git a/mpn/Makefile.am b/mpn/Makefile.am index 29b7b7a3..0e574038 100644 --- a/mpn/Makefile.am +++ b/mpn/Makefile.am @@ -31,7 +31,7 @@ nodist_libmpn_la_SOURCES = dummy1.c libmpn_la_LIBADD = $(OFILES) libmpn_la_DEPENDENCIES = $(OFILES) -TARG_DIST = alpha arm generic ia64 m68k mips32 mips64 powerpc32 powerpc64 sh sparc32 sparc64 thumb x86 x86_64 +TARG_DIST = alpha arm generic ia64 mips32 mips64 powerpc32 powerpc64 sparc32 sparc64 x86 x86_64 EXTRA_DIST = asm-defs.m4 cpp-ccas m4-ccas $(TARG_DIST) diff --git a/mpn/Makefile.in b/mpn/Makefile.in index 8d43b514..f00144ef 100644 --- a/mpn/Makefile.in +++ b/mpn/Makefile.in @@ -263,7 +263,7 @@ noinst_LTLIBRARIES = libmpn.la nodist_libmpn_la_SOURCES = dummy1.c libmpn_la_LIBADD = $(OFILES) libmpn_la_DEPENDENCIES = $(OFILES) -TARG_DIST = alpha arm generic ia64 m68k mips32 mips64 powerpc32 powerpc64 sh sparc32 sparc64 thumb x86 x86_64 +TARG_DIST = alpha arm generic ia64 mips32 mips64 powerpc32 powerpc64 sparc32 sparc64 x86 x86_64 EXTRA_DIST = asm-defs.m4 cpp-ccas m4-ccas $(TARG_DIST) # COMPILE minus CC.