summaryrefslogtreecommitdiff
path: root/longlong.h
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2004-01-10 21:25:18 +0100
committerKevin Ryde <user42@zip.com.au>2004-01-10 21:25:18 +0100
commiteacb455cdb2ac5ae6a00b1c8e40e6f2a5b9b2080 (patch)
tree0d8028ca2802aaf043c43905c762cb12cab07faf /longlong.h
parent910b707bdeb98da0aeba2a100f461db08c8af135 (diff)
downloadgmp-eacb455cdb2ac5ae6a00b1c8e40e6f2a5b9b2080.tar.gz
* longlong.h (sub_ddmmss) [generic]: Use al<bl for the borrow rather
than __x>al, since the former can be done without waiting for __x, helping superscalar chips, in particular alpha ev5 and ev6.
Diffstat (limited to 'longlong.h')
-rw-r--r--longlong.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/longlong.h b/longlong.h
index 1cfd900e0..315598557 100644
--- a/longlong.h
+++ b/longlong.h
@@ -1,7 +1,7 @@
/* longlong.h -- definitions for mixed size 32/64 bit arithmetic.
-Copyright 1991, 1992, 1993, 1994, 1996, 1997, 1999, 2000, 2001, 2002, 2003
-Free Software Foundation, Inc.
+Copyright 1991, 1992, 1993, 1994, 1996, 1997, 1999, 2000, 2001, 2002, 2003,
+2004 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
@@ -1539,7 +1539,7 @@ extern UWtype mpn_udiv_qrnnd_r _PROTO ((UWtype, UWtype, UWtype, UWtype *));
do { \
UWtype __x; \
__x = (al) - (bl); \
- (sh) = (ah) - (bh) - (__x > (al)); \
+ (sh) = (ah) - (bh) - ((al) < (bl)); \
(sl) = __x; \
} while (0)
#endif