X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=isa%2Frv64ud%2Ffclass.S;h=04a894735dcd0cdceb53f5a6c9df393e6ca92926;hb=49f478416cec9f73801fdc5dedf9955494be8c66;hp=39394900457d50db3acf6aa4db12ccfa9fb3d6ca;hpb=ac905c1ae59d30a3a8e2d68411d5fd90fa9536a9;p=riscv-tests.git diff --git a/isa/rv64ud/fclass.S b/isa/rv64ud/fclass.S index 3939490..04a8947 100644 --- a/isa/rv64ud/fclass.S +++ b/isa/rv64ud/fclass.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_FCLASS_D + #define TEST_FCLASS_D TEST_FCLASS_D32 +#endif + #------------------------------------------------------------- # Arithmetic tests #-------------------------------------------------------------