Add ability to select hw multiplier mode and select appropriate libcalls.