TRANSPIRE: An energy-efficient TRANSprecision floating-point Programmable archItectuRE