Skip to content

Commit

Permalink
Fix comments error in fmin.S (riscv-software-src#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanson authored Mar 19, 2020
1 parent 6c53e59 commit 08cbae4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions isa/rv64ud/fmin.S
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ RVTEST_CODE_BEGIN
TEST_FP_OP2_D(16, fmax.d, 0, 3.14159265, 3.14159265, 0.00000001 );
TEST_FP_OP2_D(17, fmax.d, 0, -1.0, -1.0, -2.0 );

# FMIN(sNaN, x) = x
# FMAX(sNaN, x) = x
TEST_FP_OP2_D(20, fmax.d, 0x10, 1.0, sNaN, 1.0);
# FMIN(qNaN, qNaN) = canonical NaN
# FMAX(qNaN, qNaN) = canonical NaN
TEST_FP_OP2_D(21, fmax.d, 0x00, qNaN, NaN, NaN);

# -0.0 < +0.0
Expand Down
4 changes: 2 additions & 2 deletions isa/rv64uf/fmin.S
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ RVTEST_CODE_BEGIN
TEST_FP_OP2_S(16, fmax.s, 0, 3.14159265, 3.14159265, 0.00000001 );
TEST_FP_OP2_S(17, fmax.s, 0, -1.0, -1.0, -2.0 );

# FMIN(sNaN, x) = x
# FMAX(sNaN, x) = x
TEST_FP_OP2_S(20, fmax.s, 0x10, 1.0, sNaNf, 1.0);
# FMIN(qNaN, qNaN) = canonical NaN
# FMAX(qNaN, qNaN) = canonical NaN
TEST_FP_OP2_S(21, fmax.s, 0x00, qNaNf, NaN, NaN);

# -0.0 < +0.0
Expand Down

0 comments on commit 08cbae4

Please sign in to comment.