summaryrefslogtreecommitdiff
path: root/mpn/power
diff options
context:
space:
mode:
authortege <tege@gmplib.org>1996-08-08 13:40:10 +0200
committertege <tege@gmplib.org>1996-08-08 13:40:10 +0200
commitfed142c8da07ce241e12bdb420aa06e81ea352c7 (patch)
tree466e8c3832df5d865142e98a7143df577163e64f /mpn/power
parentf62106e8d0b3fa74a14e651ab9493bb689530bad (diff)
downloadgmp-fed142c8da07ce241e12bdb420aa06e81ea352c7.tar.gz
Work around GAS bug.
Diffstat (limited to 'mpn/power')
-rw-r--r--mpn/power/add_n.s2
-rw-r--r--mpn/power/sub_n.s2
2 files changed, 2 insertions, 2 deletions
diff --git a/mpn/power/add_n.s b/mpn/power/add_n.s
index 9e1c94897..9738fd4dc 100644
--- a/mpn/power/add_n.s
+++ b/mpn/power/add_n.s
@@ -49,7 +49,7 @@ __mpn_add_n:
# We have an odd # of limbs. Add the first limbs separately.
cmpi 1,10,0 # is count for unrolled loop zero?
- bne 1,L1 # branch if not
+ bc 4,6,L1 # bne cr1,L1 (misassembled by gas)
st 7,4(3)
aze 3,10 # use the fact that r10 is zero...
br # return
diff --git a/mpn/power/sub_n.s b/mpn/power/sub_n.s
index 30d4fee86..07f24f97d 100644
--- a/mpn/power/sub_n.s
+++ b/mpn/power/sub_n.s
@@ -49,7 +49,7 @@ __mpn_sub_n:
# We have an odd # of limbs. Add the first limbs separately.
cmpi 1,10,0 # is count for unrolled loop zero?
- bne 1,L1 # branch if not
+ bc 4,6,L1 # bne cr1,L1 (misassembled by gas)
st 7,4(3)
sfe 3,0,0 # load !cy into ...
sfi 3,3,0 # ... return value register