X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=isa%2Frv64ud%2Ffmin.S;h=10ff8e6a3abab4c82bd8dde0eb0c773cab4112bf;hb=49f478416cec9f73801fdc5dedf9955494be8c66;hp=55df33d207ed155c335f8a26f0425865ee76f011;hpb=a4576d335b11378abce1989b6c158bb479fe5fa9;p=riscv-tests.git diff --git a/isa/rv64ud/fmin.S b/isa/rv64ud/fmin.S index 55df33d..10ff8e6 100644 --- a/isa/rv64ud/fmin.S +++ b/isa/rv64ud/fmin.S @@ -13,6 +13,12 @@ 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 #-------------------------------------------------------------