aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mpi')
-rw-r--r--lib/mpi/longlong.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/mpi/longlong.h b/lib/mpi/longlong.h
index 08c60d10747f..3bb6260d8f42 100644
--- a/lib/mpi/longlong.h
+++ b/lib/mpi/longlong.h
@@ -397,8 +397,8 @@ do { \
397#define add_ssaaaa(sh, sl, ah, al, bh, bl) \ 397#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
398 __asm__ ("addl %5,%1\n" \ 398 __asm__ ("addl %5,%1\n" \
399 "adcl %3,%0" \ 399 "adcl %3,%0" \
400 : "=r" ((USItype)(sh)), \ 400 : "=r" (sh), \
401 "=&r" ((USItype)(sl)) \ 401 "=&r" (sl) \
402 : "%0" ((USItype)(ah)), \ 402 : "%0" ((USItype)(ah)), \
403 "g" ((USItype)(bh)), \ 403 "g" ((USItype)(bh)), \
404 "%1" ((USItype)(al)), \ 404 "%1" ((USItype)(al)), \
@@ -406,22 +406,22 @@ do { \
406#define sub_ddmmss(sh, sl, ah, al, bh, bl) \ 406#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
407 __asm__ ("subl %5,%1\n" \ 407 __asm__ ("subl %5,%1\n" \
408 "sbbl %3,%0" \ 408 "sbbl %3,%0" \
409 : "=r" ((USItype)(sh)), \ 409 : "=r" (sh), \
410 "=&r" ((USItype)(sl)) \ 410 "=&r" (sl) \
411 : "0" ((USItype)(ah)), \ 411 : "0" ((USItype)(ah)), \
412 "g" ((USItype)(bh)), \ 412 "g" ((USItype)(bh)), \
413 "1" ((USItype)(al)), \ 413 "1" ((USItype)(al)), \
414 "g" ((USItype)(bl))) 414 "g" ((USItype)(bl)))
415#define umul_ppmm(w1, w0, u, v) \ 415#define umul_ppmm(w1, w0, u, v) \
416 __asm__ ("mull %3" \ 416 __asm__ ("mull %3" \
417 : "=a" ((USItype)(w0)), \ 417 : "=a" (w0), \
418 "=d" ((USItype)(w1)) \ 418 "=d" (w1) \
419 : "%0" ((USItype)(u)), \ 419 : "%0" ((USItype)(u)), \
420 "rm" ((USItype)(v))) 420 "rm" ((USItype)(v)))
421#define udiv_qrnnd(q, r, n1, n0, d) \ 421#define udiv_qrnnd(q, r, n1, n0, d) \
422 __asm__ ("divl %4" \ 422 __asm__ ("divl %4" \
423 : "=a" ((USItype)(q)), \ 423 : "=a" (q), \
424 "=d" ((USItype)(r)) \ 424 "=d" (r) \
425 : "0" ((USItype)(n0)), \ 425 : "0" ((USItype)(n0)), \
426 "1" ((USItype)(n1)), \ 426 "1" ((USItype)(n1)), \
427 "rm" ((USItype)(d))) 427 "rm" ((USItype)(d)))