avoid non-standard predefined macros
[riscv-tests.git] / isa / rv64uf / fcvt.S
index 7bcb49a5323545564209dd73b298654262c04625..a41686e9991d55c4e69509966509d2078406a8e9 100644 (file)
@@ -23,11 +23,13 @@ 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 __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);
 
   TEST_INT_FP_OP_S( 8, fcvt.s.lu,                   2.0,  2);
   TEST_INT_FP_OP_S( 9, fcvt.s.lu,          1.8446744e19, -2);
+#endif
 
   TEST_PASSFAIL