[51128] trunk/dports/devel/gmp

mcalhoun at macports.org mcalhoun at macports.org
Mon May 18 15:58:13 PDT 2009


Revision: 51128
          http://trac.macports.org/changeset/51128
Author:   mcalhoun at macports.org
Date:     2009-05-18 15:58:12 -0700 (Mon, 18 May 2009)
Log Message:
-----------
gmp: Update version 4.3.0 -> 4.3.1.

Modified Paths:
--------------
    trunk/dports/devel/gmp/Portfile

Removed Paths:
-------------
    trunk/dports/devel/gmp/files/patch-aors_n.asm.diff

Modified: trunk/dports/devel/gmp/Portfile
===================================================================
--- trunk/dports/devel/gmp/Portfile	2009-05-18 21:54:00 UTC (rev 51127)
+++ trunk/dports/devel/gmp/Portfile	2009-05-18 22:58:12 UTC (rev 51128)
@@ -5,8 +5,7 @@
 PortGroup  muniversal  1.0
 
 name            gmp
-version         4.3.0
-revision        1
+version         4.3.1
 categories      devel math
 maintainers     mcalhoun openmaintainer
 platforms       darwin
@@ -25,25 +24,19 @@
 homepage        http://gmplib.org/
 master_sites    gnu
 
-checksums       md5     9687383f0def0cc48dfc19afa36f1eb5 \
-                sha1    86dbd8a6b2fbb4c75760a80009227c9a11b801a9 \
-                rmd160  db53caaf856a54d2a2c0d60961a7c4b820bcebce
+checksums       md5     26cec15a90885042dd4a15c4003b08ae \
+                sha1    acbd1edc61230b1457e9742136994110e4f381b2 \
+                rmd160  f325d809dde1f87816eea3697bcfe00f3ec8f10d
 
 use_bzip2       yes
 use_parallel_build yes
 
 # See http://trac.macports.org/ticket/16634
-# Use less specialized assembly so that all tests will pass.
-patchfiles      patch-gmp-h.in.diff patch-aors_n.asm.diff
+patchfiles      patch-gmp-h.in.diff
 
 configure.args  --infodir=${prefix}/share/info \
                 --enable-cxx
 
-post-patch {
-    # Use less specialized assembly so that all tests will pass.
-    delete ${worksrcpath}/mpn/x86/p6/sse2/popcount.asm
-}
-
 # if CFLAGS and CXXFLAGS are undefined, configure script tries to build fastest library for build machine.
 # On PowerPC machines, CFLAGS must be empty to get -force_cpusubtype_ALL.
 pre-configure {

Deleted: trunk/dports/devel/gmp/files/patch-aors_n.asm.diff
===================================================================
--- trunk/dports/devel/gmp/files/patch-aors_n.asm.diff	2009-05-18 21:54:00 UTC (rev 51127)
+++ trunk/dports/devel/gmp/files/patch-aors_n.asm.diff	2009-05-18 22:58:12 UTC (rev 51128)
@@ -1,122 +0,0 @@
---- mpn/x86/p6/aors_n.asm~	2009-04-14 05:36:31.000000000 -0700
-+++ mpn/x86/p6/aors_n.asm	2009-05-04 13:05:39.000000000 -0700
-@@ -28,118 +28,5 @@
- C P6 model 9   (Banias)         ?
- C P6 model 13  (Dothan)         2.25
- 
--
--define(`rp',	`%edi')
--define(`up',	`%esi')
--define(`vp',	`%ebx')
--define(`n',	`%ecx')
--
--ifdef(`OPERATION_add_n', `
--	define(ADCSBB,	      adc)
--	define(func,	      mpn_add_n)
--	define(func_nc,	      mpn_add_nc)')
--ifdef(`OPERATION_sub_n', `
--	define(ADCSBB,	      sbb)
--	define(func,	      mpn_sub_n)
--	define(func_nc,	      mpn_sub_nc)')
--
- MULFUNC_PROLOGUE(mpn_add_n mpn_add_nc mpn_sub_n mpn_sub_nc)
--
--ASM_START()
--
--	TEXT
--	ALIGN(16)
--
--PROLOGUE(func)
--	xor	%edx, %edx
--L(start):
--	push	%edi
--	push	%esi
--	push	%ebx
--
--	mov	16(%esp), rp
--	mov	20(%esp), up
--	mov	24(%esp), vp
--	mov	28(%esp), n
--
--	lea	(up,n,4), up
--	lea	(vp,n,4), vp
--	lea	(rp,n,4), rp
--
--	neg	n
--	mov	n, %eax
--	and	$-8, n
--	and	$7, %eax
--	shl	$2, %eax			C 4x
--ifdef(`PIC',`
--	call	L(pic_calc)
--L(here):
--',`
--	lea	L(ent) (%eax,%eax,2), %eax	C 12x
--')
--
--	shr	%edx				C set cy flag
--	jmp	*%eax
--
--ifdef(`PIC',`
--L(pic_calc):
--	C See mpn/x86/README about old gas bugs
--	lea	(%eax,%eax,2), %eax
--	add	$L(ent)-L(here), %eax
--	add	(%esp), %eax
--	ret_internal
--')
--
--.Lend:
--	sbb	%eax, %eax
--	neg	%eax
--	pop	%ebx
--	pop	%esi
--	pop	%edi
--	ret
--
--	ALIGN(16)
--.Loop:
--	jecxz	.Lend
--L(ent):
--Zdisp(	mov,	0,(up,n,4), %eax)
--Zdisp(	ADCSBB,	0,(vp,n,4), %eax)
--Zdisp(	mov,	%eax, 0,(rp,n,4))
--
--	mov	4(up,n,4), %edx
--	ADCSBB	4(vp,n,4), %edx
--	mov	%edx, 4(rp,n,4)
--
--	mov	8(up,n,4), %eax
--	ADCSBB	8(vp,n,4), %eax
--	mov	%eax, 8(rp,n,4)
--
--	mov	12(up,n,4), %edx
--	ADCSBB	12(vp,n,4), %edx
--	mov	%edx, 12(rp,n,4)
--
--	mov	16(up,n,4), %eax
--	ADCSBB	16(vp,n,4), %eax
--	mov	%eax, 16(rp,n,4)
--
--	mov	20(up,n,4), %edx
--	ADCSBB	20(vp,n,4), %edx
--	mov	%edx, 20(rp,n,4)
--
--	mov	24(up,n,4), %eax
--	ADCSBB	24(vp,n,4), %eax
--	mov	%eax, 24(rp,n,4)
--
--	mov	28(up,n,4), %edx
--	ADCSBB	28(vp,n,4), %edx
--	mov	%edx, 28(rp,n,4)
--
--	lea	8(n), n
--	jmp	.Loop
--
--EPILOGUE()
--
--PROLOGUE(func_nc)
--	movl	20(%esp), %edx
--	jmp	L(start)
--EPILOGUE()
-+include_mpn(`x86/k7/aors_n.asm')
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090518/3165d501/attachment.html>


More information about the macports-changes mailing list