projects
/
riscv-isa-sim.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
make NaN behavior consistent with hardfloat
[riscv-isa-sim.git]
/
softfloat
/
s_shortShift64RightJam.c
1
2
#include <stdint.h>
3
#include
"platform.h"
4
#include
"primitives.h"
5
6
uint64_t
softfloat_shortShift64RightJam
(
uint64_t
a
,
unsigned int
count
)
7
{
8
9
return
a
>>
count
| ( (
a
& ( ( (
uint64_t
)
1
<<
count
) -
1
) ) !=
0
);
10
11
}
12