aboutsummaryrefslogtreecommitdiff
path: root/softfloat/s_shortShift128ExtraRightJam.c
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2018-07-11 01:16:28 -0700
committerAndrew Waterman <andrew@sifive.com>2018-07-11 01:16:28 -0700
commit5cd8d2b93fad2011fdf8f49a263d77697af35b32 (patch)
treef6fb9cb6d3bef2aa5c9903511b92e5a6e99e9519 /softfloat/s_shortShift128ExtraRightJam.c
parent8e69141749065ff957383d2112768f95a33429b6 (diff)
downloadriscv-pk-5cd8d2b93fad2011fdf8f49a263d77697af35b32.zip
riscv-pk-5cd8d2b93fad2011fdf8f49a263d77697af35b32.tar.gz
riscv-pk-5cd8d2b93fad2011fdf8f49a263d77697af35b32.tar.bz2
Upgrade to SoftFloat 3e
Diffstat (limited to 'softfloat/s_shortShift128ExtraRightJam.c')
-rwxr-xr-xsoftfloat/s_shortShift128ExtraRightJam.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/softfloat/s_shortShift128ExtraRightJam.c b/softfloat/s_shortShift128ExtraRightJam.c
deleted file mode 100755
index cd2d771..0000000
--- a/softfloat/s_shortShift128ExtraRightJam.c
+++ /dev/null
@@ -1,22 +0,0 @@
-// See LICENSE.SoftFloat for license details.
-
-
-#include <stdint.h>
-#include "platform.h"
-#include "primitives.h"
-
-struct uint128_extra
- softfloat_shortShift128ExtraRightJam(
- uint64_t a64, uint64_t a0, uint64_t extra, unsigned int count )
-{
- unsigned int negCount;
- struct uint128_extra z;
-
- negCount = - count;
- z.v64 = a64>>count;
- z.v0 = a64<<( negCount & 63 ) | a0>>count;
- z.extra = a0<<( negCount & 63 ) | ( extra != 0 );
- return z;
-
-}
-