aboutsummaryrefslogtreecommitdiff
path: root/isa/rv64uzfh/fmin.S
diff options
context:
space:
mode:
Diffstat (limited to 'isa/rv64uzfh/fmin.S')
-rw-r--r--isa/rv64uzfh/fmin.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/isa/rv64uzfh/fmin.S b/isa/rv64uzfh/fmin.S
index 3feec99..35d7b5d 100644
--- a/isa/rv64uzfh/fmin.S
+++ b/isa/rv64uzfh/fmin.S
@@ -31,10 +31,10 @@ RVTEST_CODE_BEGIN
TEST_FP_OP2_H(16, fmax.h, 0, 3.14159265, 3.14159265, 0.00000001 );
TEST_FP_OP2_H(17, fmax.h, 0, -1.0, -1.0, -2.0 );
- # FMIN(hNaN, x) = x
- TEST_FP_OP2_H(20, fmax.h, 0x10, 1.0, sNaNh, 1.0);
+ # FMIN(sNaN, x) = x
+ TEST_FP_OP2_H_HEX(20, fmax.h, 0x10, 0x3c00, sNaNh, 0x3c00);
# FMIN(hNaN, hNaN) = canonical NaN
- TEST_FP_OP2_H(21, fmax.h, 0x00, qNaNh, NaN, NaN);
+ TEST_FP_OP2_H_HEX(21, fmax.h, 0x00, 0x7e00, 0x7fff, 0x7fff);
# -0.0 < +0.0
TEST_FP_OP2_H(30, fmin.h, 0, -0.0, -0.0, 0.0 );