aboutsummaryrefslogtreecommitdiff
path: root/isa/rv64uf/fcvt.S
diff options
context:
space:
mode:
Diffstat (limited to 'isa/rv64uf/fcvt.S')
-rw-r--r--isa/rv64uf/fcvt.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/isa/rv64uf/fcvt.S b/isa/rv64uf/fcvt.S
index a9a1b59..a41686e 100644
--- 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);
-#ifndef __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);