Rv32ud tests (#108)
[riscv-tests.git] / isa / rv64ud / fadd.S
index 71e7f8249bcfe21ea45427cef210eea92ed2b7a9..51ca82db712d4fa083a99cb2a6275a5fec7471f6 100644 (file)
 RVTEST_RV64UF
 RVTEST_CODE_BEGIN
 
+#if __riscv_xlen == 32
+    # Replace the function with the 32-bit variant defined in test_macros.h
+    #undef TEST_FP_OP2_D
+    #define TEST_FP_OP2_D TEST_FP_OP2_D32
+#endif
+
   #-------------------------------------------------------------
   # Arithmetic tests
   #-------------------------------------------------------------