projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
avoid non-standard predefined macros
[riscv-tests.git]
/
isa
/
rv64uf
/
fcvt.S
diff --git
a/isa/rv64uf/fcvt.S
b/isa/rv64uf/fcvt.S
index a9a1b59ded999f067acebf8297ad46a1b8189e3b..a41686e9991d55c4e69509966509d2078406a8e9 100644
(file)
--- a/
isa/rv64uf/fcvt.S
+++ b/
isa/rv64uf/fcvt.S
@@
-23,7
+23,7
@@
RVTEST_CODE_BEGIN
TEST_INT_FP_OP_S( 4, fcvt.s.wu, 2.0, 2);
TEST_INT_FP_OP_S( 5, fcvt.s.wu, 4.2949673e9, -2);
-#if
ndef __riscv32
+#if
__riscv_xlen >= 64
TEST_INT_FP_OP_S( 6, fcvt.s.l, 2.0, 2);
TEST_INT_FP_OP_S( 7, fcvt.s.l, -2.0, -2);