summaryrefslogtreecommitdiff
path: root/mpn
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-06-08 02:14:36 +0200
committerKevin Ryde <user42@zip.com.au>2001-06-08 02:14:36 +0200
commit6880c593ca0ef573895258eeb5688478add5219a (patch)
tree701d829513eea824d83e3080501a0a38a9c68bf7 /mpn
parent40f764ec130551d1ed266126c951cb28a1f88be4 (diff)
downloadgmp-6880c593ca0ef573895258eeb5688478add5219a.tar.gz
* mpn/hppa/*.s: Use .label so the code works with gas on hppa
GNU/Linux too, reported by LaMont Jones <lamont@smallone.fc.hp.com>.
Diffstat (limited to 'mpn')
-rw-r--r--mpn/hppa/hppa1_1/pa7100/add_n.s17
-rw-r--r--mpn/hppa/hppa1_1/umul.s4
2 files changed, 13 insertions, 8 deletions
diff --git a/mpn/hppa/hppa1_1/pa7100/add_n.s b/mpn/hppa/hppa1_1/pa7100/add_n.s
index 7a042e659..119f78c7a 100644
--- a/mpn/hppa/hppa1_1/pa7100/add_n.s
+++ b/mpn/hppa/hppa1_1/pa7100/add_n.s
@@ -2,7 +2,7 @@
; sum in a third limb vector.
; This is optimized for the PA7100, where is runs at 4.25 cycles/limb
-; Copyright 1992, 1994, 2000 Free Software Foundation, Inc.
+; Copyright 1992, 1994, 2000, 2001 Free Software Foundation, Inc.
; This file is part of the GNU MP Library.
@@ -30,7 +30,7 @@
.code
.export __gmpn_add_n
-__gmpn_add_n
+ .label __gmpn_add_n
.proc
.callinfo frame=0,no_calls
.entry
@@ -41,7 +41,8 @@ __gmpn_add_n
addib,<= -5,%r23,L$rest
add %r20,%r19,%r28 ; add first limbs ignoring cy
-L$loop ldws,ma 4(0,%r25),%r20
+ .label L$loop
+ ldws,ma 4(0,%r25),%r20
ldws,ma 4(0,%r24),%r19
stws,ma %r28,4(0,%r26)
addc %r20,%r19,%r28
@@ -59,15 +60,19 @@ L$loop ldws,ma 4(0,%r25),%r20
addib,> -4,%r23,L$loop
addc %r20,%r19,%r28
-L$rest addib,= 4,%r23,L$end
+ .label L$rest
+ addib,= 4,%r23,L$end
nop
-L$eloop ldws,ma 4(0,%r25),%r20
+
+ .label L$eloop
+ ldws,ma 4(0,%r25),%r20
ldws,ma 4(0,%r24),%r19
stws,ma %r28,4(0,%r26)
addib,> -1,%r23,L$eloop
addc %r20,%r19,%r28
-L$end stws %r28,0(0,%r26)
+ .label L$end
+ stws %r28,0(0,%r26)
bv 0(%r2)
addc %r0,%r0,%r28
diff --git a/mpn/hppa/hppa1_1/umul.s b/mpn/hppa/hppa1_1/umul.s
index eaf58d669..99b0ef605 100644
--- a/mpn/hppa/hppa1_1/umul.s
+++ b/mpn/hppa/hppa1_1/umul.s
@@ -1,4 +1,4 @@
-; Copyright 1999 Free Software Foundation, Inc.
+; Copyright 1999, 2001 Free Software Foundation, Inc.
; This file is part of the GNU MP Library.
@@ -20,7 +20,7 @@
.code
.export __umul_ppmm
.align 4
-__umul_ppmm
+ .label __umul_ppmm
.proc
.callinfo frame=64,no_calls
.entry