Optimizing Energy Efficiency in Subthreshold RISC-V Cores (Full Report)