summaryrefslogtreecommitdiff
path: root/longlong.h
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2005-05-22 13:28:16 +0200
committertege <tege@gmplib.org>2005-05-22 13:28:16 +0200
commit412b8df0cc34b41a115abd7c1e966928d13320f2 (patch)
tree02df4c13a6048556256c787451188b88be851a05 /longlong.h
parent2e1180d3dc21f5f9b043b9a382c472cc29cb18a5 (diff)
downloadgmp-412b8df0cc34b41a115abd7c1e966928d13320f2.tar.gz
(add_ssaaaa) [x86]: Remove lvalue casts.
(sub_ddmmss) [x86]: Likewise.
Diffstat (limited to 'longlong.h')
-rw-r--r--longlong.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/longlong.h b/longlong.h
index 30e878729..d7b965cc7 100644
--- a/longlong.h
+++ b/longlong.h
@@ -656,13 +656,13 @@ extern UWtype __MPN(udiv_qrnnd) _PROTO ((UWtype *, UWtype, UWtype, UWtype));
#if (defined (__i386__) || defined (__i486__)) && W_TYPE_SIZE == 32
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
- __asm__ ("addl %5,%1\n\tadcl %3,%0" \
- : "=r" ((USItype)(sh)), "=&r" ((USItype)(sl)) \
+ __asm__ ("addl %5,%k1\n\tadcl %3,%k0" \
+ : "=r" (sh), "=&r" (sl) \
: "0" ((USItype)(ah)), "g" ((USItype)(bh)), \
"%1" ((USItype)(al)), "g" ((USItype)(bl)))
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
- __asm__ ("subl %5,%1\n\tsbbl %3,%0" \
- : "=r" ((USItype)(sh)), "=&r" ((USItype)(sl)) \
+ __asm__ ("subl %5,%k1\n\tsbbl %3,%k0" \
+ : "=r" (sh), "=&r" (sl) \
: "0" ((USItype)(ah)), "g" ((USItype)(bh)), \
"1" ((USItype)(al)), "g" ((USItype)(bl)))
#define umul_ppmm(w1, w0, u, v) \