diff options
author | das <das@FreeBSD.org> | 2012-01-20 06:16:14 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2012-01-20 06:16:14 +0000 |
commit | 6003be2b93b55b2c4ddc36327b2368bfbf1cd580 (patch) | |
tree | ca7e1949c416c8eaa7e890e6031477d283c8ddb9 /lib/libc/softfloat/bits32/softfloat-macros | |
parent | 9386d0d604b43db6adc33e4d48dacd735ccff9fb (diff) | |
download | FreeBSD-src-6003be2b93b55b2c4ddc36327b2368bfbf1cd580.zip FreeBSD-src-6003be2b93b55b2c4ddc36327b2368bfbf1cd580.tar.gz |
Merge in the latest SoftFloat changes from NetBSD. (NetBSD isn't the
original vendor, but we're using their heavily modified version.)
This brings in functions for long double emulation (both extended and
quad formats), which may be useful for testing, and also for replacing
libc/sparc64/fpu/.
Diffstat (limited to 'lib/libc/softfloat/bits32/softfloat-macros')
-rw-r--r-- | lib/libc/softfloat/bits32/softfloat-macros | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/softfloat/bits32/softfloat-macros b/lib/libc/softfloat/bits32/softfloat-macros index 4fd4f2f..db4e038 100644 --- a/lib/libc/softfloat/bits32/softfloat-macros +++ b/lib/libc/softfloat/bits32/softfloat-macros @@ -312,7 +312,7 @@ INLINE void carry0 = ( z1 < a1 ); z0 = a0 + b0; z1 += carry1; - z0 += ( z1 < carry1 ); + z0 += ( z1 < (bits32)carry1 ); z0 += carry0; *z2Ptr = z2; *z1Ptr = z1; @@ -369,7 +369,7 @@ INLINE void z1 = a1 - b1; borrow0 = ( a1 < b1 ); z0 = a0 - b0; - z0 -= ( z1 < borrow1 ); + z0 -= ( z1 < (bits32)borrow1 ); z1 -= borrow1; z0 -= borrow0; *z2Ptr = z2; |