Reconfigurable Precision SRAM-based Analog In-memory-compute Macro Design