aboutsummaryrefslogtreecommitdiff
path: root/softfloat/s_shortShiftRightJam64Extra.c
diff options
context:
space:
mode:
Diffstat (limited to 'softfloat/s_shortShiftRightJam64Extra.c')
-rw-r--r--softfloat/s_shortShiftRightJam64Extra.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/softfloat/s_shortShiftRightJam64Extra.c b/softfloat/s_shortShiftRightJam64Extra.c
index 2ca4d01..25d23f4 100644
--- a/softfloat/s_shortShiftRightJam64Extra.c
+++ b/softfloat/s_shortShiftRightJam64Extra.c
@@ -2,9 +2,9 @@
/*============================================================================
This C source file is part of the SoftFloat IEEE Floating-Point Arithmetic
-Package, Release 3a, by John R. Hauser.
+Package, Release 3d, by John R. Hauser.
-Copyright 2011, 2012, 2013, 2014, 2015 The Regents of the University of
+Copyright 2011, 2012, 2013, 2014, 2015, 2016 The Regents of the University of
California. All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -42,12 +42,12 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
struct uint64_extra
softfloat_shortShiftRightJam64Extra(
- uint64_t a, uint64_t extra, uint_fast8_t count )
+ uint64_t a, uint64_t extra, uint_fast8_t dist )
{
struct uint64_extra z;
- z.v = a>>count;
- z.extra = a<<(-count & 63) | (extra != 0);
+ z.v = a>>dist;
+ z.extra = a<<(-dist & 63) | (extra != 0);
return z;
}