[Gmp-commit] /home/hgfiles/gmp: Insert explicitly typed nops to trigger inten...

mercurial at gmplib.org mercurial at gmplib.org
Mon Mar 15 02:13:00 CET 2010


details:   /home/hgfiles/gmp/rev/228d9deade5b
changeset: 13495:228d9deade5b
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon Mar 15 02:12:46 2010 +0100
description:
Insert explicitly typed nops to trigger intended bundling.

diffstat:

 ChangeLog               |   7 +++++++
 mpn/ia64/aors_n.asm     |   3 ++-
 mpn/ia64/aorslsh1_n.asm |   5 ++++-
 mpn/ia64/dive_1.asm     |  12 +++++++++---
 4 files changed, 22 insertions(+), 5 deletions(-)

diffs (105 lines):

diff -r 252d1c121103 -r 228d9deade5b ChangeLog
--- a/ChangeLog	Sat Mar 13 23:10:05 2010 +0100
+++ b/ChangeLog	Mon Mar 15 02:12:46 2010 +0100
@@ -1,3 +1,10 @@
+2010-03-15  Torbjorn Granlund  <tege at gmplib.org>
+
+	* mpn/ia64/aors_n.asm: Insert explicitly typed nops to trigger intended
+	bundling.
+	* mpn/ia64/aorslsh1_n.asm: Likewise.
+	* mpn/ia64/dive_1.asm: Likewise.
+
 2010-03-13  Torbjorn Granlund  <tege at gmplib.org>
 
 	* mpn/x86/pentium4/sse2/submul_1.asm: Rewrite.
diff -r 252d1c121103 -r 228d9deade5b mpn/ia64/aors_n.asm
--- a/mpn/ia64/aors_n.asm	Sat Mar 13 23:10:05 2010 +0100
+++ b/mpn/ia64/aors_n.asm	Mon Mar 15 02:12:46 2010 +0100
@@ -1,6 +1,6 @@
 dnl  IA-64 mpn_add_n/mpn_sub_n -- mpn addition and subtraction.
 
-dnl  Copyright 2003, 2004, 2005 Free Software Foundation, Inc.
+dnl  Copyright 2003, 2004, 2005, 2010 Free Software Foundation, Inc.
 
 dnl  This file is part of the GNU MP Library.
 
@@ -511,6 +511,7 @@
 	cmp.PRED	p6, p0 = w4, u4		C			M I
 	ld8		u4 = [up], 8		C			M01
 	ADDSUB		w5 = u5, v5		C			M I
+	nop.b		0
 	;;
 	ld8		v5 = [vp], 8		C			M01
 	cmp.PRED	p7, p0 = w5, u5		C			M I
diff -r 252d1c121103 -r 228d9deade5b mpn/ia64/aorslsh1_n.asm
--- a/mpn/ia64/aorslsh1_n.asm	Sat Mar 13 23:10:05 2010 +0100
+++ b/mpn/ia64/aorslsh1_n.asm	Mon Mar 15 02:12:46 2010 +0100
@@ -1,6 +1,6 @@
 dnl  IA-64 mpn_addlsh1_n/mpn_sublsh1_n -- rp[] = up[] +- (vp[] << 1).
 
-dnl  Copyright 2003, 2004, 2005 Free Software Foundation, Inc.
+dnl  Copyright 2003, 2004, 2005, 2010 Free Software Foundation, Inc.
 
 dnl  This file is part of the GNU MP Library.
 
@@ -257,8 +257,10 @@
 	;;
 	st8		[rp] = w2, 8		C			M23
 	cmp.PRED	p6, p0 = w0, u0		C			M I
+	nop.b		0
 	ld8		u0 = [up], 8		C			M01
 	ADDSUB		w1 = u1, x1		C			M I
+	nop.b		0
 	;;
 .LL00:	st8		[rp] = w3, 8		C			M23
 	shrp		x2 = v2, v1, 63		C			I0
@@ -276,6 +278,7 @@
 	;;
 	st8		[rp] = w0, 8		C			M23
 	cmp.PRED	p6, p0 = w2, u2		C			M I
+	nop.b		0
 	ld8		u2 = [up], 8		C			M01
 	ADDSUB		w3 = u3, x3		C			M I
 	br.cloop.dptk	.Loop			C			B
diff -r 252d1c121103 -r 228d9deade5b mpn/ia64/dive_1.asm
--- a/mpn/ia64/dive_1.asm	Sat Mar 13 23:10:05 2010 +0100
+++ b/mpn/ia64/dive_1.asm	Mon Mar 15 02:12:46 2010 +0100
@@ -1,6 +1,6 @@
 dnl  IA-64 mpn_divexact_1 -- mpn by limb exact division.
 
-dnl  Copyright 2003, 2004, 2005 Free Software Foundation, Inc.
+dnl  Copyright 2003, 2004, 2005, 2010 Free Software Foundation, Inc.
 
 dnl  This file is part of the GNU MP Library.
 
@@ -177,22 +177,28 @@
 	ld8		r21 = [up], 8
 	br		.Lent
 
-.Loop:	ld8		r21 = [up], 8
+.Ltop:	ld8		r21 = [up], 8
 	xma.l		f12 = f9, f8, f10	C q = c * -inverse + si
+	nop.b		0
 	;;
 .Lent:	add		r16 = 160, up
 	shl		r22 = r21, lshift
+	nop.b		0
 	;;
 	stf8		[rp] = f12, 8
 	xma.hu		f9 = f12, f6, f9	C c = high(q * divisor + c)
+	nop.b		0
+	nop.m		0
 	xmpy.l		f10 = f11, f7		C si = ulimb * inverse
+	nop.b		0
 	;;
 	or		r31 = r22, r23
 	shr.u		r23 = r21, rshift
+	nop.b		0
 	;;
 	lfetch		[r16]
 	setf.sig	f11 = r31
-	br.cloop.sptk.few.clr .Loop
+	br.cloop.sptk.few.clr .Ltop
 
 
 	xma.l		f12 = f9, f8, f10	C q = c * -inverse + si


More information about the gmp-commit mailing list