aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Schmidt <colins@eecs.berkeley.edu>2016-02-24 17:18:42 -0800
committerColin Schmidt <colins@eecs.berkeley.edu>2016-02-24 17:18:42 -0800
commit0816cba59572c16147aae72bd89e290b88e68c3b (patch)
tree04840a6b01e5ee72698affc9742b4228b8787725
parentd5731f746dd653e6eb629f8acf4d2f63dbdf1d08 (diff)
downloadriscv-tests-0816cba59572c16147aae72bd89e290b88e68c3b.zip
riscv-tests-0816cba59572c16147aae72bd89e290b88e68c3b.tar.gz
riscv-tests-0816cba59572c16147aae72bd89e290b88e68c3b.tar.bz2
add new failing fsqrt test case
when using testfloat the correct format is input output unknown value This comment requested by palmer
-rw-r--r--isa/rv64uf/fdiv.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/isa/rv64uf/fdiv.S b/isa/rv64uf/fdiv.S
index ddc7290..40963e3 100644
--- 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