The RTL already contains software multiplication and division routines. You “just” need to enable them for the V7 (search for FPC_INCLUDE_SOFTWARE_MOD_DIV and FPC_INCLUDE_SOFTWARE_MUL in the rtl directory to see where they're defined) and then you need to adjust the SPARC generator to make use of these functions for V7 (search for fpc_mul, fpc_div and fpc_mod in the compiler directory to get example for other targets (e.g. AVR)).
Later on you can still provide assembly optimized versions, but as a first step these should work (and you need to adjust the compiler to call the functions anyway).