projects
/
riscv-tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5731f7
)
add new failing fsqrt test case
author
Colin Schmidt
<colins@eecs.berkeley.edu>
Thu, 25 Feb 2016 01:18:42 +0000
(17:18 -0800)
committer
Colin Schmidt
<colins@eecs.berkeley.edu>
Thu, 25 Feb 2016 01:18:42 +0000
(17:18 -0800)
when using testfloat the correct format is
input output unknown value
This comment requested by palmer
isa/rv64uf/fdiv.S
patch
|
blob
|
history
diff --git
a/isa/rv64uf/fdiv.S
b/isa/rv64uf/fdiv.S
index ddc7290d7e3304afb2b1d1a333b004e7b9f50b02..40963e3a8347916157caa058b7b00035f643840e 100644
(file)
--- a/
isa/rv64uf/fdiv.S
+++ b/
isa/rv64uf/fdiv.S
@@
-38,6
+38,9
@@
RVTEST_CODE_BEGIN
// TEST_FP_OP1_S(17,, fsqrt.s, 1, 13.025515, 171.0);
TEST_FP_OP1_D(18, fsqrt.d, 1, 13.076696830622021, 171.0);
+ // TEST_FP_OP1_D(19, fsqrt.d, 1, 0.000399423155142, 1.60795e-7);
+ TEST_FP_OP1_D(19, fsqrt.d, 1,0.00040099251863345283320230749702, 1.60795e-7);
+
TEST_PASSFAIL
RVTEST_CODE_END