diff options
author | Andrew Waterman <andrew@sifive.com> | 2017-01-31 19:48:41 -0800 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2017-01-31 19:48:41 -0800 |
commit | b4e820b5a0007d5ca8ab1a5de2327d247a81a9aa (patch) | |
tree | 9effe1b8fab98f7c185e374506d53248dd233f7c /isa/macros | |
parent | cd3e71592208d79ee303ac9ab7dec879c2f8f7a9 (diff) | |
download | riscv-tests-b4e820b5a0007d5ca8ab1a5de2327d247a81a9aa.zip riscv-tests-b4e820b5a0007d5ca8ab1a5de2327d247a81a9aa.tar.gz riscv-tests-b4e820b5a0007d5ca8ab1a5de2327d247a81a9aa.tar.bz2 |
Test qNaN and sNaN inputs to FP comparisons
Diffstat (limited to 'isa/macros')
-rw-r--r-- | isa/macros/scalar/test_macros.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/isa/macros/scalar/test_macros.h b/isa/macros/scalar/test_macros.h index 11645fe..fb89d1e 100644 --- a/isa/macros/scalar/test_macros.h +++ b/isa/macros/scalar/test_macros.h @@ -466,12 +466,12 @@ test_ ## testnum: \ TEST_FP_OP_D_INTERNAL( testnum, flags, dword result, val1, 0.0, 0.0, \ inst a0, f0, rm) -#define TEST_FP_CMP_OP_S( testnum, inst, result, val1, val2 ) \ - TEST_FP_OP_S_INTERNAL( testnum, 0, word result, val1, val2, 0.0, \ +#define TEST_FP_CMP_OP_S( testnum, inst, flags, result, val1, val2 ) \ + TEST_FP_OP_S_INTERNAL( testnum, flags, word result, val1, val2, 0.0, \ inst a0, f0, f1) -#define TEST_FP_CMP_OP_D( testnum, inst, result, val1, val2 ) \ - TEST_FP_OP_D_INTERNAL( testnum, 0, dword result, val1, val2, 0.0, \ +#define TEST_FP_CMP_OP_D( testnum, inst, flags, result, val1, val2 ) \ + TEST_FP_OP_D_INTERNAL( testnum, flags, dword result, val1, val2, 0.0, \ inst a0, f0, f1) #define TEST_FCLASS_S(testnum, correct, input) \ |