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_lt128.c
1
2
#include <stdbool.h>
3
#include <stdint.h>
4
#include
"platform.h"
5
#include
"primitives.h"
6
7
bool
softfloat_lt128
(
uint64_t
a64
,
uint64_t
a0
,
uint64_t
b64
,
uint64_t
b0
)
8
{
9
10
return
(
a64
<
b64
) || ( (
a64
==
b64
) && (
a0
<
b0
) );
11
12
}
13